/**
 * GörevKolay - Auth Pages Styles
 * Login & Register sayfaları için özel stiller
 */

.auth-page {
    min-height: 100vh;
    background: var(--light);
}

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

/* ===== Branding Side ===== */
.auth-branding {
    flex: 0 0 45%;
    background: var(--gradient-primary);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.register-branding {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.branding-content {
    position: relative;
    z-index: 2;
    color: white;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 40px;
}

.brand-logo:hover {
    color: white;
}

.brand-logo svg {
    width: 36px;
    height: 36px;
    color: var(--warning);
}

.auth-branding h1 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.auth-branding p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 400px;
}

.branding-features {
    margin-top: 40px;
}

.branding-features .feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.branding-features .feature svg {
    width: 22px;
    height: 22px;
    color: var(--warning);
}

.stats-mini {
    display: flex;
    gap: 40px;
}

.stats-mini .stat strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

.stats-mini .stat span {
    font-size: 14px;
    opacity: 0.8;
}

/* Decorative Shapes */
.branding-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -50px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    right: 20%;
}

/* ===== Form Side ===== */
.auth-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-header {
    margin-bottom: 32px;
}

.auth-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
}

/* Form Styles */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.auth-form .input-group {
    position: relative;
}

.auth-form .input-group-text {
    background: var(--light);
    border: 2px solid var(--border-color);
    border-right: none;
    color: var(--text-secondary);
    padding: 12px 16px;
}

.auth-form .input-group-text svg {
    width: 18px;
    height: 18px;
}

.auth-form .form-control {
    border: 2px solid var(--border-color);
    border-left: none;
    padding: 12px 16px;
    font-size: 15px;
    transition: var(--transition);
}

.auth-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.auth-form .input-group:focus-within .input-group-text {
    border-color: var(--primary);
    color: var(--primary);
}

.auth-form .input-group .input-group-text:last-child {
    border-right: 2px solid var(--border-color);
    border-left: none;
    cursor: pointer;
}

.auth-form .input-group:focus-within .input-group-text:last-child {
    border-color: var(--primary);
}

.toggle-password:hover {
    color: var(--primary);
}

/* Checkbox */
.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.forgot-link {
    font-size: 14px;
    font-weight: 500;
}

/* Submit Button */
.auth-form .btn-primary {
    padding: 14px 24px;
    font-size: 16px;
    margin-top: 10px;
}

.auth-form .btn-primary svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.auth-footer a {
    font-weight: 600;
}

.back-home {
    text-align: center;
    margin-top: 20px;
}

.back-home a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

.back-home a:hover {
    color: var(--primary);
}

.back-home svg {
    width: 16px;
    height: 16px;
}

/* Alert */
.auth-form-wrapper .alert {
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-bottom: 24px;
}

.auth-form-wrapper .alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-form-wrapper .alert ul {
    margin-bottom: 0;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .auth-branding {
        display: none;
    }
    
    .auth-form-container {
        padding: 24px;
    }
    
    .auth-form-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .auth-header h2 {
        font-size: 28px;
    }
    
    .auth-form .row {
        --bs-gutter-x: 0;
    }
    
    .auth-form .row > div {
        margin-bottom: 0;
    }
}
