/* ===================================
   Modern Authentication Screen
   =================================== */

.auth-screen {
    position: fixed;
    inset: 0;
    display: flex;
    min-height: 100vh;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    z-index: 1000;
    background: #FF6B35;
    /* Fallback background */
}

/* Force Vanta Canvas to cover full screen */
.vanta-canvas {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
}

/* Left Panel - Branding */
.auth-left {
    flex: 1;
    /* Transparent background to show full-page fog */
    /* Fully transparent to show pure Vanta fog */
    background: transparent;
    /* Fallback/Tint */
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* .auth-left::before removed */

/* .auth-left::after removed */

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.auth-branding {
    position: relative;
    z-index: 100;
    max-width: 500px;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-logo {
    margin-bottom: 2rem;
}

.brand-logo img {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.brand-title {
    margin-bottom: 1.5rem;
}

.brand-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.2);
}



.brand-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 1;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.brand-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 1;
    margin-bottom: 3rem;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.feature-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
    /* Dark text for readability */
    text-shadow: none;
}

.feature-text p {
    font-size: 0.95rem;
    color: #4a4a4a;
    /* Dark grey text */
    margin: 0;
    text-shadow: none;
}

/* Right Panel - Login Form */
.auth-right {
    flex: 1;
    min-height: 100vh;
    width: 100%;
    /* Transparent background to show full-page fog */
    /* Fully transparent to show pure Vanta fog */
    background: transparent;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* .auth-right::before removed */

/* Decorative Background Elements - Removed for Vanta.js fog effect */
/* .auth-right::after and floatIcons animation removed */

.auth-card {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 107, 53, 0.1);
    animation: slideInRight 0.6s ease-out;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Decorative gradient circles - Removed for Vanta.js fog effect */
/* .auth-card::before and ::after removed */

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-card-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.brand-logo-card {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.brand-logo-card img {
    width: 200px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

.auth-card-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.auth-card-header p {
    font-size: 1.05rem;
    color: #666;
    font-weight: 400;
}

.auth-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Custom Google Sign In Button */
.custom-google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: white;
    border: 2px solid #dadce0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.custom-google-btn:hover {
    background: #f8f9fa;
    border-color: #c6c6c6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.custom-google-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.google-icon {
    flex-shrink: 0;
}

/* Custom Demo Button */
.custom-demo-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.custom-demo-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.custom-demo-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.demo-icon {
    flex-shrink: 0;
}

.google-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

#google-signin-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 0.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}

.auth-divider span {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 0 1.5rem;
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #444;
}

.benefit-item svg {
    flex-shrink: 0;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.auth-footer p {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

/* Setup Screen - Modal Style */
.setup-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(247, 147, 30, 0.95) 100%);
    backdrop-filter: blur(8px);
    z-index: 2000;
    padding: 1rem;
    font-family: 'Poppins', sans-serif;
    animation: fadeIn 0.3s ease-out;
}

.setup-container {
    background: white;
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.setup-screen .setup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.setup-screen .setup-header h1 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.setup-screen .setup-header p {
    color: #666;
    font-size: 0.95rem;
}

.setup-screen .form-group {
    margin-bottom: 1.5rem;
}

.setup-screen .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.setup-screen .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.setup-screen .form-group input:focus {
    border-color: #FF6B35;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.setup-screen .btn-primary {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.setup-screen .btn-primary:hover {
    background: #e65a26;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.2);
}

.setup-screen .btn-primary:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .auth-screen {
        flex-direction: column;
    }

    .auth-left {
        padding: 3rem 2rem;
        min-height: 40vh;
    }

    .brand-main {
        font-size: 2.5rem;
    }


    .auth-footer p {
        color: #ffffff !important;
        /* Force white text */
        font-size: 0.9rem;
        font-weight: 700;
        opacity: 1 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4),
            0 4px 8px rgba(0, 0, 0, 0.3),
            0 8px 16px rgba(0, 0, 0, 0.2);
    }




    @media (max-width: 968px) {
        .brand-main {
            font-size: 2.5rem;
        }

        .brand-subtitle {
            font-size: 1.2rem;
        }

        .features-list {
            display: none;
        }
    }

    .auth-right {
        padding: 2rem;
    }

    .auth-card {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .auth-left {
        padding: 2rem 1.5rem;
    }

    .brand-main {
        font-size: 2rem;
    }

    .brand-subtitle {
        font-size: 1rem;
    }

    .brand-tagline {
        font-size: 1rem;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .auth-card-header h2 {
        font-size: 1.5rem;
    }
}