/* Fade-in animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ===============================
           TECH-THEMED MOBILE ANIMATIONS
           =============================== */

        /* Floating Code Lines */
        .floating-code {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .code-line {
            position: absolute;
            font-family: 'Courier New', monospace;
            font-size: 12px;
            color: rgba(124, 77, 255, 0.6);
            background: rgba(0, 0, 0, 0.1);
            padding: 4px 8px;
            border-radius: 4px;
            border-left: 3px solid rgba(124, 77, 255, 0.8);
            backdrop-filter: blur(5px);
            animation: codeFloat 12s linear infinite;
        }

        .code-line:nth-child(1) {
            top: 10%;
            left: -200px;
            animation-delay: 0s;
        }

        .code-line:nth-child(2) {
            top: 30%;
            right: -250px;
            animation-delay: 3s;
            animation-name: codeFloatRight;
        }

        .code-line:nth-child(3) {
            top: 50%;
            left: -180px;
            animation-delay: 6s;
        }

        .code-line:nth-child(4) {
            top: 70%;
            right: -200px;
            animation-delay: 9s;
            animation-name: codeFloatRight;
        }

        @keyframes codeFloat {
            0% { transform: translateX(0) rotate(0deg); opacity: 0; }
            10% { opacity: 0.6; }
            50% { opacity: 0.8; }
            90% { opacity: 0.3; }
            100% { transform: translateX(calc(100vw + 250px)) rotate(5deg); opacity: 0; }
        }

        @keyframes codeFloatRight {
            0% { transform: translateX(0) rotate(0deg); opacity: 0; }
            10% { opacity: 0.6; }
            50% { opacity: 0.8; }
            90% { opacity: 0.3; }
            100% { transform: translateX(calc(-100vw - 250px)) rotate(-5deg); opacity: 0; }
        }

        /* Data Streams */
        .data-streams {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
        }

        .stream {
            position: absolute;
            width: 2px;
            height: 0;
            background: linear-gradient(to bottom, transparent, rgba(124, 77, 255, 0.8), transparent);
            animation: dataStream 4s linear infinite;
        }

        .stream-1 {
            left: 20%;
            animation-delay: 0s;
        }

        .stream-2 {
            left: 50%;
            animation-delay: 1.5s;
        }

        .stream-3 {
            left: 80%;
            animation-delay: 3s;
        }

        @keyframes dataStream {
            0% {
                top: -100px;
                height: 100px;
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                top: 100vh;
                height: 100px;
                opacity: 0;
            }
        }

        /* Enhanced Logo Animation */
        .logo-container {
            position: relative;
            display: inline-block;
            margin-bottom: 10px;
        }

        .logo-pulse {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 60px;
            height: 60px;
            border: 2px solid rgba(124, 77, 255, 0.6);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            animation: logoPulse 2s ease-in-out infinite;
        }

        .logo-pulse::before {
            content: '';
            position: absolute;
            top: -4px;
            left: -4px;
            right: -4px;
            bottom: -4px;
            border: 2px solid rgba(124, 77, 255, 0.3);
            border-radius: 50%;
            animation: logoPulse 2s ease-in-out infinite 0.5s;
        }

        @keyframes logoPulse {
            0%, 100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.2);
                opacity: 0.3;
            }
        }

        /* Typing Text Animation */
        .typing-text {
            display: inline-block;
            animation: typeWriter 3s steps(10) infinite;
        }

        .cursor-blink {
            display: inline-block;
            animation: cursorBlink 1s infinite;
            color: rgba(124, 77, 255, 0.8);
        }

        @keyframes typeWriter {
            0%, 90% { opacity: 1; }
            95%, 100% { opacity: 0.7; }
        }

        @keyframes cursorBlink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

        /* Tech Input Fields */
        .tech-input {
            position: relative;
            transition: all 0.3s ease;
        }

        .input-scan-line {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(124, 77, 255, 0.8), transparent);
            transition: width 0.3s ease;
        }

        .tech-input:focus + .input-icon + .input-scan-line,
        .tech-input:focus ~ .input-scan-line {
            width: 100%;
            animation: scanLine 2s ease-in-out infinite;
        }

        @keyframes scanLine {
            0%, 100% {
                background: linear-gradient(90deg, transparent, rgba(124, 77, 255, 0.8), transparent);
            }
            50% {
                background: linear-gradient(90deg, transparent, rgba(102, 99, 255, 1), transparent);
            }
        }

        /* Tech Button Animation */
        .tech-btn {
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .btn-text {
            position: relative;
            z-index: 2;
            transition: all 0.3s ease;
        }

        .btn-loader {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.3s ease;
        }

        .tech-btn:hover .btn-loader {
            width: 300px;
            height: 300px;
            animation: techButtonPulse 1s ease-out infinite;
        }

        .tech-btn:active {
            transform: translateY(-2px) scale(0.98);
            box-shadow: 0 12px 32px rgba(124, 77, 255, 0.6);
        }

        @keyframes techButtonPulse {
            0% {
                opacity: 0.3;
                transform: translate(-50%, -50%) scale(0);
            }
            50% {
                opacity: 0.1;
                transform: translate(-50%, -50%) scale(1);
            }
            100% {
                opacity: 0;
                transform: translate(-50%, -50%) scale(1.2);
            }
        }

        /* Enhanced Card Animation */
        .card-3d-wrap {
            position: relative;
            width: 440px;
            max-width: 90%;
            height: 400px;
            -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
            perspective: 800px;
            margin: 10px auto 120px auto !important;
            filter: drop-shadow(0 0 20px rgba(124, 77, 255, 0.3));
        }

        .card-3d-wrap::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, 
                transparent, 
                rgba(124, 77, 255, 0.4), 
                transparent, 
                rgba(102, 99, 255, 0.4),
                transparent
            );
            border-radius: 14px;
            z-index: -1;
            animation: cardGlow 3s ease-in-out infinite;
        }

        @keyframes cardGlow {
            0%, 100% {
                opacity: 0.3;
                transform: rotate(0deg);
            }
            50% {
                opacity: 0.8;
                transform: rotate(1deg);
            }
        }

        /* Touch Interaction Feedback */
        .mobile-form-group {
            position: relative;
            display: block;
            margin: 0;
            padding: 0;
        }
        .password-wrapper {
            position: relative;
            }

        .password-wrapper .toggle-password {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            font-size: 16px;
            color: #bbb;
            }


        .mobile-form-group:active::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: radial-gradient(circle, rgba(124, 77, 255, 0.3) 0%, transparent 70%);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            animation: touchRipple 0.6s ease-out;
            pointer-events: none;
        }

        @keyframes touchRipple {
            0% {
                width: 0;
                height: 0;
                opacity: 1;
            }
            100% {
                width: 100px;
                height: 100px;
                opacity: 0;
            }
        }

        /* Enhanced Toggle Switch */
        .checkbox:checked + label::after {
            content: '⚡';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 10px;
            color: rgba(255, 255, 255, 0.8);
            animation: switchSpark 0.5s ease;
        }

        :root {
            --aevaris-primary: #6222c9;
            --aevaris-secondary: #8e44ad;
            --aevaris-light: #f6f5f7;
            --aevaris-dark: #212529;
            --mobile-bg: #e3e3e3;
            --mobile-card: #2a2b38;
            --mobile-accent: #ffeba7;
            --mobile-blue: #102770;
            --mobile-text: #c4c3ca;
        }

        * {
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            height: 100vh;
            overflow: hidden;
        }

        /* Desktop Styles */
        .desktop-container {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6222c9 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            position: relative;
            overflow: hidden;
        }

        /* Animated Tech Background for Desktop */
        .tech-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.1;
            z-index: 0;
        }

        .circuit-pattern {
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 25% 25%, #fff 2px, transparent 2px),
                radial-gradient(circle at 75% 75%, #fff 1px, transparent 1px),
                linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%),
                linear-gradient(-45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
            background-size: 50px 50px, 30px 30px, 100px 100px, 100px 100px;
            animation: circuitMove 20s linear infinite;
        }

        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .ai-element {
            position: absolute;
            color: rgba(255, 255, 255, 0.15);
            font-size: 24px;
            animation: float 6s ease-in-out infinite;
            font-weight: 300;
        }

        .ai-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
        .ai-element:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; font-size: 18px; }
        .ai-element:nth-child(3) { top: 80%; left: 15%; animation-delay: 4s; font-size: 20px; }
        .ai-element:nth-child(4) { top: 30%; left: 75%; animation-delay: 1s; font-size: 16px; }
        .ai-element:nth-child(5) { top: 70%; left: 60%; animation-delay: 3s; font-size: 22px; }
        .ai-element:nth-child(6) { top: 15%; left: 85%; animation-delay: 5s; font-size: 14px; }

        @keyframes circuitMove {
            0% { transform: translateX(0) translateY(0); }
            25% { transform: translateX(-10px) translateY(-10px); }
            50% { transform: translateX(0) translateY(-20px); }
            75% { transform: translateX(10px) translateY(-10px); }
            100% { transform: translateX(0) translateY(0); }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.15; }
            50% { transform: translateY(-20px) rotate(5deg); opacity: 0.25; }
        }

        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .container {
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 10px;
            box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
            position: relative;
            overflow: hidden;
            width: 768px;
            max-width: 100%;
            min-height: 520px;
            z-index: 2;
        }

        .form-container {
            position: absolute;
            top: 0;
            height: 100%;
            transition: all 0.6s ease-in-out;
        }

        .sign-in-container {
            left: 0;
            width: 50%;
            z-index: 2;
        }

        .sign-up-container {
            left: 0;
            width: 50%;
            opacity: 0;
            z-index: 1;
        }

        .desktop-form {
            background-color: #FFFFFF;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 0 50px;
            height: 100%;
            text-align: center;
        }

        .desktop-form h1 {
            font-weight: 700;
            margin: 0;
        }

        .desktop-form span {
            font-size: 12px;
            margin-bottom: 20px;
        }

        .desktop-form input {
            background-color: #eee;
            border: none;
            padding: 12px 15px;
            margin: 8px 0;
            width: 100%;
            border-radius: 8px;
        }

        .password-wrapper {
            position: relative;
            width: 100%;
        }

        .password-wrapper input {
            padding-right: 40px;
        }

        .toggle-password {
            position: absolute;
            top: 50%;
            right: 15px;
            transform: translateY(-50%);
            cursor: pointer;
            color: #777;
        }

        .desktop-form button {
            border-radius: 20px;
            border: 1px solid var(--aevaris-primary);
            background-color: var(--aevaris-primary);
            color: #FFFFFF;
            font-size: 12px;
            font-weight: bold;
            padding: 12px 45px;
            letter-spacing: 1px;
            text-transform: uppercase;
            transition: transform 80ms ease-in, background-color 0.3s ease;
            cursor: pointer;
            margin-top: 10px;
        }

        .desktop-form a {
            color: #333;
            font-size: 14px;
            text-decoration: none;
            margin: 15px 0;
        }

        .overlay-container {
            position: absolute;
            top: 0;
            left: 50%;
            width: 50%;
            height: 100%;
            overflow: hidden;
            transition: transform 0.6s ease-in-out;
            z-index: 100;
        }

        .overlay {
            background: var(--aevaris-primary);
            background: linear-gradient(to right, var(--aevaris-secondary), var(--aevaris-primary));
            background-repeat: no-repeat;
            background-size: cover;
            background-position: 0 0;
            color: #FFFFFF;
            position: relative;
            left: -100%;
            height: 100%;
            width: 200%;
            transform: translateX(0);
            transition: transform 0.6s ease-in-out;
        }

        .overlay-panel {
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 0 40px;
            text-align: center;
            top: 0;
            height: 100%;
            width: 50%;
            transform: translateX(0);
            transition: transform 0.6s ease-in-out;
        }

        .overlay-left {
            transform: translateX(-20%);
        }

        .overlay-right {
            right: 0;
            transform: translateX(0);
        }

        .logo {
            width: 60px;
            height: 60px;
            margin-bottom: 20px;
        }

        .overlay button {
            background-color: transparent;
            border-color: #FFFFFF;
            border-radius: 20px;
            border: 1px solid #FFFFFF;
            color: #FFFFFF;
            font-size: 12px;
            font-weight: bold;
            padding: 12px 45px;
            margin-top:20px;
            letter-spacing: 1px;
            text-transform: uppercase;
            cursor: pointer;
        }

        #password-validation-box {
            text-align: left;
            margin: 5px 0 15px 5px;
            font-size: 12px;
        }

        .validation-item {
            color: #d9534f;
            transition: color 0.3s ease;
        }

        .validation-item.valid {
            color: #5cb85c;
        }

        .validation-item::before {
            content: '✖';
            margin-right: 5px;
        }

        .validation-item.valid::before {
            content: '✔';
        }

        /* Desktop Animation Classes */
        .container.right-panel-active .sign-in-container {
            transform: translateX(100%);
        }

        .container.right-panel-active .sign-up-container {
            transform: translateX(100%);
            opacity: 1;
            z-index: 5;
            animation: show 0.6s;
        }

        .container.right-panel-active .overlay-container {
            transform: translateX(-100%);
        }

        .container.right-panel-active .overlay {
            transform: translateX(50%);
        }

        .container.right-panel-active .overlay-left {
            transform: translateX(0);
        }

        .container.right-panel-active .overlay-right {
            transform: translateX(20%);
        }

        @keyframes show {
            0%, 49.99% {
                opacity: 0;
                z-index: 1;
            }
            50%, 100% {
                opacity: 1;
                z-index: 5;
            }
        }

        /* Mobile Styles */
        .mobile-container {
            display: none;
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 15px;
            line-height: 1.7;
            color: #ffffff;
            background: linear-gradient(135deg, #7c4dff 0%, #6c63ff 25%, #667eea 50%, #764ba2 75%, #6222c9 100%);
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
            overflow-y: auto;
        }

        /* Mobile Tech Background */
        .mobile-tech-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        .mobile-grid {
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            animation: gridMove 15s linear infinite;
            opacity: 0.3;
        }

        .mobile-tech-elements {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .tech-icon {
            position: absolute;
            color: rgba(255, 255, 255, 0.2);
            font-size: 20px;
            animation: techFloat 8s ease-in-out infinite;
        }

        .tech-icon:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; }
        .tech-icon:nth-child(2) { top: 25%; right: 15%; animation-delay: 2s; font-size: 16px; }
        .tech-icon:nth-child(3) { bottom: 30%; left: 10%; animation-delay: 4s; font-size: 18px; }
        .tech-icon:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1s; font-size: 14px; }
        .tech-icon:nth-child(5) { top: 50%; left: 5%; animation-delay: 3s; font-size: 22px; }
        .tech-icon:nth-child(6) { top: 70%; right: 10%; animation-delay: 5s; font-size: 16px; }

        @keyframes gridMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(20px, 20px); }
        }

        @keyframes techFloat {
            0%, 100% { transform: translateY(0px) scale(1); opacity: 0.2; }
            50% { transform: translateY(-15px) scale(1.1); opacity: 0.4; }
        }

        .mobile-section {
            position: relative;
            width: 100%;
            display: block;
            min-height: 100vh;
            z-index: 1;
            padding: 10px 0 120px 0 !important;
            overflow-y: auto;
        }

        .mobile-section > div {
            padding: 10px 20px !important;
            padding-top: 20px !important;
            min-height: auto !important;
            display: flex;
            flex-direction: column;
            justify-content: flex-start !important;
            align-items: center;
        }

        .mobile-container a {
            cursor: pointer;
            transition: all 200ms linear;
            color: rgba(255, 255, 255, 0.8);
        }

        .mobile-container a:hover {
            text-decoration: none;
            color: #7c4dff;
        }

        .mobile-container h4 {
            font-weight: 600;
            color: #ffffff;
        }

        .mobile-container h6 span {
            padding: 0 20px;
            text-transform: uppercase;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.9);
        }

        [type="checkbox"]:checked,
        [type="checkbox"]:not(:checked) {
            position: absolute;
            left: -9999px;
        }

        .checkbox:checked + label,
        .checkbox:not(:checked) + label {
            position: relative;
            display: block;
            text-align: center;
            width: 60px;
            height: 16px;
            border-radius: 8px;
            padding: 0;
            margin: 10px auto;
            margin-bottom: 20px;
            cursor: pointer;
            background: linear-gradient(135deg, #7c4dff 0%, #667eea 100%);
        }

        .checkbox:checked + label:before,
        .checkbox:not(:checked) + label:before {
            position: absolute;
            display: block;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            color: white;
            background: linear-gradient(135deg, #6c63ff 0%, #6222c9 100%);
            font-family: 'unicons';
            content: '\eb4f';
            z-index: 20;
            top: -10px;
            left: -10px;
            line-height: 36px;
            text-align: center;
            font-size: 24px;
            transition: all 0.5s ease;
            box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
        }

        .checkbox:checked + label:before {
            transform: translateX(44px) rotate(-270deg);
        }

        .card-3d-wrap {
            position: relative;
            width: 440px;
            max-width: 90%;
            height: 400px;
            -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
            perspective: 800px;
            margin: 10px auto 120px auto !important;
        }

        .card-3d-wrapper {
            width: 100%;
            height: 100%;
            position: absolute;
            display: flex;
            justify-content: center;
            -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
            transition: all 600ms ease-out;
        }

        .card-front,
        .card-back {
            width: 80%;
            height: 80%;
            background: transparent;
            backdrop-filter: blur(10px);
            position: absolute;
            border-radius: 12px;
            -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
            -webkit-backface-visibility: hidden;
            -moz-backface-visibility: hidden;
            -o-backface-visibility: hidden;
            backface-visibility: hidden;
        }

        .card-back {
            transform: rotateY(180deg);
        }

        .checkbox:checked ~ .card-3d-wrap .card-3d-wrapper {
            transform: rotateY(180deg);
        }

        .center-wrap {
            position: absolute;
            width: 100%;
            padding: 0 35px;
            top: 50%;
            left: 0;
            transform: translate3d(0, -50%, 35px) perspective(100px);
            z-index: 20;
            display: block;
        }

        .mobile-form-group {
            position: relative;
            display: block;
            margin: 0;
            padding: 0;
        }

        .form-style {
            padding: 13px 20px;
            padding-left: 55px;
            height: 48px;
            width: 100%;
            font-weight: 500;
            border-radius: 8px;
            font-size: 14px;
            line-height: 22px;
            letter-spacing: 0.5px;
            outline: none;
            color: #ffffff;
            background-color: rgba(30, 35, 42, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
            -webkit-transition: all 200ms linear;
            transition: all 200ms linear;
        }

        .form-style:focus,
        .form-style:active {
            border: 1px solid #7c4dff;
            outline: none;
            background-color: rgba(30, 35, 42, 1);
            box-shadow: 0 0 0 2px rgba(124, 77, 255, 0.2);
        }

        .form-style::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .input-icon {
            position: absolute;
            top: 0;
            left: 18px;
            height: 48px;
            font-size: 24px;
            line-height: 48px;
            text-align: left;
            color: rgba(255, 255, 255, 0.7);
            -webkit-transition: all 200ms linear;
            transition: all 200ms linear;
        }

        .mobile-btn {
            border-radius: 4px;
            height: 44px;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            -webkit-transition: all 200ms linear;
            transition: all 200ms linear;
            padding: 0 30px;
            letter-spacing: 1px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            border: none;
            background: linear-gradient(135deg, #7c4dff 0%, #667eea 100%);
            color: white;
            box-shadow: 0 8px 24px 0 rgba(124, 77, 255, 0.3);
            cursor: pointer;
            text-decoration: none;
        }

        .mobile-btn:hover {
            background: linear-gradient(135deg, #6c63ff 0%, #6222c9 100%);
            color: white;
            box-shadow: 0 8px 24px 0 rgba(108, 99, 255, 0.4);
            transform: translateY(-2px);
        }

        /* Media Queries */
        @media screen and (max-width: 768px) {
            .desktop-container {
                display: none;
            }
            
            .mobile-container {
                display: block;
            }
        }

        @media screen and (min-width: 769px) {
            .desktop-container {
                display: flex;
            }
            
            .mobile-container {
                display: none;
            }
        }

        /* ===================== */
        /* Aevaris Mobile Header */
        /* ===================== */
        .mobile-header {
            text-align: center;
            margin-bottom: 1rem !important;
            animation: fadeIn 1.2s ease-in-out;
        }

        .mobile-header img {
            width: 60px !important;
            height: 60px !important;
            margin-bottom: 8px !important;
        }

        .mobile-header h2 {
            color: #fff;
            margin: 0 0 5px 0 !important;
            font-weight: 600;
            font-size: 18px !important;
        }

        .mobile-header p {
            color: rgba(255,255,255,0.8);
            font-size: 13px !important;
            margin-top: 0 !important;
            margin-bottom: 0 !important;
        }

        /* Fade-in animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

/* --- Toasts (non-blocking notifications) --- */
#toast-root {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  min-width: 240px;
  max-width: 360px;
  background: rgba(28, 28, 33, 0.9);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  font: 500 14px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-8px);
  animation: toast-in .2s ease forwards, toast-out .2s ease forwards var(--hide-at, 3000ms);
}
.toast.success { background: rgba(38, 163, 108, 0.95); }
.toast.error   { background: rgba(196, 53, 53, 0.95); }
.toast.info    { background: rgba(98, 34, 201, 0.95); }

@keyframes toast-in { to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-8px); } }
