/* Custom Clean & Minimalist Auth Login Styles */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Preloader Fix */
#preloader {
    z-index: 9999;
}

/* Layout Container */
.auth-section {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.auth-row {
    min-height: 100vh;
    margin: 0;
}

/* Left Hero Banner */
.auth-hero-col {
    padding: 0;
    position: relative;
    height: 100vh;
}

.auth-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/model-5.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.auth-hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
    color: #ffffff;
}

.auth-hero-brand img {
    max-height: 46px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.auth-hero-brand img:hover {
    opacity: 0.9;
}

.auth-hero-footer {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

/* Right Form Section */
.auth-form-col {
    padding: 0;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 1rem 1.5rem;
    margin: 0 auto;
}

.auth-brand-logo {
    max-height: 48px;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.auth-brand-logo:hover {
    transform: scale(1.02);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: #64748b;
}

/* Form Controls & Input Groups */
.form-label-custom {
    font-size: 0.825rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.375rem;
}

.custom-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-input-group .form-control {
    height: 44px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    padding-left: 2.6rem;
    padding-right: 1rem;
    transition: all 0.2s ease;
    color: #0f172a;
}

.custom-input-group .form-control.has-toggle {
    padding-right: 2.75rem;
}

.custom-input-group .form-control:focus {
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.12);
}

.custom-input-group .input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94a3b8;
    z-index: 4;
    pointer-events: none;
    transition: color 0.2s ease;
}

.custom-input-group .form-control:focus ~ .input-icon {
    color: #3b82f6;
}

.password-toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 5;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.2s ease;
}

.password-toggle-btn:hover {
    color: #475569;
}

/* Captcha Inline Layout */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-img-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
    flex-shrink: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    transition: border-color 0.2s ease;
}

.captcha-img-box:hover {
    border-color: #cbd5e1;
}

.captcha-img-box img {
    height: 36px;
    object-fit: contain;
}

/* Buttons */
.btn-primary-custom {
    height: 44px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.925rem;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    color: #ffffff;
}

.btn-google-custom {
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-google-custom:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.25rem 0;
    color: #94a3b8;
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #f1f5f9;
}

.auth-divider span {
    padding: 0 0.75rem;
}

/* Links */
.auth-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.825rem;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Signup Specific Adjustments */
.auth-form-wrapper.signup-wrapper {
    max-width: 440px;
}

.form-check-input:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

.form-check-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.12);
}

/* Responsiveness Adjustments */
@media (max-width: 991.98px) {
    .auth-form-col {
        min-height: 100vh;
        padding: 2rem 1rem;
    }
    .auth-form-wrapper,
    .auth-form-wrapper.signup-wrapper {
        max-width: 100%;
        width: 100%;
        padding: 1rem 0.5rem;
    }
}
