@charset "UTF-8";

/* Material Symbols configuration */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Classes */
.glass-panel, .glass-card {
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-nav {
    background: rgba(19, 19, 19, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-dropdown {
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Glowing & Neon Effects */
.glow-effect {
    box-shadow: 0 0 20px rgba(191, 227, 83, 0.28);
}

.glow-effect:hover {
    box-shadow: 0 0 32px rgba(191, 227, 83, 0.55);
}

.glow-active {
    box-shadow: 0px 0px 22px rgba(191, 227, 83, 0.35);
}

.text-glow {
    text-shadow: 0 0 12px rgba(191, 227, 83, 0.5);
}

.text-glow-subtle {
    text-shadow: 0 0 8px rgba(191, 227, 83, 0.25);
}

/* Ambient Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% -10%, #202b0c 0%, #171d0e 25%, #131313 75%);
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #131313;
}

::-webkit-scrollbar-thumb {
    background: #353534;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8f937d;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Safe areas */
.pb-safe {
    padding-bottom: max(env(safe-area-inset-bottom, 20px), 16px);
}

/* Scanner Animation */
@keyframes scan {
    0% { transform: translateY(0); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateY(4rem); opacity: 0; }
}

.scanner-beam {
    animation: scan 2.2s ease-in-out infinite;
}

/* Float Animation */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: floatSlow 4s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(191, 227, 83, 0.2); }
    50% { box-shadow: 0 0 30px rgba(191, 227, 83, 0.45); }
}

.animate-pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Toast Notification Styles */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* QR Camera Viewfinder Styling */
#qr-reader {
    border: none !important;
    background: transparent !important;
}

#qr-reader video {
    border-radius: 1rem;
    object-fit: cover;
    width: 100% !important;
    max-height: 380px;
}

#qr-reader__scan_region {
    background: transparent !important;
}

#qr-reader__dashboard_section {
    padding: 8px 0;
}

.scanner-viewfinder-overlay {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
}

.scanner-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: #bfe353;
    z-index: 20;
    pointer-events: none;
}

.scanner-corner-tl { top: 12px; left: 12px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; }
.scanner-corner-tr { top: 12px; right: 12px; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; }
.scanner-corner-bl { bottom: 12px; left: 12px; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; }
.scanner-corner-br { bottom: 12px; right: 12px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; }

@keyframes laserSweep {
    0% { top: 10%; opacity: 0.2; }
    50% { top: 90%; opacity: 1; }
    100% { top: 10%; opacity: 0.2; }
}

.active-camera-laser {
    position: absolute;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #bfe353;
    box-shadow: 0 0 14px 2px #bfe353, 0 0 4px #fff;
    z-index: 25;
    pointer-events: none;
    animation: laserSweep 2s ease-in-out infinite;
}

