/* ===== BASE STYLES ===== */
html {
  font-size: 12px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

body {
    min-height: 100%;
    background: linear-gradient(135deg, #343a40 0%, #495057 50%, #343a40 100%);
}

/* ===== FORM STYLES ===== */
.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 #258cfb;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25) !important;
    border-color: #4a7c59 !important;
    background: #ffffff !important;
}

.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;
}

/* ===== HERO SECTION STYLES ===== */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-title {
    color: #2c3e50;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.hero-title .text-success {
    color: #28a745 !important;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: #495057;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.hero-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    max-width: 500px;
    width: 100%;
}

.hero-icon-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.hero-icon-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.hero-icon {
    font-size: 6rem;
    color: #28a745;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
    opacity: 0;
    animation: fadeInIcon 1.5s ease-in-out forwards;
}

/* ===== LOGIN TOP BAR STYLES ===== */
.login-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 10;
    background: transparent;
}

/* Ensure content doesn't overlap with top bar */
.login-hero-container {
    padding-top: 100px !important;
}

.hero-language-switch {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
}

.login-back-button {
    position: relative;
    z-index: 10;
}

.hero-language-switch button {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-language-switch button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== HERO CONTENT ANIMATION STYLES ===== */
.hero-content {
    position: relative;
    min-height: 300px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 1.2s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.hero-btn {
    transition: all 0.6s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== FEATURE ICON STYLES ===== */
.feature-icon-container {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
}

.feature-icon-container.large {
    width: 80px;
    height: 80px;
    border-radius: 16px;
}

.feature-icon-container:hover {
    background: transparent;
    transform: translateY(-2px);
    box-shadow: none;
}

.feature-icon {
    font-size: 1.75rem;
    color: #28a745;
    transition: all 0.3s ease;
}

.feature-icon-container.large .feature-icon {
    font-size: 2.25rem;
}

.feature-icon-container:hover .feature-icon {
    color: #20c997;
    transform: scale(1.1);
}

/* ===== SCROLL ANIMATION STYLES ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PARTNERS CAROUSEL STYLES ===== */
#partnersCarousel {
    position: relative;
}

#partnersCarousel .carousel-indicators {
    bottom: -15px;
}

#partnersCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #3a5c7a;
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

#partnersCarousel .carousel-indicators button.active {
    background-color: #4a8ba8;
    transform: scale(1.2);
}

#partnersCarousel .carousel-control-prev,
#partnersCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    transition: all 0.3s ease;
}

#partnersCarousel .carousel-control-prev {
    left: 20px;
    background: linear-gradient(135deg, #3a5c7a 0%, #4a8ba8 100%);
}

#partnersCarousel .carousel-control-next {
    right: 20px;
    background: linear-gradient(315deg, #2d5b87 0%, #7a5b9a 100%);
}

#partnersCarousel .carousel-control-prev:hover,
#partnersCarousel .carousel-control-next:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#partnersCarousel .carousel-item {
    padding: 20px 0;
}

#partnersCarousel .card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: white;
}

#partnersCarousel .card:nth-child(1) {
    background: linear-gradient(135deg, #3a5c7a 0%, #4a8ba8 100%);
}

#partnersCarousel .card:nth-child(2) {
    background: linear-gradient(135deg, #2d5b87 0%, #7a5b9a 100%);
}

#partnersCarousel .card:nth-child(3) {
    background: linear-gradient(135deg, #a65d4a 0%, #9a5b8a 100%);
}

#partnersCarousel .card:nth-child(4) {
    background: linear-gradient(135deg, #7a5b8a 0%, #5b8aa6 100%);
}

#partnersCarousel .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

#partnersCarousel .card .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

#partnersCarousel .card .badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#partnersCarousel .card .feature-icon {
    color: rgba(255, 255, 255, 0.9) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

#partnersCarousel .card:hover .feature-icon {
    color: white !important;
    transform: scale(1.05);
}

/* ===== CALL TO ACTION CARDS STYLES ===== */
.cta-card {
    transition: all 0.3s ease;
    color: white;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #d4945a 0%, rgb(196, 135, 88) 100%);
}

.cta-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-card-login {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%) !important;
}

/* ===== QUICK ACTION CARD GRADIENTS ===== */
.cta-card-locations {
    background: linear-gradient(135deg, #3a5c7a 0%, #4a8ba8 100%) !important;
}

.cta-card-menu {
    background: linear-gradient(135deg, #7a5b9a 0%, #9a5b8a 100%) !important;
}

.cta-card-orders {
    background: linear-gradient(135deg, #a65d4a 0%, #d4945a 100%) !important;
}

.cta-card-reports {
    background: linear-gradient(135deg, #5ba892 0%, #4a7c59 100%) !important;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.cta-card:hover::before {
    left: 100%;
}

.cta-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-card .feature-icon {
    color: rgba(255, 255, 255, 0.9) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.cta-card:hover .feature-icon {
    color: white !important;
    transform: scale(1.05) rotate(2deg);
}

.cta-btn {
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== GENERAL HOVER EFFECTS ===== */
.hover-shadow:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease;
}

.bg-gradient {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
}

/* ===== FOOTER SECTION STYLES ===== */
.footer-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.footer-section p {
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== STICKY NAVBAR STYLES ===== */
.sticky-navbar {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
}

.sticky-navbar-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

.sticky-navbar .navbar-brand {
    color: #2c3e50;
    text-decoration: none;
}

.sticky-navbar .navbar-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sticky-navbar .btn-outline-light {
    border-color: #4a7c59;
    color: #4a7c59;
    background: transparent;
}

.sticky-navbar .btn-outline-light:hover {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.2);
}

.sticky-navbar .btn-success {
    background: linear-gradient(135deg, #d4945a 0%, rgb(196, 135, 88) 100%);
    border: none;
    color: white;
}

.sticky-navbar .btn-success:hover {
    background: linear-gradient(135deg, #c4844a 0%, rgb(176, 115, 68) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.language-switch {
    display: flex;
    align-items: center;
}

.language-switch button {
    transition: all 0.3s ease;
    color: #6c757d;
    background: transparent;
    border: 1px solid rgba(222, 226, 230, 0.5);
    border-radius: 0.375rem;
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
    min-width: auto;
}

.language-switch button:hover {
    background-color: rgba(248, 249, 250, 0.8);
    color: #495057;
    border-color: rgba(222, 226, 230, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Navbar responsive improvements */
.navbar-nav {
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

/* Consistent navbar button sizing */
.navbar-btn {
    height: 44px;
    min-width: 44px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    color: #6c757d;
}

.navbar-btn:hover {
    background: rgba(108, 117, 125, 0.1);
    color: #495057;
    transform: translateY(-1px);
}

.navbar-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
    outline: none;
}

.navbar-btn i {
    font-size: 1.3rem;
    margin-right: 0.25rem;
}

.language-switch button {
    height: 44px;
    min-width: 44px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    color: #6c757d;
}

.language-switch button:hover {
    background: rgba(108, 117, 125, 0.1);
    color: #495057;
    transform: translateY(-1px);
}

.language-switch button:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
    outline: none;
}

.language-switch button i {
    font-size: 1.3rem;
    margin-right: 0.25rem;
}

/* Large desktop adjustments */
@media (min-width: 1400px) {
    /* Adjust content area padding for large screens */
    .content-area {
        padding-top: calc(85px + 65px + 25px); /* Large navbar + tab-container + spacing */
    }
}

/* Tablet and smaller desktop adjustments */
@media (max-width: 1200px) {
    .navbar-btn {
        height: 42px;
        min-width: 42px;
    }
    
    /* Adjust content area padding for medium screens */
    .content-area {
        padding-top: calc(75px + 55px + 18px); /* Medium navbar + tab-container + spacing */
    }
    
    .navbar-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .navbar-btn i {
        font-size: 1.1rem;
        margin-right: 0.2rem;
    }
    
    .language-switch button {
        height: 42px;
        min-width: 42px;
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .language-switch button i {
        font-size: 1.1rem;
        margin-right: 0.2rem;
    }
    
    .navbar-toggler {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .navbar-toggler i {
        font-size: 1.1rem;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .top-navbar {
        height: 65px;
        min-height: 65px;
    }
    
    /* Adjust content area padding for mobile */
    .content-area {
        padding-top: calc(65px + 50px + 15px); /* Mobile navbar + tab-container + spacing */
    }
    
    .top-navbar {
        padding: 0.5rem 1rem;
    }
    
    .breadcrumb-nav {
        top: 75px;
        padding: 0.5rem 0.75rem;
        min-height: 3rem;
    }
    
    .tab-bar-left-controls,
    .tab-bar-right-controls {
        gap: 0.25rem;
    }
    
    .tab-bar-left-controls::after {
        height: 1.3rem;
        margin-left: 0.2rem;
        margin-right: 0.5rem;
    }
    
    .tab-bar-right-controls::before {
        height: 1.3rem;
        margin-left: 0.5rem;
        margin-right: 0.2rem;
    }
    
    .filter-btn,
    .tab-bar-left-controls .navbar-toggler {
        width: 2rem;
        height: 2rem;
        padding: 0.4rem;
    }
    
    .filter-btn i,
    .tab-bar-left-controls .navbar-toggler i {
        font-size: 1rem;
    }
    

    
    #tab-container {
        gap: 0.2rem;
        padding: 0 0.4rem;
    }
    
    .navbar-nav {
        gap: 0.4rem;
    }
    
    .navbar-btn {
        height: 40px;
        min-width: 40px;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .navbar-btn i {
        font-size: 1rem;
        margin-right: 0;
    }
    
    .navbar-btn .lang-en,
    .navbar-btn .lang-ro {
        display: none;
    }
    
    .language-switch {
        margin-left: 0.4rem !important;
    }
    
    .language-switch button {
        height: 40px;
        min-width: 40px;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .language-switch button i {
        font-size: 1rem;
        margin-right: 0.1rem;
    }
    
    .navbar-toggler {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        padding: 0.4rem;
    }
    
    .navbar-toggler i {
        font-size: 1rem;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
    .login-top-bar {
        height: 60px;
        padding: 0 15px;
    }
    
    .login-hero-container {
        padding-top: 80px !important;
    }
    
    .top-navbar {
        height: 60px;
        min-height: 60px;
        padding: 0.4rem 0.8rem;
    }
    
    /* Adjust content area padding for small mobile */
    .content-area {
        padding-top: calc(60px + 45px + 10px); /* Small mobile navbar + tab-container + spacing */
    }
    
    .breadcrumb-nav {
        top: 70px;
        padding: 0.4rem 0.5rem;
        min-height: 2.5rem;
    }
    
    .tab-bar-left-controls,
    .tab-bar-right-controls {
        gap: 0.2rem;
    }
    
    .tab-bar-left-controls::after {
        height: 1.1rem;
        margin-left: 0.2rem;
    }
    
    .tab-bar-right-controls::before {
        height: 1.1rem;
        margin-right: 0.2rem;
    }
    
    .filter-btn,
    .tab-bar-left-controls     .navbar-toggler {
        width: 1.8rem;
        height: 1.8rem;
        padding: 0.3rem;
    }
    
    .filter-btn i,
    .tab-bar-left-controls     .navbar-toggler i {
        font-size: 0.9rem;
    }
    
    .hero-language-switch {
        top: 0.75rem;
        right: 0.75rem;
    }
    
    #tab-container {
        gap: 0.15rem;
        padding: 0 0.3rem;
    }
    
    .navbar-nav {
        gap: 0.3rem;
    }
    
    .navbar-btn {
        height: 36px;
        min-width: 36px;
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .navbar-btn i {
        font-size: 0.9rem;
    }
    
    .language-switch {
        margin-left: 0.3rem !important;
    }
    
    .language-switch button {
        height: 36px;
        min-width: 36px;
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .language-switch button i {
        font-size: 0.9rem;
        margin-right: 0.1rem;
    }
    
    .navbar-toggler {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        padding: 0.3rem;
    }
    
    .navbar-toggler i {
        font-size: 0.9rem;
    }
    
    .navbar-brand img {
        height: 24px;
    }
}

/* Hide text labels on smaller screens for better space utilization */
@media (max-width: 768px) {
    .location-text,
    .access-code-text {
        display: none;
    }
    
    .dropdown-toggle::after {
        display: none;
    }
}

/* Override Bootstrap dropdown button borders */
.dropdown-toggle.navbar-btn {
    border: none !important;
    background: transparent !important;
}

.dropdown-toggle.navbar-btn:hover {
    background: rgba(108, 117, 125, 0.1) !important;
    color: #495057 !important;
    transform: translateY(-1px);
}

.dropdown-toggle.navbar-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25) !important;
    outline: none;
}

/* ===== LOGIN PAGE SPECIFIC STYLES ===== */
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease;
}

/* Login page specific hero title styling */
.login-hero-title {
    color: white !important;
}

/* ===== GRADIENT BUTTON STYLES ===== */
.login-gradient {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: none !important;
}

.signup-gradient {
    background: linear-gradient(135deg, #d4945a 0%, rgb(196, 135, 88) 100%) !important;
    border: none !important;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

/* Back button styling */
.btn-outline-light.rounded-circle {
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light.rounded-circle:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.btn-outline-light.rounded-circle:active {
    transform: translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes fadeInIcon {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== LANDING PAGE SPECIFIC STYLES ===== */

.navbar-logo {
    height: 32px;
    width: auto;
    max-width: none;
}

.language-toggle-icon {
    color: gray;
}

.hero-language-toggle-icon {
    color: #6c757d;
}

.hero-content-left {
    padding-left: 5rem;
}

/* ===== HOME PAGE SPECIFIC STYLES ===== */
.home-title {
    font-family: 'Orbitron', sans-serif;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
}

.stats-icon {
    width: 60px;
    height: 60px;
}

.stats-icon-success {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
}

.stats-icon-primary {
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
}

.stats-icon-warning {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
}

.stats-icon-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
}

.quick-action-btn {
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.quick-action-btn-success {
    border: 2px solid #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.quick-action-btn-primary {
    border: 2px solid #007bff;
    background: rgba(0, 123, 255, 0.1);
}

.quick-action-btn-info {
    border: 2px solid #17a2b8;
    background: rgba(23, 162, 184, 0.1);
}

.quick-action-btn-warning {
    border: 2px solid #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
}

.empty-state-icon-muted {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
}

.empty-state-icon-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .login-top-bar {
        height: 70px;
        padding: 0 20px;
    }
    
    .login-hero-container {
        padding-top: 90px !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-card {
        padding: 2rem;
    }
    
    .hero-icon-container {
        padding: 2rem;
    }
    
    .hero-icon {
        font-size: 3rem;
    }
    
    .feature-icon-container {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon-container.large {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .feature-icon-container.large .feature-icon {
        font-size: 2rem;
    }
    
    .hero-content-left {
        padding-left: 1rem;
    }
    
    .hero-language-switch {
        top: 1rem;
        right: 1rem;
    }
    

}

/* ===== LAYOUT/NAVIGATION/OFFCANVAS/TABBAR ===== */

body, input, button, label, h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif !important;
}

.offcanvas-nav {
    background: linear-gradient(135deg, #343a40 0%, #495057 50%, #343a40 100%);
    color: white;
    width: 320px;
}
.offcanvas-nav .offcanvas-header {
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem;
}
.offcanvas-nav .offcanvas-title {
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}
.offcanvas-nav .btn-close {
    filter: invert(1);
}
.offcanvas-nav .offcanvas-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.offcanvas-nav .offcanvas-body .flex-grow-1 {
    overflow-y: auto;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.offcanvas-nav .offcanvas-body .flex-grow-1::-webkit-scrollbar {
    display: none;
}
.nav-section {
    margin-bottom: 1.5rem;
}
.nav-section-title {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.offcanvas-nav .navbar-nav {
    padding: 0.5rem 0;
    text-align: left;
    justify-content: flex-start;
}
.offcanvas-nav .nav-item {
    margin: 0.25rem 0;
    text-align: left;
}
.offcanvas-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-radius: 0.5rem;
    margin: 0 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    background: transparent;
    text-align: left;
    width: 100%;
}
.offcanvas-nav .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.offcanvas-nav .nav-link.active {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}
.offcanvas-nav .nav-link i {
    margin-right: 0.75rem;
    width: 1.25rem;
    text-align: center;
    font-size: 1rem;
}

/* ===== FILTER OFFCANVAS STYLES ===== */
.offcanvas-filter {
    background: linear-gradient(135deg, #343a40 0%, #495057 50%, #343a40 100%);
    color: white;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    z-index: 1045;
}

.offcanvas-filter.show {
    transform: translateX(0) !important;
    visibility: visible !important;
    display: block !important;
}

/* Manual fallback for when Bootstrap is not available */
.offcanvas-filter.manual-show {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: translateX(0) !important;
    visibility: visible !important;
    display: block !important;
    z-index: 1045 !important;
}

.offcanvas-filter .offcanvas-header {
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem;
}

.offcanvas-filter .offcanvas-title {
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.offcanvas-filter .btn-close {
    filter: invert(1);
}

.offcanvas-filter .offcanvas-body {
        padding: 0;
        display: flex;
        flex-direction: column;
        height: 100%;
}

.offcanvas-filter .offcanvas-body .flex-grow-1 {
        overflow-y: auto;
        flex: 1;
        scrollbar-width: none;
        -ms-overflow-style: none;
}

.offcanvas-filter .offcanvas-body .flex-grow-1::-webkit-scrollbar {
    display: none;
}

/* Filter Sections */
.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section-title {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
}

.filter-section-title i {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    margin-right: 0.75rem;
}

.filter-content {
    padding: 0.5rem 0;
}

/* Form Controls */
.filter-section .form-group {
    margin: 0.25rem 0;
}

.filter-section .form-control {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-radius: 0.5rem;
    margin: 0 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    background: transparent;
    text-align: left;
}

.filter-section .form-control:focus {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.filter-section .form-label {
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Search Input */
.filter-search {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}

.filter-search:focus {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: white;
}

/* Filter Panel Form Controls - Dark Theme */
.filter-section input[type="text"],
.filter-section input[type="search"],
.filter-section input[type="email"],
.filter-section input[type="number"],
.filter-section input[type="password"],
.filter-section textarea,
.filter-section select {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.8) !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
}

.filter-section input[type="text"]:focus,
.filter-section input[type="search"]:focus,
.filter-section input[type="email"]:focus,
.filter-section input[type="number"]:focus,
.filter-section input[type="password"]:focus,
.filter-section textarea:focus,
.filter-section select:focus {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.3) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.1) !important;
    outline: none !important;
}

.filter-section input[type="text"]::placeholder,
.filter-section input[type="search"]::placeholder,
.filter-section input[type="email"]::placeholder,
.filter-section input[type="number"]::placeholder,
.filter-section input[type="password"]::placeholder,
.filter-section textarea::placeholder {
    color: rgba(255,255,255,0.5) !important;
}

/* Select Dropdown Styling */
.filter-section select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    padding-right: 2.5rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.filter-section select option {
    background: #343a40 !important;
    color: rgba(255,255,255,0.8) !important;
    padding: 0.5rem !important;
}

.filter-section select option:hover {
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
}

/* Bootstrap Select Override */
.filter-section .form-select {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.8) !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
}

.filter-section .form-select:focus {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.3) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.1) !important;
    outline: none !important;
}

.filter-section .form-select option {
    background: #343a40 !important;
    color: rgba(255,255,255,0.8) !important;
    padding: 0.5rem !important;
}

/* Bootstrap Form Control Override */
.filter-section .form-control {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.8) !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
}

.filter-section .form-control:focus {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.3) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.1) !important;
    outline: none !important;
}

.filter-section .form-control::placeholder {
    color: rgba(255,255,255,0.5) !important;
}

/* Date Picker Integration */
.filter-section .logik-datepicker-wrapper {
    position: relative;
}

.filter-section .logik-datepicker {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 1rem;
    margin-top: 0.5rem;
}

.filter-section .ranges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-section .range-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0.25rem 0.75rem;
}

.filter-section .range-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.filter-section .range-btn.active {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    color: white;
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

.filter-section .custom-range-inputs {
    margin-bottom: 1rem;
}

.filter-section .datepicker-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Dynamic Filter Sections */
#dynamicFilterSections { display: contents; }

/* Filter Actions */
.filter-actions {
    margin-top: auto;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
}

.filter-actions .btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.filter-actions .btn-outline-secondary {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
    background: transparent;
}

.filter-actions .btn-outline-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.filter-actions .btn-primary {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    border: none;
    color: white;
}

.filter-actions .btn-primary:hover {
    background: linear-gradient(135deg, #3d6a4a 0%, #4a9a7a 100%);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

/* ===== BOTTOM OFFCANVAS MODAL STYLES ===== */
.offcanvas-modal {
    background: linear-gradient(135deg, #343a40 0%, #495057 50%, #343a40 100%);
    color: white;
    height: 80vh;
    max-height: 80vh;
    z-index: 1050;
}

.offcanvas-modal.show {
    transform: translateY(0) !important;
    visibility: visible !important;
}

.offcanvas-modal .offcanvas-header {
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem;
}

.offcanvas-modal .offcanvas-title {
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.offcanvas-modal .btn-close {
    filter: invert(1);
}

.offcanvas-modal .offcanvas-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offcanvas-modal .offcanvas-body .flex-grow-1 {
    overflow-y: auto;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.offcanvas-modal .offcanvas-body .flex-grow-1::-webkit-scrollbar {
    display: none;
}

/* Modal Content Container */
#modalContentContainer {
    padding: 1.5rem;
    min-height: 200px;
    overflow-y: auto;
}

/* Ensure form elements in offcanvas modal are properly styled */
#modalContentContainer .form-group {
    margin-bottom: 1rem;
}

#modalContentContainer .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

#modalContentContainer .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

#modalContentContainer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#modalContentContainer .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

#modalContentContainer .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

#modalContentContainer .btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#modalContentContainer .btn-success {
    background-color: rgba(40, 167, 69, 0.8);
    border-color: rgba(40, 167, 69, 0.8);
}

#modalContentContainer .btn-success:hover {
    background-color: rgba(40, 167, 69, 1);
    border-color: rgba(40, 167, 69, 1);
}

#modalContentContainer .dropdown-menu {
    background-color: rgba(52, 58, 64, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#modalContentContainer .dropdown-item {
    color: white;
}

#modalContentContainer .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Fix dropdown options in offcanvas - ensure text is visible */
#modalContentContainer .form-select option {
    background-color: #343a40 !important;
    color: white !important;
    padding: 0.5rem !important;
}

#modalContentContainer .form-select option:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

#modalContentContainer .form-select option:checked {
    background-color: #4a7c59 !important;
    color: white !important;
}

#modalContentContainer .form-select option:selected {
    background-color: #4a7c59 !important;
    color: white !important;
}

/* Also fix any select elements in offcanvas */
.offcanvas .form-select option {
    background-color: #343a40 !important;
    color: white !important;
    padding: 0.5rem !important;
}

.offcanvas .form-select option:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.offcanvas .form-select option:checked {
    background-color: #4a7c59 !important;
    color: white !important;
}

.offcanvas .form-select option:selected {
    background-color: #4a7c59 !important;
    color: white !important;
}

/* Comprehensive fix for all select elements in bottom off-canvas */
.offcanvas-modal select option {
    background-color: #343a40 !important;
    color: white !important;
    padding: 0.5rem !important;
}

.offcanvas-modal select option:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.offcanvas-modal select option:checked {
    background-color: #4a7c59 !important;
    color: white !important;
}

.offcanvas-modal select option:selected {
    background-color: #4a7c59 !important;
    color: white !important;
}

/* Force all form elements in bottom off-canvas to have proper styling */
.offcanvas-modal .form-select {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.offcanvas-modal .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1) !important;
}

.offcanvas-modal .form-control {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.offcanvas-modal .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1) !important;
}

.offcanvas-modal .form-label {
    color: white !important;
}

.offcanvas-modal label {
    color: white !important;
}

/* Fix for the specific MenuItems filter offcanvas */
#menuItemsSpecificFilterOffcanvas .form-select option {
    background-color: #343a40 !important;
    color: white !important;
    padding: 0.5rem !important;
}

#menuItemsSpecificFilterOffcanvas .form-select option:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

/* Additional fixes for MenuItems filter offcanvas - override inline styles */
#menuItemsSpecificFilterOffcanvas {
    background: linear-gradient(135deg, #4a7c59 0%, #3a5c47 100%) !important;
    color: white !important;
}

#menuItemsSpecificFilterOffcanvas .offcanvas-body {
    background: linear-gradient(135deg, #4a7c59 0%, #3a5c47 100%) !important;
    color: white !important;
}

#menuItemsSpecificFilterOffcanvas .form-select {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

#menuItemsSpecificFilterOffcanvas .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1) !important;
}

#menuItemsSpecificFilterOffcanvas .form-control {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

#menuItemsSpecificFilterOffcanvas .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1) !important;
}

#menuItemsSpecificFilterOffcanvas .form-label {
    color: white !important;
}

#menuItemsSpecificFilterOffcanvas .filter-section-title {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Force dropdown options to be visible */
#menuItemsSpecificFilterOffcanvas select option {
    background-color: #343a40 !important;
    color: white !important;
    padding: 0.5rem !important;
}

#menuItemsSpecificFilterOffcanvas select option:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

/* Override any browser default styles for select options */
#menuItemsSpecificFilterOffcanvas select option:checked {
    background-color: #4a7c59 !important;
    color: white !important;
}

#menuItemsSpecificFilterOffcanvas select option:selected {
    background-color: #4a7c59 !important;
    color: white !important;
}

#modalContentContainer .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#modalContentContainer .form-check-input:checked {
    background-color: rgba(40, 167, 69, 0.8);
    border-color: rgba(40, 167, 69, 0.8);
}

/* Modal Actions */
.modal-actions {
    margin-top: auto;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Off-canvas form styles for inventory items */
.offcanvas-form {
    padding: 0;
}

.offcanvas-form .form-group {
    margin-bottom: 1.5rem;
}

.offcanvas-form .form-label {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.offcanvas-form .section-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.offcanvas-form .section-title i {
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.offcanvas-form .section-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 1.5rem 0;
}

.offcanvas-form .btn-add {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.offcanvas-form .btn-add:hover {
    background: #218838;
    transform: translateY(-1px);
}

.offcanvas-form .btn-save {
    background: linear-gradient(135deg, #4a7c59 0%, #3a5c47 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 1rem;
}

.offcanvas-form .btn-save:hover {
    background: linear-gradient(135deg, #3a5c47 0%, #2d4a3a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

.offcanvas-form .btn-save:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.modal-actions .btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.modal-actions .btn-outline-secondary {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
    background: transparent;
}

.modal-actions .btn-outline-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    border: none;
    color: white;
}

.modal-actions .btn-primary:hover {
    background: linear-gradient(135deg, #3d6b4a 0%, #4a8f7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

/* Responsive Modal Offcanvas */
@media (max-width: 768px) {
    .offcanvas-modal {
        height: 90vh;
        max-height: 90vh;
    }
    
    .offcanvas-modal .offcanvas-body {
        padding: 0;
    }
    
    #modalContentContainer {
        padding: 1rem;
    }
    
    .modal-actions {
        padding: 1rem;
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .offcanvas-modal {
        height: 95vh;
        max-height: 95vh;
    }
    
    #modalContentContainer {
        padding: 0.75rem;
    }
    
    .modal-actions {
        padding: 0.75rem;
    }
    
    .modal-actions .btn {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
}

/* Responsive Filter Offcanvas */
@media (max-width: 768px) {
    .offcanvas-filter {
        width: 100%;
        max-width: 100vw;
    }
    
    .offcanvas-filter .offcanvas-body {
        padding: 1rem;
    }
    
    .filter-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .filter-section .ranges-grid {
        grid-template-columns: 1fr;
        gap: 0.375rem;
    }
    
    .filter-section .range-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .offcanvas-filter .offcanvas-body {
        padding: 0.75rem;
    }
    
    .filter-section {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .filter-section-title {
        font-size: 0.9rem;
    }
    
    .filter-section .form-control {
        padding: 0.625rem;
        font-size: 0.85rem;
    }
    
    .filter-actions .btn {
        padding: 0.625rem 0.75rem;
        font-size: 0.9rem;
    }
}
.user-profile-section {
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem;
    flex-shrink: 0;
}

.filter-actions-section {
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 1rem 1.5rem;
    flex-shrink: 0;
    min-height:23.5%;
}

/* Filter Action Buttons */
.filter-actions-section .btn {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.filter-actions-section .btn-outline-secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

.filter-actions-section .btn-outline-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.1);
}

.filter-actions-section .btn-primary {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    color: white;
}

.filter-actions-section .btn-primary:hover {
    background: linear-gradient(135deg, #3a5c47 0%, #4a7c59 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}
.location-selector {
    margin-bottom: 1rem;
}
.location-selector .form-select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 0.5rem;
}
.location-selector .form-select:focus {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
}
.location-selector .form-select option {
    background: #343a40;
    color: white;
}
.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    margin-right: 0.75rem;
}
.logout-btn {
    width: 100%;
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logout-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #d63384 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}
.top-navbar {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    height: 70px;
    display: flex;
    align-items: center;
    min-height: 70px;
}
.navbar-toggler {
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
}

.navbar-toggler:hover {
    background: rgba(108, 117, 125, 0.1);
    color: #495057;
    transform: translateY(-1px);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
    outline: none;
}

.navbar-toggler i {
    font-size: 1.25rem;
    line-height: 1;
}
.navbar-brand {
    font-weight: 600;
    color: #4a7c59 !important;
    font-size: 1.25rem;
}
.main-content {
    flex: 1;
    min-height: 100vh;
}
.content-area {
    color: white;
    padding-left: 2.5%;
    padding-right: 2.5%;
    /* Responsive padding-top based on navbar height + tab-container height + spacing */
    padding-top: calc(80px + 60px + 20px); /* Default: navbar + tab-container + spacing */
    display: flex;
    flex-direction: column;
    transition: padding-top 0.3s ease;
}

/* Landing page content styling when rendered directly in main-content */
.main-content.landing-page {
    padding: 0;
    color: inherit;
}

.main-content.landing-page .hero-section {
    margin-top: 0;
}

.breadcrumb-nav {
    background: rgba(255,255,255,0.2);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    width: 93.5%;
    height: auto;
    min-height: 3.5rem;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
}

.breadcrumb-nav > .d-flex {
    width: 100%;
    min-width: 0;
}
.breadcrumb-nav.sticky {
    position: fixed;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 98%;
    height: auto;
    min-height: 4rem;
    margin-top: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Tab bar controls visibility when navbar is hidden */

.top-navbar.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
/* Tab Bar Controls */
.tab-bar-left-controls,
.tab-bar-right-controls {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Tab Container Separators */
.tab-bar-left-controls::after {
    content: '';
    width: 1px;
    height: 1.5rem;
    background: #495057;
    margin-left: 0.2rem;
    margin-right: 0.5rem;
    border-radius: 0.5px;
}

.tab-bar-right-controls::before {
    content: '';
    width: 1px;
    height: 1.5rem;
    background: #495057;
    margin-left: 0.5rem;
    margin-right: 0.2rem;
    border-radius: 0.5px;
}

/* Tab Container - Scrollable */
#tab-container {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 0 0.5rem;
    min-width: 0;
    flex: 1;
}

#tab-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Remove hover scrollbar visibility - keep scrollbar hidden at all times */
#tab-container:hover {
    scrollbar-width: none; /* Keep scrollbar hidden on hover in Firefox */
}

#tab-container:hover::-webkit-scrollbar {
    display: none; /* Keep scrollbar hidden on hover in Chrome, Safari, Opera */
}



/* Tab Bar Buttons - Filter and Navbar Toggler */
.filter-btn,
.tab-bar-left-controls .navbar-toggler {
    position: relative;
    background: #495057;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
}

.filter-btn.visible {
    opacity: 1;
    visibility: visible;
}

.filter-btn:hover,
.tab-bar-left-controls .navbar-toggler:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.3);
}

.filter-btn i,
.tab-bar-left-controls .navbar-toggler i {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

body.tab-bar-sticky {
    padding-top: 0;
}
.tab-item {
    display: inline-flex;
    align-items: center;
    background: #495057;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}
.tab-item:hover {
    background: #6c757d;
    color: white;
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}
.tab-item.active {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    color: white;
    border-color: #4a7c59;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}
.tab-item.pinned {
    border-left: 3px solid #ffc107;
}
.tab-close-btn {
    background: none;
    border: none;
    color: inherit;
    margin-left: 0.5rem;
    padding: 0.125rem;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    line-height: 1;
}
.tab-close-btn:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}
.tab-item.active .tab-close-btn:hover {
    background: rgba(255,255,255,0.3);
}
.tab-pin-btn {
    background: none;
    border: none;
    color: inherit;
    margin-left: 0.25rem;
    padding: 0.125rem;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    line-height: 1;
}
.tab-pin-btn:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}
.tab-item.active .tab-pin-btn:hover {
    background: rgba(255,255,255,0.3);
}
.tab-item.pinned .tab-pin-btn {
    opacity: 1;
    color: #ffc107;
}

.hover-bg-light:hover {
    background-color: rgba(0,0,0,0.05) !important;
}
.login-layout .main-content {
    margin-left: 0;
    width: 100%;
}
.login-layout .content-area {
    padding: 0;
    overflow: hidden;
}
.navbar-brand img,
.offcanvas-title img {
    height: auto;
    width: auto;
    max-width: none;
    object-fit: contain;
    vertical-align: middle;
}
.navbar-brand img[src*=".svg"],
.offcanvas-title img[src*=".svg"] {
    height: 32px;
    width: auto;
}
.offcanvas-title img[src*=".svg"] {
    height: 24px;
}
@media (max-width: 768px) {
    .top-navbar {
        padding: 0.75rem 1rem;
    }
    .navbar-brand img[src*=".svg"] {
        height: 28px;
    }
    .offcanvas-title img[src*=".svg"] {
        height: 20px;
    }
}
/* ===== FOOTER/SHARED ===== */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}
.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}
button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}
/* Bootstrap overrides */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}
a {
    color: #0077cc;
}
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* New default gradient for success buttons */
.btn-success {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%) !important;
    border: none !important;
    color: white !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #3d6a4a 0%, #4a9a7a 100%) !important;
    color: white !important;
}

.btn-success:focus, .btn-success:active {
    background: linear-gradient(135deg, #2d5a3a 0%, #3a8a6a 100%) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25) !important;
}

/* New button class for signup-related components */
.btn-other {
    background: linear-gradient(135deg, #d4945a 0%, rgb(196, 135, 88) 100%) !important;
    border: none !important;
    color: white !important;
}

.btn-other:hover {
    background: linear-gradient(135deg, #c4844a 0%, rgb(176, 115, 68) 100%) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.btn-other:focus, .btn-other:active {
    background: linear-gradient(135deg, #b4743a 0%, rgb(156, 95, 48) 100%) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 148, 90, 0.25) !important;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

/* LogikDatePicker Styles */
.logik-datepicker-wrapper {
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.logik-datepicker-wrapper.show {
    opacity: 1;
}

.logik-datepicker {
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease-out;
    background: white !important;
}

.logik-datepicker-wrapper.show .logik-datepicker {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.logik-datepicker-backdrop {
    opacity: 0;
    backdrop-filter: blur(0px);
    transition: all 0.2s ease-out;
}

.logik-datepicker-wrapper.show .logik-datepicker-backdrop {
    opacity: 1;
    backdrop-filter: blur(4px);
}

/* Enhanced button styles */
.logik-datepicker .range-btn {
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
    background: #ffffff;
    color: #495057;
}

.logik-datepicker .range-btn:hover {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    color: white;
    border-color: #4a7c59;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

.logik-datepicker .range-btn.active {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    color: white;
    border-color: #4a7c59;
    box-shadow: 0 2px 8px rgba(74, 124, 89, 0.4);
}

.logik-datepicker .apply-btn {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(74, 124, 89, 0.2);
}

.logik-datepicker .apply-btn:hover {
    background: linear-gradient(135deg, #3d6a4a 0%, #4a9a7a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.4);
}

.logik-datepicker .cancel-btn {
    background: #ffffff;
    border: 1px solid #dee2e6;
    color: #6c757d;
    transition: all 0.3s ease;
}

.logik-datepicker .cancel-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Form input enhancements */
.logik-datepicker .form-control {
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
}

.logik-datepicker .form-control:focus {
    border-color: #4a7c59;
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
}

/* Close button enhancement */
.logik-datepicker .btn-close {
    transition: all 0.2s ease;
}

.logik-datepicker .btn-close:hover {
    background: rgba(0, 0, 0, 0.5) !important;
    transform: scale(1.1);
}



/* Responsive adjustments for LogikDatePicker */
@media (max-width: 768px) {
    .logik-datepicker {
        min-width: 90vw !important;
        max-width: 95vw !important;
        margin: 1rem;
    }
    
    .logik-datepicker .ranges-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== ENHANCED STATION MENU STYLES ===== */

/* Modern Form Controls */
.form-select-modern {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.form-select-modern:focus {
    border-color: #4a7c59;
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
    background: #ffffff;
}

.form-select-modern:hover {
    border-color: #adb5bd;
}

/* Enhanced Station Navigation */
.station-navigation {
    background: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
}

.station-tabs-container {
    padding: 1rem;
}

.location-section {
    margin-bottom: 1.5rem;
}

.location-section:last-child {
    margin-bottom: 0;
}

.location-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 0.9rem;
}

.station-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.station-tab {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-width: 140px;
    text-align: left;
    pointer-events: auto !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.station-tab:hover {
    border-color: #4a7c59;
    color: #4a7c59;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.15);
}

.station-tab.active {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    border-color: #4a7c59;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
    transform: translateY(-2px);
    font-weight: 600;
}

.station-tab .station-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.station-tab.active .station-count {
    background: #ffffff;
    color: #4a7c59;
}

/* Enhanced Menu Items Container */
.menu-items-container {
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #6c757d transparent;
    position: relative;
}

.menu-items-container::-webkit-scrollbar {
    width: 6px;
}

.menu-items-container::-webkit-scrollbar-track {
    background: transparent;
}

.menu-items-container::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 3px;
}

.menu-items-container::-webkit-scrollbar-thumb:hover {
    background: #495057;
}

/* Empty State Styling */
.empty-state {
    display: none;
    height: 100%;
    min-height: 300px;
}

/* Enhanced Menu Item Styling */
.menu-item-modern {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    color: #495057 !important;
    margin-bottom: 0.5rem;
    border-radius: 0.75rem !important;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: grab;
    position: relative;
    overflow: hidden;
}

.menu-item-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a7c59 0%, #5ba892 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item-modern:hover {
    background: #f8f9fa !important;
    border-color: #4a7c59 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.15);
}

.menu-item-modern:hover::before {
    opacity: 1;
}

.menu-item-modern:active {
    cursor: grabbing;
    transform: translateY(0);
}

.menu-item-modern.dragging {
    opacity: 0.6;
    transform: rotate(2deg) scale(0.95);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.menu-item-modern.menu-item-inactive {
    background: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

.menu-item-modern.menu-item-inactive::before {
    background: #6c757d;
    opacity: 1;
}

/* Drag Handle Styling */
.drag-handle {
    cursor: grab;
    color: #adb5bd;
    transition: color 0.3s ease;
}

.drag-handle:hover {
    color: #4a7c59;
}

.menu-item-modern:active .drag-handle {
    cursor: grabbing;
}

/* Enhanced Price Input Styling */
.price-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.price-input-group:focus-within {
    border-color: #4a7c59;
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
}

.price-input-modern {
    border: none !important;
    background: transparent !important;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    min-width: 80px;
    outline: none;
}

.price-input-modern:focus {
    box-shadow: none !important;
}

.input-group-text-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    background: #f8f9fa;
    border: none;
    color: #6c757d;
    font-weight: 500;
}

/* Enhanced Form Switch Styling */
.form-switch .form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    margin-top: 0;
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.form-switch .form-check-input:checked {
    background-color: #4a7c59;
    border-color: #4a7c59;
}

.form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
}

/* Enhanced Badge Styling */
.badge.rounded-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
}

/* Enhanced Button Styling */
.btn-success-modern {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 124, 89, 0.2);
}

/* Generic Content Sections */
.content-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}

.section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.section-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
}

.section-divider {
    border: 0;
    border-top: 1px solid #e9ecef;
    margin: 1rem 0;
}

/* Ensure readable text in content sections */
.content-section,
.content-section label,
.content-section .form-check-label {
    color: #212529;
}

.content-section .bi {
    color: #495057;
}

.btn-success-modern:hover {
    background: linear-gradient(135deg, #3a5c47 0%, #4a7c59 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
    color: white;
}

.btn-success-modern:active {
    transform: translateY(0);
}

/* Gradient Background Utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%);
}

/* Enhanced Card Styling */
.card.border-0.shadow-sm {
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.card.border-0.shadow-sm:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

/* Enhanced Alert Styling */
.alert.border-0.shadow-sm {
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-left: 4px solid #17a2b8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .station-tabs {
        flex-direction: column;
    }
    
    .station-tab {
        min-width: auto;
        width: 100%;
    }
    
    .menu-item-modern {
        padding: 0.75rem;
    }
    
    .price-input-modern {
        min-width: 60px;
        font-size: 0.8rem;
    }
    
    .location-header {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    .station-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .menu-item-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .price-input-group {
        width: 100%;
    }
    
    .price-input-modern {
        flex: 1;
        min-width: auto;
    }
}



/* Legacy sortable header styles (kept for compatibility) */
th.sortable[title] {
    position: relative;
    transition: background 0.2s;
    cursor: pointer;
}

th.sortable:hover {
    background: #e9ecef !important;
}

/* ===== ENHANCED MENU ITEM LOCATION QUANTITIES STYLES ===== */

/* Modern Form Controls for Quantities */
.form-control-modern {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.form-control-modern:focus {
    border-color: #4a7c59;
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
    background: #ffffff;
}

.form-control-modern:hover {
    border-color: #adb5bd;
}

/* Enhanced Table Styling for Quantities */
.table.table-hover tbody tr {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.table.table-hover tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left-color: #4a7c59;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(74, 124, 89, 0.1);
}

/* Enhanced Quantity Input Styling */
.quantity-input {
    border: 1px solid #e9ecef !important;
    border-radius: 0.375rem !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
    background: #ffffff !important;
}

.quantity-input:focus {
    border-color: #4a7c59 !important;
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25) !important;
    background: #ffffff !important;
}

.quantity-input:hover:not(:disabled) {
    border-color: #adb5bd !important;
}

.quantity-input:disabled {
    background: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}

/* Enhanced Checkbox Styling */
.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0;
    background-color: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: #4a7c59;
    border-color: #4a7c59;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
}

.form-check-input:hover:not(:disabled) {
    border-color: #4a7c59;
}

/* Enhanced Badge Styling for Menu Groups */
.badge.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #495057 !important;
    border: 1px solid #dee2e6 !important;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

/* Enhanced Status Badge Styling */
.badge.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    font-weight: 600;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%) !important;
    color: white !important;
    font-weight: 600;
}

/* Enhanced Input Group Styling */
.input-group-sm .input-group-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #e9ecef;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

/* Enhanced Empty State Styling */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Enhanced Table Header Styling */
.table-light th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-bottom: 2px solid #dee2e6 !important;
    font-weight: 600 !important;
    color: #495057 !important;
    padding: 1rem 0.75rem !important;
}

/* Enhanced Card Header Styling */
.card-header.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-bottom: 1px solid #dee2e6 !important;
}

/* Responsive Adjustments for Quantities */
@media (max-width: 768px) {
    .quantity-input {
        font-size: 0.8rem !important;
        padding: 0.375rem 0.5rem !important;
    }
    
    .input-group-sm .input-group-text {
        font-size: 0.8rem;
        padding: 0.375rem 0.5rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .table.table-hover tbody tr:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .quantity-input {
        max-width: 100px !important;
    }
    
    .input-group-sm {
        flex-direction: column;
    }
    
    .input-group-sm .input-group-text {
        border-radius: 0.375rem 0.375rem 0 0 !important;
        border-bottom: none !important;
    }
    
    .input-group-sm .form-control {
        border-radius: 0 0 0.375rem 0.375rem !important;
        border-top: none !important;
    }
}

/* ===== GLOBAL TABLE COMPONENT STYLES ===== */

/* Table Container Styles */
.table-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px 0;
}

.table-header {
    background: linear-gradient(135deg, #4a7c59 0%, #3a5c47 100%);
    color: white;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ===== TABLE COUNTER COMPONENT ===== */
/*
 * Table Counter Component Usage:
 * 
 * HTML Structure:
 * <span class="table-counter counter-success" id="myTableCounter">
 *     <i class="bi bi-table"></i>
 *     <span class="counter-number">0</span>
 *     <span class="counter-label">items</span>
 * </span>
 * 
 * JavaScript Update:
 * function updateMyTableCounter(count) {
 *     const counterElement = document.getElementById('myTableCounter');
 *     if (counterElement) {
 *         const counterNumber = counterElement.querySelector('.counter-number');
 *         if (counterNumber) {
 *             counterNumber.textContent = count;
 *             counterElement.classList.add('counter-animated');
 *             setTimeout(() => {
 *                 counterElement.classList.remove('counter-animated');
 *             }, 1000);
 *         }
 *     }
 * }
 * 
 * Available Classes:
 * - counter-success: Green theme
 * - counter-warning: Yellow theme  
 * - counter-info: Blue theme
 * - counter-sm: Small size
 * - counter-lg: Large size
 * - counter-animated: Pulse animation
 */
.table-counter {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.375rem 0.75rem;
    margin-left: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-counter:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.table-counter i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.table-counter .counter-number {
    font-weight: 600;
    margin: 0 0.25rem;
}

.table-counter .counter-label {
    opacity: 0.8;
    font-weight: 400;
}

/* Counter variants */
.table-counter.counter-success {
    background: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.3);
    color: rgba(255, 255, 255, 0.95);
}

.table-counter.counter-success:hover {
    background: rgba(40, 167, 69, 0.3);
    border-color: rgba(40, 167, 69, 0.4);
    color: white;
}

.table-counter.counter-warning {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
    color: rgba(255, 255, 255, 0.95);
}

.table-counter.counter-warning:hover {
    background: rgba(255, 193, 7, 0.3);
    border-color: rgba(255, 193, 7, 0.4);
    color: white;
}

.table-counter.counter-info {
    background: rgba(23, 162, 184, 0.2);
    border-color: rgba(23, 162, 184, 0.3);
    color: rgba(255, 255, 255, 0.95);
}

.table-counter.counter-info:hover {
    background: rgba(23, 162, 184, 0.3);
    border-color: rgba(23, 162, 184, 0.4);
    color: white;
}

/* Counter sizes */
.table-counter.counter-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.table-counter.counter-sm i {
    font-size: 0.8rem;
    margin-right: 0.375rem;
}

.table-counter.counter-lg {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.table-counter.counter-lg i {
    font-size: 1rem;
    margin-right: 0.625rem;
}

/* Counter with animation */
.table-counter.counter-animated {
    animation: counterPulse 2s ease-in-out infinite;
}

@keyframes counterPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive counter adjustments */
@media (max-width: 768px) {
    .table-counter {
        margin-left: 0.5rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .table-counter i {
        font-size: 0.8rem;
        margin-right: 0.375rem;
    }
    
    .table-counter.counter-lg {
        padding: 0.375rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .table-counter {
        margin-left: 0.25rem;
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .table-counter i {
        font-size: 0.75rem;
        margin-right: 0.25rem;
    }
    
    .table-counter .counter-label {
        display: none;
    }
}

/* Modern Table Styles */
.modern-table {
    margin: 0;
}

.modern-table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    padding: 0.75rem 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
    line-height: 1.2;
}

.modern-table tbody tr {
    transition: all 0.2s ease;
}

.modern-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.modern-table tbody td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.modern-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.modern-table tbody tr:nth-child(even):hover {
    background-color: #e9ecef;
}

/* Sort Button Styles */
.sort-button {
    background: none;
    border: none;
    color: inherit;
    font-weight: inherit;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.sort-button:hover {
    color: #4a7c59;
}

.sort-icon {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Modern Button Styles */
.btn-modern {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-modern:active {
    transform: translateY(0);
}

.btn-primary-modern {
    background: linear-gradient(135deg, #4a7c59 0%, #3a5c47 100%);
    color: white;
}

.btn-primary-modern:hover {
    background: linear-gradient(135deg, #3a5c47 0%, #2d4a3a 100%);
    color: white;
}

.btn-danger-modern {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.btn-danger-modern:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    color: white;
}

.btn-success-modern {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-success-modern:hover {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    color: white;
}

/* Status Badge Styles */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    transition: all 0.2s ease;
}

.status-badge:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.status-badge i {
    opacity: 0.8;
    font-size: 0.7rem;
}

.status-badge:hover i {
    opacity: 1;
}

.status-active {
    background: #e8f5e8;
    color: #2d5a2d;
    border: 1px solid #c3e6c3;
}

.status-inactive {
    background: #f8f0f0;
    color: #6b4b4b;
    border: 1px solid #e6c3c3;
}

/* Button Wrapper and Hover Message */
.btn-wrapper {
    position: relative;
    display: inline-block;
}

.hover-message {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: tooltipFadeIn 0.2s ease-out;
    max-width: 300px;
    text-align: center;
    line-height: 1.4;
}

.hover-message::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2c3e50;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Alternative arrow for tooltips shown below buttons */
.hover-message.hover-below::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #2c3e50;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Table Responsive Container */
.table-responsive-modern {
    border-radius: 0 0 12px 12px;
    overflow-x: auto;
}

/* Table Action Buttons */
.btn-show-modal {
    background: transparent !important;
    color: #4a7c59 !important;
    border: 1px solid #4a7c59 !important;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.btn-show-modal:hover {
    background: #4a7c59 !important;
    color: white !important;
    border-color: #4a7c59 !important;
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(74, 124, 89, 0.3);
}

.btn-show-modal i {
    font-size: 0.85rem;
    opacity: 0.9;
}

.btn-show-modal:hover i {
    opacity: 1;
}

.btn-delete-table {
    background: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-delete-table:hover:not(:disabled) {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.btn-delete-table:disabled {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-delete-table:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Empty State Styling */
.table-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.table-empty-state i {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.table-empty-state p {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.table-empty-state small {
    color: #adb5bd;
}

/* Table Row Content Styling */
.table-row-content {
    display: flex;
    align-items: center;
}

/* Override flex display for table cells to maintain proper table layout */
.modern-table td.table-row-content {
    display: table-cell;
    align-items: initial;
}

.table-row-content i {
    margin-right: 0.5rem;
    color: #4a7c59;
}

.table-row-content .fw-medium {
    font-weight: 500;
}

/* Price Cell Styling */
.price-cell {
    font-weight: 600;
    color: #28a745;
}

/* Text Muted Styling */
.text-muted {
    color: #6c757d !important;
}

/* Responsive Table Adjustments */
@media (max-width: 768px) {
    .modern-table thead th {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
        line-height: 1.1;
    }
    
    .modern-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .table-header {
        padding: 1rem;
    }
    
    .btn-modern {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .status-badge {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
}



/* Ensure proper text wrapping for long content */
.modern-table td.table-row-content {
    word-wrap: break-word;
    max-width: 200px;
}

/* Specific column styling for StationSettings */
.modern-table th.theme-col-narrow,
.modern-table td.theme-col-narrow {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}

.modern-table th.tip-casa-dropdown-col,
.modern-table td.tip-casa-dropdown-col {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}

.modern-table th.tip-conexiune-dropdown-col,
.modern-table td.tip-conexiune-dropdown-col {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}

/* Printer list styling */
.modern-table td .text-muted {
    color: #6c757d !important;
    font-style: italic;
}

/* Status badge improvements for StationSettings */
.modern-table .status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for StationSettings */
@media (max-width: 1200px) {
    .modern-table th.theme-col-narrow,
    .modern-table td.theme-col-narrow {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
    }
    
    .modern-table th.tip-casa-dropdown-col,
    .modern-table td.tip-casa-dropdown-col {
        width: 100px;
        min-width: 100px;
        max-width: 100px;
    }
    
    .modern-table th.tip-conexiune-dropdown-col,
    .modern-table td.tip-conexiune-dropdown-col {
        width: 120px;
        min-width: 120px;
        max-width: 120px;
    }
    
    .computer-name-col,
    .plaja-predefinita-col,
    .operator-facturare-col {
        min-width: 120px;
        width: 120px;
    }
    
    .printers-col {
        min-width: 160px;
        width: 160px;
    }
    
    .modern-table th.tip-casa-dropdown-col,
    .modern-table td.tip-casa-dropdown-col {
        width: 90px;
        min-width: 90px;
        max-width: 90px;
    }
    
    .modern-table th.tip-conexiune-dropdown-col,
    .modern-table td.tip-conexiune-dropdown-col {
        width: 110px;
        min-width: 110px;
        max-width: 110px;
    }
}

@media (max-width: 768px) {
    .modern-table th.theme-col-narrow,
    .modern-table td.theme-col-narrow {
        width: 60px;
        min-width: 60px;
        max-width: 60px;
    }
    
    .modern-table th.tip-casa-dropdown-col,
    .modern-table td.tip-casa-dropdown-col {
        width: 80px;
        min-width: 80px;
        max-width: 80px;
    }
    
    .modern-table th.tip-conexiune-dropdown-col,
    .modern-table td.tip-conexiune-dropdown-col {
        width: 100px;
        min-width: 100px;
        max-width: 100px;
    }
    
    .modern-table .status-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .table-row-content {
        max-width: 150px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .modern-table th.theme-col-narrow,
    .modern-table td.theme-col-narrow {
        width: 50px;
        min-width: 50px;
        max-width: 50px;
    }
    
    .modern-table th.tip-casa-dropdown-col,
    .modern-table td.tip-casa-dropdown-col {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
    }
    
    .modern-table th.tip-conexiune-dropdown-col,
    .modern-table td.tip-conexiune-dropdown-col {
        width: 90px;
        min-width: 90px;
        max-width: 90px;
    }
    
    .table-row-content {
        max-width: 120px;
        font-size: 0.8rem;
    }
}

/* ===== GLOBAL TABLE COMPONENT STYLES ===== */

/* ===== GLOBAL TOOLTIP SYSTEM ===== */

/* Base Tooltip Container */
.tooltip-container {
    position: relative;
    display: inline-block;
}

/* Main Tooltip Styles */
.tooltip {
    display: none;
    position: absolute;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 1070;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    animation: tooltipFadeIn 0.2s ease-out;
    max-width: 280px;
    text-align: center;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

/* Tooltip Arrow */
.tooltip::after {
    content: '';
    position: absolute;
    border: 6px solid transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Tooltip positioning variants */
.tooltip.tooltip-top {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
}

.tooltip.tooltip-top::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #2c3e50;
}

.tooltip.tooltip-bottom {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
}

.tooltip.tooltip-bottom::after {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: #2c3e50;
}

.tooltip.tooltip-left {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 8px;
}

.tooltip.tooltip-left::after {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-left-color: #2c3e50;
}

.tooltip.tooltip-right {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 8px;
}

.tooltip.tooltip-right::after {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-right-color: #2c3e50;
}

/* Tooltip themes */
.tooltip.tooltip-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 50%, #28a745 100%);
    border-color: rgba(40, 167, 69, 0.3);
}

.tooltip.tooltip-success::after {
    border-top-color: #28a745;
}

.tooltip.tooltip-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 50%, #ffc107 100%);
    border-color: rgba(255, 193, 7, 0.3);
    color: #212529;
}

.tooltip.tooltip-warning::after {
    border-top-color: #ffc107;
}

.tooltip.tooltip-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 50%, #dc3545 100%);
    border-color: rgba(220, 53, 69, 0.3);
}

.tooltip.tooltip-danger::after {
    border-top-color: #dc3545;
}

.tooltip.tooltip-info {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 50%, #17a2b8 100%);
    border-color: rgba(23, 162, 184, 0.3);
}

.tooltip.tooltip-info::after {
    border-top-color: #17a2b8;
}

.tooltip.tooltip-primary {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 50%, #4a7c59 100%);
    border-color: rgba(74, 124, 89, 0.3);
}

.tooltip.tooltip-primary::after {
    border-top-color: #4a7c59;
}

/* Tooltip sizes */
.tooltip.tooltip-sm {
    padding: 6px 10px;
    font-size: 0.75rem;
    max-width: 200px;
}

.tooltip.tooltip-lg {
    padding: 14px 18px;
    font-size: 0.95rem;
    max-width: 350px;
}

/* Tooltip with icons */
.tooltip.tooltip-with-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: normal;
}

.tooltip.tooltip-with-icon i {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Multi-line tooltip */
.tooltip.tooltip-multiline {
    white-space: normal;
    text-align: left;
    line-height: 1.5;
}

/* Tooltip animations */
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(3px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes tooltipFadeInBottom {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes tooltipFadeInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(3px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes tooltipFadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Apply specific animations based on position */
.tooltip.tooltip-top {
    animation: tooltipFadeIn 0.2s ease-out;
}

.tooltip.tooltip-bottom {
    animation: tooltipFadeInBottom 0.2s ease-out;
}

.tooltip.tooltip-left {
    animation: tooltipFadeInLeft 0.2s ease-out;
}

.tooltip.tooltip-right {
    animation: tooltipFadeInRight 0.2s ease-out;
}

/* Tooltip hover states */
.tooltip-container:hover .tooltip {
    display: block;
}

/* Responsive tooltip adjustments */
@media (max-width: 768px) {
    .tooltip {
        font-size: 0.8rem;
        padding: 8px 12px;
        max-width: 250px;
    }
    
    .tooltip.tooltip-sm {
        padding: 5px 8px;
        font-size: 0.7rem;
        max-width: 180px;
    }
    
    .tooltip.tooltip-lg {
        padding: 12px 16px;
        font-size: 0.9rem;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .tooltip {
        font-size: 0.75rem;
        padding: 6px 10px;
        max-width: 200px;
    }
    
    .tooltip.tooltip-sm {
        padding: 4px 6px;
        font-size: 0.65rem;
        max-width: 150px;
    }
    
    .tooltip.tooltip-lg {
        padding: 10px 14px;
        font-size: 0.85rem;
        max-width: 250px;
    }
}

/* Legacy hover-message compatibility (deprecated - use .tooltip instead) */
.hover-message {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: tooltipFadeIn 0.2s ease-out;
    max-width: 300px;
    text-align: center;
    line-height: 1.4;
}

.hover-message::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2c3e50;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.hover-message.hover-below::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #2c3e50;
}

/* Printers Column Styling */
.printers-column {
    max-width: 200px;
    min-width: 150px;
}

.printers-container {
    position: relative;
    max-height: 2.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #4a7c59 #f8f9fa;
}

.printers-container::-webkit-scrollbar {
    width: 4px;
}

.printers-container::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 2px;
}

.printers-container::-webkit-scrollbar-thumb {
    background: #4a7c59;
    border-radius: 2px;
}

.printers-container::-webkit-scrollbar-thumb:hover {
    background: #3a5c47;
}

.printer-item {
    padding: 0.25rem 0;
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.printer-first {
    color: #495057;
    font-weight: 500;
}

.printer-hidden {
    color: #6c757d;
    opacity: 0.8;
}

.printer-more-indicator {
    font-size: 0.75rem;
    color: #4a7c59;
    font-weight: 500;
    padding: 0.25rem 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.printer-more-indicator:hover {
    color: #3a5c47;
    text-decoration: underline;
}

/* Hover effect to show all printers */
.printers-container:hover {
    max-height: none;
    background: rgba(74, 124, 89, 0.05);
    border-radius: 4px;
    padding: 0.25rem;
    margin: -0.25rem;
}

.printers-container:hover .printer-hidden {
    opacity: 1;
    color: #495057;
}

.printers-container:hover .printer-more-indicator {
    display: none;
}

/* ===== MODAL REPORT EMPLOYEES STYLES ===== */

/* Modal-specific styles to ensure they take precedence */
.modal-report-employees .card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modal-report-employees .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

.modal-report-employees .table-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px 0;
}

.modal-report-employees .table.table-hover tbody tr {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.modal-report-employees .table.table-hover tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left-color: #4a7c59;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(74, 124, 89, 0.1);
}

.modal-report-employees .table-light th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-bottom: 2px solid #dee2e6 !important;
    font-weight: 600 !important;
    color: #495057 !important;
    padding: 1rem 0.75rem !important;
}

.modal-report-employees .btn {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.modal-report-employees .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.modal-report-employees .btn-success {
    background: linear-gradient(135deg, #4a7c59 0%, #5ba892 100%);
    border: none;
}

.modal-report-employees .btn-success:hover {
    background: linear-gradient(135deg, #3d6b4a 0%, #4a8a7a 100%);
}

.modal-report-employees .text-primary {
    color: #4a7c59 !important;
}

.modal-report-employees .text-success {
    color: #28a745 !important;
}

.modal-report-employees .text-info {
    color: #17a2b8 !important;
}

.modal-report-employees .text-warning {
    color: #ffc107 !important;
}

.modal-report-employees .text-secondary {
    color: #6c757d !important;
}

.modal-report-employees .text-danger {
    color: #dc3545 !important;
}

.modal-report-employees .text-muted {
    color: #6c757d !important;
}

.modal-report-employees .fw-bold {
    font-weight: 700 !important;
}

.modal-report-employees .fw-semibold {
    font-weight: 600 !important;
}

.modal-report-employees .fw-medium {
    font-weight: 500 !important;
}

.modal-report-employees .fs-4 {
    font-size: 1.5rem !important;
}

.modal-report-employees .small {
    font-size: 0.875rem !important;
}

.modal-report-employees .mb-3 {
    margin-bottom: 1rem !important;
}

.modal-report-employees .mb-4 {
    margin-bottom: 1.5rem !important;
}

.modal-report-employees .mt-4 {
    margin-top: 1.5rem !important;
}

.modal-report-employees .p-4 {
    padding: 1.5rem !important;
}

.modal-report-employees .g-3 {
    gap: 1rem !important;
}

.modal-report-employees .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.modal-report-employees .col-md-2,
.modal-report-employees .col-md-6,
.modal-report-employees .col-6,
.modal-report-employees .col-12,
.modal-report-employees .col-lg-3,
.modal-report-employees .col-lg-9 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.modal-report-employees .text-center {
    text-align: center !important;
}

.modal-report-employees .d-flex {
    display: flex !important;
}

.modal-report-employees .justify-content-between {
    justify-content: space-between !important;
}

.modal-report-employees .gap-2 {
    gap: 0.5rem !important;
}

.modal-report-employees .table-responsive {
    overflow-x: auto;
}

.modal-report-employees .table {
    margin-bottom: 0;
}

.modal-report-employees .table tbody tr {
    border-bottom: 1px solid #dee2e6;
}

.modal-report-employees .table tfoot tr {
    border-top: 2px solid #dee2e6;
    background: #f8f9fa;
}

.modal-report-employees .btn-link {
    text-decoration: none;
    color: #495057;
    font-weight: 600;
}

.modal-report-employees .btn-link:hover {
    color: #4a7c59;
    text-decoration: none;
}

.modal-report-employees .me-2 {
    margin-right: 0.5rem !important;
}

.modal-report-employees .me-1 {
    margin-right: 0.25rem !important;
}

/* ===== STATION MENU STYLES ===== */
/*
 * StationMenu Tab Specific Styles
 * These styles are specific to the StationMenu functionality and don't have analogues in the main CSS
 */

/* Custom hamburger menu icon for StationMenu */
.hamburger-menu {
    position: relative;
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 1px;
}

.hamburger-dots {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hamburger-dots span {
    width: 3px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

/* Station Cards Container - connects seamlessly with header */
.station-cards-container {
    border-radius: 0 0 12px 12px;
    margin-top: 0;
}

/* Station Card Styles */
.station-card {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    overflow: hidden;
    min-height: 60px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.station-card:hover {
    border-color: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
    transform: translateY(-2px);
}

.station-card.selected {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
    border-width: 2px;
    transform: translateY(-1px);
}

.station-card .station-name {
    font-size: 0.9rem;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.station-card small {
    font-size: 0.75rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.station-card .badge {
    font-size: 0.7rem;
}

.station-card .btn {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    height: auto;
}

/* Location Filter Tabs */
.location-filter-tabs {
    background: #f8f9fa;
}

.location-filter-tabs .nav-link {
    border-radius: 0;
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.location-filter-tabs .nav-link:hover {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    color: #2d5a2d;
}

.location-filter-tabs .nav-link.active {
    background: #f8f9fa;
    color: #6c757d;
    border-bottom: 3px solid #28a745;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.location-filter-tabs .nav-link.active .badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.tab-content {
    min-height: 400px;
}

.location-header {
    padding: 1rem;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #28a745;
}

/* Single Location View Styles */
#singleLocationView {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#singleLocationView .location-header {
    margin-bottom: 1.5rem;
    border-radius: 8px 8px 0 0;
    margin: -1rem -1rem 1.5rem -1rem;
}

/* Enhanced Drag and Drop Styles for StationMenu */
.menu-item-modern {
    cursor: grab;
    transition: all 0.2s ease;
    user-select: none;
}

.menu-item-modern:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.menu-item-modern.dragging {
    opacity: 0.6;
    transform: rotate(2deg) scale(1.05);
    z-index: 1000;
    cursor: grabbing;
}

.drag-handle {
    cursor: grab;
    color: #6c757d;
}

.drag-handle:hover {
    color: #495057;
}

#all-menu-items,
#station-menu-items {
    min-height: 200px;
    border: 2px dashed transparent;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#all-menu-items.drag-over,
#station-menu-items.drag-over {
    border-color: #28a745;
    background-color: #f8fff9;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.2);
}

.station-card {
    cursor: pointer;
    transition: all 0.2s ease;
}

.station-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.station-card.selected {
    border-color: #007bff;
    background-color: #e7f3ff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.price-input-modern {
    max-width: 100px;
}

.menu-item-inactive .menu-item-text {
    text-decoration: line-through;
    color: #6c757d;
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Notification styling */
.alert {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .menu-item-modern {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .drag-handle {
        align-self: flex-start;
        margin-bottom: 0.5rem;
    }
}

/* Mobile Assign Button Styles */
.assign-btn-mobile {
    min-width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.assign-btn-mobile:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.assign-btn-mobile:active {
    transform: scale(0.95);
}

.assign-btn-mobile i {
    font-size: 1.1rem;
}

/* Mobile Remove Button Styles */
.remove-btn-mobile {
    min-width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.remove-btn-mobile:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.remove-btn-mobile:active {
    transform: scale(0.95);
}

.remove-btn-mobile i {
    font-size: 1.1rem;
}

/* Disabled state for mobile buttons */
.assign-btn-mobile:disabled,
.remove-btn-mobile:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.assign-btn-mobile:disabled:hover,
.remove-btn-mobile:disabled:hover {
    transform: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mobile-specific responsive adjustments */
@media (max-width: 576px) {
    .assign-btn-mobile {
        min-width: 40px;
        height: 40px;
    }
    
    .assign-btn-mobile i {
        font-size: 1.2rem;
    }
    
    .menu-item-modern .d-flex.align-items-center.gap-2 {
        gap: 0.5rem !important;
    }
}


