/* ==========================================================================
   MODERN AQUATIC THEME OVERRIDES (Glassmorphism & High-Contrast Typography)
   ========================================================================== */

:root {
    --anc-primary: #0077b6;
    --anc-primary-dark: #023e8a;
    --anc-accent: #00b4d8;
    --anc-teal: #48cae4;
    --anc-gold: #ffb703;
    --anc-dark: #0f1c2e;

    /* Theme-Adaptive Variables (Light Mode Defaults) */
    --anc-glass-bg: rgba(255, 255, 255, 0.94);
    --anc-glass-border: rgba(255, 255, 255, 0.9);
    --anc-glass-shadow: 0 8px 25px rgba(0, 30, 60, 0.08);
    --anc-text-main: #0f1c2e;
    --anc-text-muted: #4a5568;
    --anc-card-inner-bg: #ffffff;
    --anc-input-bg: #f8fafc;
    --anc-input-border: #e2e8f0;
}

/* ==========================================================================
   DARK THEME (Deep-Sea Night Aquascape)
   ========================================================================== */
body.dark-mode {
    --anc-glass-bg: rgba(10, 24, 42, 0.92);
    --anc-glass-border: rgba(0, 180, 216, 0.22);
    --anc-glass-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
    --anc-text-main: #f0f8ff;
    --anc-text-muted: #a0aec0;
    --anc-card-inner-bg: rgba(14, 32, 56, 0.95);
    --anc-input-bg: rgba(18, 38, 66, 0.9);
    --anc-input-border: rgba(0, 180, 216, 0.3);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .text-dark,
body.dark-mode .lead {
    color: var(--anc-text-main) !important;
}

body.dark-mode .text-muted {
    color: var(--anc-text-muted) !important;
}

body.dark-mode #aquarium-tank-container::after {
    background: radial-gradient(circle at 50% 45%, 
        rgba(5, 15, 30, 0.55) 0%, 
        rgba(3, 10, 22, 0.65) 50%, 
        rgba(0, 5, 15, 0.8) 100%) !important;
}

body.dark-mode .modern-glass-nav,
body.dark-mode .anc-glass-card,
body.dark-mode .glass-panel,
body.dark-mode .card,
body.dark-mode .bg-light,
body.dark-mode .fruite-item,
body.dark-mode .value-card,
body.dark-mode .floating-glass-footer {
    background: var(--anc-glass-bg) !important;
    border-color: var(--anc-glass-border) !important;
    box-shadow: var(--anc-glass-shadow) !important;
    color: var(--anc-text-main) !important;
}

body.dark-mode .anc-shop-navbar .nav-link {
    color: var(--anc-text-main) !important;
}

body.dark-mode .anc-category-menu {
    background: rgba(10, 24, 42, 0.98) !important;
    border-color: var(--anc-glass-border) !important;
}

body.dark-mode .anc-category-menu .anc-submenu-link {
    color: var(--anc-text-main) !important;
}

body.dark-mode .anc-category-menu .anc-submenu-link:hover {
    background: rgba(0, 180, 216, 0.15) !important;
    color: var(--anc-accent) !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: var(--anc-input-bg) !important;
    color: var(--anc-text-main) !important;
    border-color: var(--anc-input-border) !important;
}

body.dark-mode .form-control::placeholder {
    color: #718096 !important;
}

body.dark-mode .bg-white {
    background-color: var(--anc-card-inner-bg) !important;
    color: var(--anc-text-main) !important;
}

body.dark-mode .table {
    color: var(--anc-text-main) !important;
}

body.dark-mode .footer-glass-links a {
    color: var(--anc-text-muted) !important;
}

body.dark-mode .footer-glass-links a:hover {
    color: var(--anc-accent) !important;
}

body.dark-mode .social-glass-pill {
    background: rgba(0, 180, 216, 0.12) !important;
    border-color: rgba(0, 180, 216, 0.25) !important;
    color: var(--anc-accent) !important;
}

body.dark-mode .social-glass-pill:hover {
    background: var(--anc-primary) !important;
    color: #ffffff !important;
}

/* Theme Toggle Button Component */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(0, 119, 182, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: #e67e22;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 30, 60, 0.1);
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 30, 60, 0.2);
}

body.dark-mode .theme-toggle-btn {
    background: rgba(18, 38, 66, 0.95);
    border-color: rgba(0, 180, 216, 0.35);
    color: #ffb703;
}


/* 1. Header Navigation: Transparent full-width container + Floating White Pill */
#header-placeholder {
    position: relative;
    z-index: 99999 !important;
}

.floating-header-wrapper,
.fixed-top {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 99999 !important;
}

.modern-glass-nav {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 12px 35px rgba(0, 30, 60, 0.16) !important;
    border-radius: 45px !important;
    padding: 8px 26px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 99999 !important;
}

.anc-category-dropdown,
.dropdown {
    position: relative;
    z-index: 100000 !important;
}

.anc-category-menu,
.dropdown-menu {
    position: absolute !important;
    z-index: 100001 !important;
    box-shadow: 0 16px 45px rgba(0, 25, 60, 0.28) !important;
}

.modern-glass-nav:hover {
    box-shadow: 0 15px 40px rgba(0, 30, 60, 0.22) !important;
}

.anc-shop-navbar .nav-link {
    font-weight: 600;
    color: var(--anc-dark) !important;
    font-size: 15px;
    letter-spacing: 0.2px;
    padding: 8px 12px !important;
    white-space: nowrap !important;
    transition: color 0.25s ease, transform 0.2s ease;
}

.anc-shop-navbar .nav-link:hover,
.anc-shop-navbar .nav-link.active {
    color: var(--anc-primary) !important;
    transform: translateY(-1px);
}

.anc-shop-now {
    background: linear-gradient(135deg, var(--anc-primary) 0%, var(--anc-accent) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700;
    padding: 8px 20px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.35);
    transition: all 0.25s ease;
}

.anc-shop-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.45);
    color: #ffffff !important;
}

.anc-header-logo {
    height: 52px;
    width: 52px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 30, 60, 0.15);
}

.anc-category-menu {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 119, 182, 0.15);
    border-radius: 18px;
    padding: 8px 0;
}

.anc-category-menu .anc-submenu-link {
    display: block;
    padding: 8px 20px;
    color: var(--anc-dark);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.anc-category-menu .anc-submenu-link:hover {
    background: rgba(0, 119, 182, 0.08);
    color: var(--anc-primary);
}

/* ==========================================================================
   2. Standardized Floating Glass Panel (Single Reusable Component)
   All white floating rectangles share this exact border-radius, uniform padding,
   blur, and soft aquatic elevation across every page.
   ========================================================================== */
.anc-glass-card,
.glass-panel {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 25px rgba(0, 30, 60, 0.08) !important;
    padding: 18px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.anc-glass-card:hover,
.glass-panel:hover {
    box-shadow: 0 12px 32px rgba(0, 30, 60, 0.13) !important;
}

/* Base card / sidebar override: standardizes border-radius and padding */
.card, 
.bg-light, 
.fruite-item {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 25px rgba(0, 30, 60, 0.08) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fruite-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 50, 100, 0.16) !important;
}

/* Tighten inner fruite-item content padding */
.fruite-item .p-4 {
    padding: 16px !important;
}

/* 3. Hero Showcase Carousel - Expanded & Prominent Centerpiece */
.hero-slideshow-container {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 50px rgba(0, 35, 75, 0.28);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.hero-slideshow-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

@media (max-width: 768px) {
    .hero-slideshow-img {
        aspect-ratio: 4 / 3;
    }
}

.hero-slideshow-caption {
    background: linear-gradient(180deg, rgba(15, 28, 46, 0) 0%, rgba(15, 28, 46, 0.94) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 24px 18px;
    color: #ffffff;
}

.hero-slideshow-badge {
    background: var(--anc-accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6px;
}

.hero-slideshow-indicators {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.hero-slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.88);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--anc-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: all 0.2s ease;
    z-index: 5;
}

.hero-slideshow-btn:hover {
    background: #ffffff;
    color: var(--anc-primary);
    transform: translateY(-50%) scale(1.08);
}

.hero-slideshow-btn.btn-prev { left: 12px; }
.hero-slideshow-btn.btn-next { right: 12px; }

/* 4. Value Highlights Grid (Canadian Guarantees) */
.value-card {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 20px !important;
    padding: 18px !important;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 30, 60, 0.08) !important;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 30, 60, 0.13) !important;
}

.value-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.12) 0%, rgba(0, 180, 216, 0.2) 100%);
    color: var(--anc-primary);
}

/* 5. Floating White Glassmorphic Footer (Matching Header & Centerpiece Theme) */
.footer-wrapper {
    background: transparent !important;
}

.floating-glass-footer {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 30, 60, 0.12) !important;
    padding: 18px !important;
    color: var(--anc-dark);
}

.footer-glass-title {
    color: var(--anc-dark);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-glass-links li {
    margin-bottom: 8px;
}

.footer-glass-links a {
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-glass-links a:hover {
    color: var(--anc-primary);
    padding-left: 4px;
}

.social-glass-pill {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 119, 182, 0.08);
    border: 1px solid rgba(0, 119, 182, 0.15);
    color: var(--anc-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.25s ease;
}

.social-glass-pill:hover {
    background: var(--anc-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

/* 6. Typography Boost */
h1, h2, h3, h4, h5, h6 {
    color: var(--anc-dark);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

.text-primary {
    color: var(--anc-primary) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--anc-primary) 0%, var(--anc-accent) 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
}

.btn-primary i,
.btn-outline-dark i,
.btn-outline-primary i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

.btn-hero-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    padding: 10px 24px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    gap: 8px;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.45);
}

/* 7. Floating White Rounded Inner Page Title Pill / Panel */
.page-header-wrapper {
    margin-top: 105px;
    margin-bottom: 25px;
}

.page-title-pill {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 28px !important;
    box-shadow: 0 10px 30px rgba(0, 30, 60, 0.12) !important;
    padding: 18px 32px !important;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-title-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(0, 30, 60, 0.16) !important;
}

.page-title-pill h1,
.page-title-pill h2 {
    color: var(--anc-dark);
    font-weight: 800;
    margin: 0;
    font-size: 1.75rem;
    letter-spacing: -0.3px;
}

/* ==========================================================================
   8. Professional Floating Glass Toast / Alert System
   ========================================================================== */
#anc-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100vw - 32px);
}

.anc-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 180, 216, 0.35);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 40, 80, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
    color: #0f1c2e;
    font-family: inherit;
    font-size: 14.5px;
    line-height: 1.45;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    position: relative;
    overflow: hidden;
}

.anc-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.anc-toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.anc-toast-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.anc-toast-success .anc-toast-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.anc-toast-info .anc-toast-icon {
    background: rgba(0, 180, 216, 0.15);
    color: #0077b6;
}

.anc-toast-warning .anc-toast-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.anc-toast-error .anc-toast-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.anc-toast-body {
    flex: 1 1 auto;
    min-width: 0;
    word-wrap: break-word;
}

.anc-toast-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
    color: inherit;
}

.anc-toast-message {
    font-size: 13.5px;
    color: #4a5568;
    margin: 0;
}

.anc-toast-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
    padding: 0;
}

.anc-toast-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #0f1c2e;
}

/* Toast Progress Bar */
.anc-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00b4d8, #0077b6);
    width: 100%;
    transform-origin: left;
    animation: ancToastProgress linear forwards;
}

@keyframes ancToastProgress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Dark Mode Toast */
body.dark-mode .anc-toast {
    background: rgba(14, 30, 52, 0.95);
    border-color: rgba(0, 180, 216, 0.35);
    color: #f0f8ff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

body.dark-mode .anc-toast-message {
    color: #cbd5e1;
}

body.dark-mode .anc-toast-close {
    color: #94a3b8;
}

body.dark-mode .anc-toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

@media (max-width: 576px) {
    #anc-toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
        width: auto;
    }
}

/* ==========================================================================
   9. Professional Floating Glass Confirmation Dialog
   ========================================================================== */
.anc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 20, 36, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.anc-modal-overlay.show {
    opacity: 1;
}

.anc-modal-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 180, 216, 0.35);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 30, 60, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 440px;
    padding: 28px 26px 24px 26px;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    color: #0f1c2e;
}

.anc-modal-overlay.show .anc-modal-card {
    transform: scale(1) translateY(0);
}

.anc-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.anc-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.anc-modal-icon.warning {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.anc-modal-icon.question {
    background: rgba(0, 180, 216, 0.14);
    color: #0077b6;
}

.anc-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: inherit;
}

.anc-modal-message {
    font-size: 14.5px;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 24px;
    padding-left: 2px;
}

.anc-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.anc-modal-btn {
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.anc-modal-btn-cancel {
    background: rgba(148, 163, 184, 0.15);
    color: #334155;
}

.anc-modal-btn-cancel:hover {
    background: rgba(148, 163, 184, 0.28);
    color: #0f172a;
}

.anc-modal-btn-confirm {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.anc-modal-btn-confirm:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
}

.anc-modal-btn-primary {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.35);
}

.anc-modal-btn-primary:hover {
    background: linear-gradient(135deg, #0096c7, #023e8a);
    box-shadow: 0 6px 18px rgba(0, 119, 182, 0.5);
    transform: translateY(-1px);
}

/* Dark Mode Confirmation Dialog */
body.dark-mode .anc-modal-card {
    background: rgba(14, 30, 52, 0.96);
    border-color: rgba(0, 180, 216, 0.35);
    color: #f0f8ff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

body.dark-mode .anc-modal-message {
    color: #cbd5e1;
}

body.dark-mode .anc-modal-btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

body.dark-mode .anc-modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* ==========================================================================
   10. Professional Clean Print Receipt Stylesheet
   Hides fish tank backdrop, header, footer, action buttons, and bubbles.
   Prints solely the receipt invoice on clean crisp white background.
   ========================================================================== */
@media print {
    /* Hide all backdrop layers and navigation */
    #aquarium-tank-container,
    #aquarium-tank-container::after,
    .fish-swimmer,
    .bubble,
    .aquarium-bubble,
    #aquarium-bg,
    .aquarium-container,
    .floating-header-wrapper,
    #header-placeholder,
    #footer-placeholder,
    .footer-wrapper,
    #anc-toast-container,
    .anc-modal-overlay,
    .print-hide,
    .theme-toggle-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Reset global page styles for crisp paper printing */
    html, body {
        background: #ffffff !important;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 12pt !important;
    }

    body.dark-mode {
        background: #ffffff !important;
        color: #000000 !important;
    }

    body.dark-mode * {
        color: #000000 !important;
        text-shadow: none !important;
    }

    .container-fluid,
    .container {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Receipt card printing layout */
    .receipt-printable-card {
        background: #ffffff !important;
        border: 1px solid #d1d5db !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
        padding: 24px !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    .receipt-printable-card * {
        box-shadow: none !important;
    }

    /* Header brand inside print receipt */
    .print-receipt-header {
        display: block !important;
        border-bottom: 2px solid #0077b6;
        padding-bottom: 12px;
        margin-bottom: 20px;
    }

    /* Table styling for paper */
    .table {
        border-collapse: collapse !important;
        width: 100% !important;
    }

    .table th,
    .table td {
        background-color: #ffffff !important;
        color: #000000 !important;
        border: 1px solid #e5e7eb !important;
        padding: 8px 12px !important;
    }

    .table thead th {
        background-color: #f3f4f6 !important;
        font-weight: bold !important;
    }

    .badge {
        border: 1px solid #9ca3af !important;
        color: #000000 !important;
        background: #f3f4f6 !important;
    }

    .text-primary,
    .text-success,
    .text-muted {
        color: #000000 !important;
    }
}

/* Hide print header by default on screen */
.print-receipt-header {
    display: none;
}




