html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem navy;
}

.dropdown-item:focus, .dropdown-item:active {
    box-shadow: none !important;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin: 0;
    padding-top: var(--navbar-height, 56px); /* Default value if variable not set */
}

.fixed-top + .container {
    padding-top: 70px; /* Adjust this value based on your navbar's actual height */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

footer {
    background-color: navy;
    color: white;
}

footer h5, footer p, footer li a {
    color: white !important;
}

/* Custom button styles to match the navy theme */
.btn-primary, .btn-outline-secondary, .btn-outline-primary {
    background-color: navy !important;
    border-color: navy !important;
    color: white !important;
}

.btn-outline-secondary:hover, .btn-outline-primary:hover {
    background-color: #001f3f !important; /* A slightly darker navy for hover effect */
    border-color: #001f3f !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: white !important;
    background-color: navy !important;
}

.dropdown-submenu:hover > .dropdown-item {
    color: white !important;
    background-color: navy !important;
}

/*Contacts*/

.heroBanner {
    background-image: url('/images/contactBanner.png');
    background-size: cover;
    background-position: center;
    min-height: 350px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prodBackgroundHero {
    background-image: url(/images/warehouseBack.jpg);
    background-size: cover;
    background-position: center;
    min-height: 40vh;
    background-repeat: no-repeat;
}

/* --- Admin Page Styles --- */

.admin-panel-container {
    background-color: #f8f9fa; /* A light grey background for the whole container */
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.admin-menu {
    background-color: #ffffff; /* White background for the menu */
    border-right: 1px solid #dee2e6; /* A subtle border */
    padding: 1.5rem;
    border-radius: 8px;
}

.admin-menu .btn {
    width: 100%;
    text-align: left;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.admin-form-panel {
    background-color: #ffffff;
    /* Subtle SVG background pattern for texture */
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"><path fill="%23e9ecef" d="M1 3h1v1H1V3zm2-2h1v1H3V1z"></path></svg>');
    padding: 2rem;
    border-radius: 8px;
}

.admin-form-panel h6 {
    color: #001f3f; /* Dark navy text to match theme */
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.admin-form-panel .form-label {
    color: #495057; /* A softer black for labels */
    font-weight: 500;
}

.admin-form-panel .form-control,
.admin-form-panel .form-select {
    border-radius: 6px;
    border: 1px solid #ced4da;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04) inset;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.admin-form-panel .form-control:focus,
.admin-form-panel .form-select:focus {
    border-color: navy;
    box-shadow: 0 0 0 0.25rem rgba(0, 31, 63, 0.25);
}

/* Remove the default font-monospace from the admin area for a cleaner look */
.admin-panel-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

.card-border-navy {
    border-color: navy !important;
}

.text-navy {
    color: navy !important;
}

.admin-menu .btn.active {
    background-color: navy !important;
    color: white !important;
    border-color: navy !important;
}

