@charset "UTF-8";
:root {
            --primary-color: #FF7A3D;
            --secondary-color: #FF9D5C;
            --dark-color: #1A1A1A;
            --light-bg: #FAF7F3;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            line-height: 1.6;
            background-color: var(--light-bg);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .auth-container {
            width: 100%;
            max-width: 500px;
            padding: 2rem;
        }

        .auth-card {
            background-color: white;
            border-radius: 1.5rem;
            padding: 2.5rem 2rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .auth-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .auth-header h1 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 0.3rem;
        }

        .auth-header p {
            color: #999;
            font-size: 0.9rem;
        }

        .form-group {
            margin-bottom: 0.8rem;
        }

        .form-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.4rem;
            color: var(--dark-color);
            font-size: 0.85rem;
        }

        .input-group {
            position: relative;
        }

        .input-group i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            font-size: 1.1rem;
        }

        .input-group input {
            width: 100%;
            border: 1px solid #e0e0e0;
            border-radius: 0.6rem !important;
            padding: 0.65rem 1rem 0.65rem 3rem;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            background-color: #fafafa;
        }
        
        .input-group input[disabled] {
            background-color: #ebebeb;
        }

        .input-group input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(255, 122, 61, 0.1);
        }

        .input-group input::placeholder {
            color: #ccc;
        }

        .password-toggle {
            position: absolute;
            right: 3rem;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            cursor: pointer;
            font-size: 1.1rem;
            background: none;
            border: none;
            padding: 0;
        }

        .password-toggle:hover {
            color: var(--primary-color);
        }

        .submit-btn {
            width: 100%;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 0.5rem;
            padding: 0.85rem;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 0.8rem;
        }

        .submit-btn:hover {
            background-color: #E56A2D;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 122, 61, 0.3);
        }

        .divider {
            display: flex;
            align-items: center;
            margin: 1.5rem 0;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background-color: #ddd;
        }

        .divider span {
            padding: 0 1rem;
            color: #999;
            font-size: 0.9rem;
        }

        .form-footer {
            text-align: center;
        }

        .form-footer p {
            color: #999;
            font-size: 0.9rem;
            margin-bottom: 0.6rem;
        }

        .form-footer a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .form-footer a:hover {
            color: #E56A2D;
        }

        .terms-text {
            text-align: center;
            color: #999;
            font-size: 0.8rem;
            margin-top: 1.5rem;
            line-height: 1.5;
        }

        .terms-text a {
            color: var(--primary-color);
            text-decoration: none;
        }

        .terms-text a:hover {
            text-decoration: underline;
        }

        /* Desktop Layout */
        @media (min-width: 1024px) {
            body {
                justify-content: flex-end;
                padding-right: 2rem;
                background-color: transparent;
                margin-right: 10%;
            }

            .auth-container {
                max-width: 500px;
                padding: 0;
            }

            .auth-card {
                background-color: white;
                border-radius: 1.5rem;
                padding: 3rem 2rem;
                box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
            }
        }

        /* Mobile Layout */
        @media (max-width: 1023px) {
            body {
                background-color: var(--light-bg);
            }

            .auth-container {
                max-width: 100%;
                padding: 1rem;
            }

            .auth-card {
                padding: 2rem 1.5rem;
            }

            .auth-header h1 {
                font-size: 1.8rem;
            }
        }
        
        
        * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #999;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.close-btn:hover,
.close-btn:focus {
    color: #333;
}

.modal-content h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.modal-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.verification-input {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    text-align: center;
    letter-spacing: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin: 20px 0;
    outline: none;
    font-family: monospace;
    font-weight: 600;
}

.verification-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modal-action-btn {
    background-color: #667eea;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-action-btn:hover {
    background-color: #5568d3;
    transform: translateY(-2px);
}

.modal-action-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.password-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    color: #666;
}

.password-toggle:hover {
    color: #333;
}
/* When resend button is NOT disabled (enabled) */
#resendBtn {
    background-color: red !important;
    cursor: pointer; /* Optional: adds pointer cursor for better UX */
}

/* Optional: Style for disabled state */
#resendBtn:disabled {
    background-color: #cccccc !important; /* Gray color for disabled state */
    cursor: not-allowed; /* Shows disabled cursor */
    opacity: 0.7; /* Slightly transparent */
}

/* Responsive */
@media (max-width: 600px) {
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .modal-content h2 {
        font-size: 24px;
    }
    
    .verification-input {
        font-size: 18px;
        letter-spacing: 4px;
    }
}