/* Auth V2 - Modern Split Screen Login */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.auth-v2-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.auth-v2-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Form Section */
.auth-v2-form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    background-color: #ffffff;
    max-width: 50%;
}

.auth-v2-logo {
    margin-bottom: 40px;
}

.auth-v2-logo img {
    height: 40px;
    width: auto;
}

.auth-v2-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-v2-logo-text::before {
    content: '⚡';
    font-size: 28px;
}

.auth-v2-form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.auth-v2-welcome {
    margin-bottom: 32px;
}

.auth-v2-welcome h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.auth-v2-welcome p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
}

/* Form Styles */
.auth-v2-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-v2-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-v2-form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.auth-v2-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1e293b;
    transition: all 0.2s ease;
}

.auth-v2-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.auth-v2-input::placeholder {
    color: #94a3b8;
}

.auth-v2-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-v2-password-wrapper .auth-v2-input {
    padding-right: 48px;
}

.auth-v2-password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.auth-v2-password-toggle:hover {
    color: #64748b;
}

.auth-v2-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.auth-v2-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #64748b;
}

.auth-v2-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.auth-v2-forgot {
    font-size: 14px;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-v2-forgot:hover {
    color: #4338ca;
    text-decoration: underline;
}

.auth-v2-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.auth-v2-btn:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.auth-v2-btn:active {
    transform: translateY(0);
}

.auth-v2-signup-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #64748b;
}

.auth-v2-signup-link a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
}

.auth-v2-signup-link a:hover {
    text-decoration: underline;
}

/* Footer */
.auth-v2-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    margin-top: auto;
    font-size: 13px;
    color: #94a3b8;
}

.auth-v2-footer a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-v2-footer a:hover {
    color: #4f46e5;
}

/* Right Banner Section */
.auth-v2-banner-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-v2-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
}

.auth-v2-banner-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 550px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    padding: 50px 60px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-v2-banner-content h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #1e293b;
}

.auth-v2-banner-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 400;
}


/* Register Form Specific Styles */
.auth-v2-form-section-register {
    overflow-y: auto;
}

.auth-v2-form-wrapper-wide {
    max-width: 600px;
}

.auth-v2-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.auth-v2-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-v2-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.auth-v2-invalid-feedback {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
}

.auth-v2-input.is-invalid {
    border-color: #ef4444;
}

.auth-v2-input.is-valid {
    border-color: #22c55e;
}

.required {
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .auth-v2-form-section {
        padding: 40px;
    }
    
    .auth-v2-banner-section {
        padding: 40px;
    }
    
    .auth-v2-banner-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .auth-v2-container {
        flex-direction: column;
    }
    
    .auth-v2-form-section {
        max-width: 100%;
        order: 1;
    }
    
    .auth-v2-banner-section {
        max-width: 100%;
        order: 2;
        min-height: 300px;
        padding: 40px 20px;
    }
    
    .auth-v2-banner-image {
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .auth-v2-form-section {
        padding: 24px;
    }
    
    .auth-v2-welcome h1 {
        font-size: 26px;
    }
    
    .auth-v2-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .auth-v2-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .auth-v2-banner-content h2 {
        font-size: 24px;
    }
    
    .auth-v2-form-row {
        grid-template-columns: 1fr;
    }
}
