/* Auth sayfaları - Kayıt, Giriş */

.auth-page {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

/* Sol panel - Hero / Bilgilendirme */
.auth-hero {
    flex: 1 1 45%;
    min-width: 320px;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 3rem;
    color: #fff;
    overflow: hidden;
}

.auth-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1e5c2b;
}

.auth-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 122, 62, 0.92) 0%, rgba(30, 92, 43, 0.95) 100%);
}

.auth-hero-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
}

.auth-hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.auth-hero-content .lead {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.auth-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-benefits li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-benefits li i {
    color: #8bc34a;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Sağ panel - Form */
.auth-form-wrapper {
    flex: 1 1 55%;
    min-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    background: #f8f9fa;
}

.auth-form-card {
    width: 100%;
    max-width: 700px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.04);
    padding: 2.5rem;
}

.auth-form-header {
    margin-bottom: 1.75rem;
}

.auth-form-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.auth-form-header h2 i {
    color: #589442;
    margin-right: 0.5rem;
}

.auth-form-header p {
    margin: 0;
    font-size: 0.9rem;
}

.auth-form-header a {
    color: #589442;
    font-weight: 500;
}

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

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

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

.auth-form label i {
    width: 1.2em;
    color: #6c757d;
    margin-right: 0.25rem;
}

.auth-form .form-control {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form .form-control:focus {
    border-color: #589442;
    box-shadow: 0 0 0 3px rgba(88, 148, 66, 0.15);
    outline: none;
}

/* Şifre göster/gizle */
.password-input-wrap {
    position: relative;
}

.password-input-wrap .form-control {
    padding-right: 2.75rem;
}

.btn-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    padding: 0.25rem;
    cursor: pointer;
    font-size: 1rem;
}

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

/* Checkbox - KVKK */
.auth-checkbox-label {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
}

.auth-checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #589442;
    cursor: pointer;
}

.auth-checkbox-label a {
    color: #589442;
    white-space: nowrap;
}

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

/* Gönder butonu */
.auth-submit-btn {
    margin-top: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #589442 0%, #4a7d37 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(88, 148, 66, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(88, 148, 66, 0.45);
    color: #fff !important;
}

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

/* Alert */
.auth-form-card .alert {
    border-radius: 10px;
}

/* Responsive - mobilde hero üstte, form altta */
@media (max-width: 991px) {
    .auth-page {
        flex-direction: column;
    }

    .auth-hero {
        min-height: 280px;
        padding: 2rem;
    }

    .auth-hero-content h1 {
        font-size: 1.5rem;
    }

    .auth-form-wrapper {
        padding: 1.5rem;
    }

    .auth-form-card {
        padding: 1.75rem;
    }
}

@media (max-width: 575px) {
    .auth-form .form-row {
        flex-direction: column;
    }

    .auth-form .form-row .form-group {
        max-width: 100%;
    }
}
