/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body {
  background: #F1F6F5;
  margin: unset;
  font-family: sans-serif;
}

.body-content {
  padding: 10px;
}

header {
  height: 60px;
  margin-bottom: 20px;
}
.prestobins-top-image {
  height: 70px;
  width: auto;
}
.nav-bar {
  height: 100%;
  display: flex;
  padding: 10px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, .4);
  align-items: center;
  background: white;
}

.user-navigation {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 5px;
  height: 100%;
  margin-left: auto;
}

.nav-perminent {
  display: flex;
  height: 100%;
  /* align-items: center; */
}

.hidden {
  display: none !important;
}

.back-button {
  height: 30px;
}

.add-button {
  height: 30px;
}

.back-button-small {
  height: 20px;
  padding-right: 5px;
}

.back-button-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-left: 20px;
}

.flex-row-gap-10 {
  display: flex;
  gap: 10px;
}

.flex-row-gap-10-space {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 10px 0px;
}

.padding-10 {
  padding: 10px;
}

.button-green {
  background-color: #38761d;
  color: white;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  width: fit-content;
}

.button-red {
  background-color: #ec0101c4;
  color: white;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
}

input[type="submit"] {
  background-color: #38761d;
  color: white;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  border: unset;
}

input[type="radio"]:checked {
  border-color: #38761d;
}

input:not([type="image" i], [type="range" i], [type="checkbox" i], [type="radio" i], [type="submit" i], [type="file" i]) {
  border: unset;
  width: 250px;
  background: unset;
  border-bottom: 1px solid grey;
  height: 30px;
  font-size: 14px;
}
::placeholder {
  color: #999; /* Change the color of the placeholder text */
  font-style: italic; /* Make the placeholder text italic */
  font-size: 0.9em; /* Adjust the font size */
  opacity: 1; /* Ensure full opacity if needed, as some browsers default to lower opacity */
}

select {
    font-size: 14px;
    height: 30px;
    padding: 0px 10px;
    border-radius: 2rem;
    border: 1px solid grey;
    background: #fff;
    color: #222;
    box-shadow: 0 10px 65px -10px rgba(0, 0, 0, 0.25);
    text-align: center;
    width: 100%;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input:focus {
  outline: none;
}

.submit {
  display: flex;
  justify-content: center;
}

a {
  color: black;
  text-decoration: unset;
  cursor: pointer;
}

.nav-btn {
  align-content: center;
  padding: 5px;
  border-radius: 5px;
}

.nav-btn:hover {
  background-color: rgb(207 228 202 / 50%); /* Changes background color on hover */
}
.nav-dropdown {
  display: flex;
}

/* Dropdown Content (Hidden by Default) */
.nav-dropdown-content {
  position: absolute;
  background-color: white;
  min-width: 160px;
  z-index: 1;
  margin-top: 50px;
  display: none;
}

/* Links inside the dropdown */
.nav-dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.full-width {
  width: 100%;
}

/* Change color of dropdown links on hover */
.nav-dropdown-content a:hover {background-color: rgb(207 228 202 / 50%);}

/* Show the dropdown menu on hover */
.nav-dropdown:hover .nav-dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.nav-dropdown:hover .dropbtn {background-color: #3e8e41;}

h1, h2, h3 {
  margin: 5px 0px;
  text-align: center;
}

h1 {
  padding-bottom: 15px;
}

p {
  margin: 5px 0px;
}

.error-red {
  color: #cc0000;
  text-align: center;
}

.form-items-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  align-items: center;
}

.form-items-row {
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.center-text {
  text-align: center;
  text-transform: capitalize;
}

.capitalize {
  text-transform: capitalize;
}

.money-input-container {
  display: flex;
}

.currency {
  background: #e8e8e8;
  width: 25px;
  align-items: center;
  display: flex;
  justify-content: center;
}

.vendor-inventory-wrapper {
  display: flex;
  justify-content: center;
}

#sub_vendors {
  display: flex;
  justify-content: center;
}

#map { height: 300px; }

.hamburger-menu {
  height: 30px;
}

.user-icon {
  height: 30px;
}

.navbar-hamburger {
  display: none;
}

.navbar-user {
  display: none;
}

.w-75 {
  width: 50%;
}

.user-navigation-dropdown {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  align-content: flex-end;
  flex-wrap: wrap;
  background: white;
  width: fit-content;
  border-radius: 0 0 5px 5px;
  padding: 5px;
  position: absolute;
  right: 0;
}

.nav-perminent-dropdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  align-content: flex-end;
  flex-wrap: wrap;
  background: white;
  width: fit-content;
  border-radius: 0 0 5px 5px;
  padding: 5px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}

.nav-btn-dropdown {
  padding: 10px;
}

.nav-btn-dropdown:hover {
  background-color: rgb(207 228 202 / 50%);
}

footer {
  position: fixed;
  bottom: 0; /* Positions the footer at the bottom of its relative parent */
  left: 0;
  width: 100%;
  height: 14px; /* Example fixed height */
  /* Add other footer styles */
}

.small {
  font-size: 12px;
}

@media (max-width: 970px) { /* Adjust breakpoint as needed */
  .nav-perminent {
    display: none; /* Hide the navigation links */
  }
  .navbar-hamburger {
    display: flex; /* Show the toggler button */
  }

  .user-navigation {
    display: none;
  }
  .navbar-user {
    display: flex;
    margin-left: auto;
  }
  .prestobins-top-image {
    height: 50px;
  }
}

