/* Auth Page Styles - Full Page Layout */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700&display=swap');

body.auth-page-body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: "Nunito Sans", Sans-serif;
}

body.auth-page-body .auth-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.auth-page {
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100vh;
    background: white;
    overflow: hidden;
    position: relative;
}

/* Left Side - Image Only */
.auth-left {
    background: #f8f9fa;
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

/* No overlay - image stands alone */

.auth-brand {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    text-align: center;
}


.auth-welcome {
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
    text-align: center;
}

.auth-welcome h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
    animation: fadeInUp 0.6s ease-out 0.3s both;
    font-family: "Nunito Sans", Sans-serif;
}

.auth-welcome .brand-tagline {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
    margin: 0;
    animation: fadeInUp 0.6s ease-out 0.4s both;
    font-family: "Nunito Sans", Sans-serif;
}

.brand-logo {
    text-align: center;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out;
}

.brand-logo img {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}



.auth-features {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out both;
}

.feature-item:nth-child(1) { animation-delay: 0.3s; }
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.5s; }

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e7ff;
    border-radius: 12px;
    color: #136FD9;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1a202c;
    font-family: "Nunito Sans", Sans-serif;
}

.feature-item p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Right Side - Auth Form */
.auth-right {
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #ffffff;
    font-family: "Nunito Sans", Sans-serif;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    overflow: visible;
    box-sizing: border-box;
}

/* Prevent overflow on OTP form */
#verifyOTPForm {
    overflow: visible;
}

/* Removed auth-header since Welcome Back is now on left side */

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    transform: translateX(100px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    z-index: 10000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.3s ease-out;
    max-width: 400px;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.toast-notification::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.toast-success {
    background: #22c55e;
    color: white;
}

.toast-success::before {
    content: '✓';
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.toast-error {
    background: #ef4444;
    color: white;
}

.toast-error::before {
    content: '✕';
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Forms */
.auth-form {
    animation: fadeInUp 0.6s ease-out 0.2s both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #fff;
    color: #1a202c;
}

.form-group input:focus {
    outline: none;
    border-color: #136FD9;
    box-shadow: 0 0 0 3px rgba(19, 111, 217, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
}

/* OTP Section */
.otp-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.otp-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    font-family: "Nunito Sans", Sans-serif;
    margin-bottom: 0.5rem;
}

.otp-header p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.email-display {
    font-weight: 600;
    color: #136FD9;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.otp-input {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5rem;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s;
    background: #fff;
    color: #1a202c;
}

.otp-input:focus {
    outline: none;
    border-color: #136FD9;
    box-shadow: 0 0 0 3px rgba(19, 111, 217, 0.1);
}

.otp-input::placeholder {
    letter-spacing: 0.5rem;
    color: #d1d5db;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #136FD9, #4A90E2);
    color: white;
    box-shadow: 0 4px 12px rgba(19, 111, 217, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 111, 217, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-block {
    width: 100%;
}

.btn-link {
    background: transparent;
    color: #136FD9;
    padding: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.btn-link:hover {
    background: #f3f4f6;
    color: #0d5aa8;
}

.btn-text {
    transition: opacity 0.2s;
}

.btn-loader {
    position: absolute;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Auth Footer */
.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.auth-footer p {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.6;
}

.auth-footer a {
    color: #136FD9;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: none;
    }
    
    .auth-right {
        padding: 3rem 2rem;
        height: 100vh;
    }
    
    .auth-page {
        background: #ffffff;
    }
}

@media (max-width: 640px) {
    .auth-page {
        padding: 1rem;
    }
    
    .auth-right {
        padding: 2rem 1.5rem;
    }
    
    .auth-header h2 {
        font-size: 1.75rem;
        font-family: "Nunito Sans", Sans-serif;
    }
    
    .auth-brand h1 {
        font-size: 2rem;
    }
}

