
.auth-main-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}


.auth-brand-side {
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 50%, #2c4a6b 100%);
    position: relative;
    overflow: hidden;
}

.auth-brand-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1), rgba(255,255,255,0.05));
    pointer-events: none;
}

.auth-brand-side.signup-brand {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #8b5fbf 100%);
}

.brand-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.brand-content-wrapper.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.brand-header {
    margin-bottom: 3rem;
}

.brand-logo {
    width: 100px;
    height: 80px;
    margin-bottom: 1.5rem;
    filter: brightness(2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.brand-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 400;
}


.brand-features {
    width: 100%;
    max-width: 500px;
}

.feature-showcase {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
}

.stats-preview {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}


.signup-benefits h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.benefit-list {
    text-align: left;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(5px);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.benefit-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.benefit-text p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.3;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.2);
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}


.auth-form-side {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-container {
    width: 100%;
    max-width: 480px;
    padding: 3rem 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.auth-form-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}


.mobile-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-mobile {
    width: 100px;
    height: 70px;
    margin-bottom: 0.5rem;
}

.app-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a2540;
    margin: 0;
}


.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.auth-title.welcome-back {
    color: #2ecc71;
}

.auth-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.auth-link {
    color: #0a2540;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: #3498db;
    text-decoration: underline;
}


.auth-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.input-group {
    position: relative;
    display: flex;
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    color: #6c757d;
    padding: 0.75rem 1rem;
    border-radius: 8px 0 0 8px;
    transition: all 0.3s ease;
}

.form-control {
    border: 2px solid #e9ecef;
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: #0a2540;
    box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
    outline: none;
}

.form-control:focus + .input-group-text,
.input-group:focus-within .input-group-text {
    border-color: #0a2540;
    background: #f1f5f9;
    color: #0a2540;
}

.password-toggle {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-left: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    background: #e9ecef;
    color: #0a2540;
}


.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 0.5rem;
}

.forgot-link {
    color: #0a2540;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}


.btn-auth {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #0a2540, #3498db);
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.btn-auth:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.3);
}

.btn-auth:disabled {
    cursor: not-allowed;
}

.btn-auth.loading .btn-content {
    opacity: 0;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-auth.loading .btn-loader {
    opacity: 1;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}


.social-login {
    margin-bottom: 2rem;
}

.divider {
    text-align: center;
    position: relative;
    margin-bottom: 1.5rem;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
}

.btn-social:hover {
    border-color: #0a2540;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-social.btn-google:hover {
    border-color: #db4437;
    color: #db4437;
}

.btn-social.btn-facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
}

.btn-social.btn-microsoft:hover {
    border-color: #0078d4;
    color: #0078d4;
}


.field-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.field-help {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}


.auth-footer {
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}


@media (max-width: 991px) {
    .auth-main-container {
        background: white;
    }

    .auth-form-container {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-buttons {
        flex-direction: column;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .auth-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .auth-form-container {
        padding: 1.5rem 1rem;
    }

    .brand-title {
        font-size: 2rem;
    }

    .feature-item,
    .benefit-item {
        padding: 0.75rem;
    }

    .form-control,
    .input-group-text {
        padding: 0.625rem 0.875rem;
    }
}


[data-bs-theme="dark"] .auth-form-side {
    background: #2c3e50;
    color: white;
}

[data-bs-theme="dark"] .form-control {
    background: #495057;
    border-color: #6c757d;
    color: white;
}

[data-bs-theme="dark"] .input-group-text {
    background: #495057;
    border-color: #6c757d;
    color: #adb5bd;
}

[data-bs-theme="dark"] .auth-title {
    color: white;
}

[data-bs-theme="dark"] .form-label {
    color: #e9ecef;
}

[data-bs-theme="dark"] .divider span {
    background: #2c3e50;
    color: #adb5bd;
}

[data-bs-theme="dark"] .btn-social {
    background: #495057;
    border-color: #6c757d;
    color: #e9ecef;
}