/* Sayfa genel arka planı ve dikey boşluklar */
.reseller-page {
    background: linear-gradient(135deg, #f7f2ee 0%, #f3ede8 52%, #eee7e1 100%);
    padding: 28px 0 48px;
}

/* Bu sayfada footer öncesi alanı form arka planı ile uyumlu tut */
main:has(.reseller-page) {
    background: linear-gradient(135deg, #f7f2ee 0%, #f3ede8 52%, #eee7e1 100%);
}

main:has(.reseller-page) + .site-footer {
    margin-top: 0;
}

/* İçeriği ortalayan ve genişliği sınırlayan ana kapsayıcı */
.reseller-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 12px;
}

/* Üst bilgilendirme kutusu (başlık + açıklama) */
.reseller-hero {
    background: #fff;
    color: #433229;
    border: 1px solid #eadfd6;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 14px 34px rgba(58, 39, 28, 0.08);
    margin-bottom: 18px;
}

/* Üst kutudaki ana başlık stili */
.reseller-hero h1 {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 700;
    color: #433229;
}

/* Üst kutudaki açıklama metni stili */
.reseller-hero p {
    margin: 0;
    color: #6b5a50;
    font-size: 1rem;
}

/* Anonim kullanıcıda sol/sağ kolon düzeni */
.reseller-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.45fr);
    gap: 18px;
    align-items: start;
}

/* Ortak kart görünümü (login ve başvuru kutuları) */
.reseller-card {
    background: #fff;
    border: 1px solid #eadfd6;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(58, 39, 28, 0.08);
}

/* Kart iç boşlukları */
.reseller-card-body {
    padding: 22px;
}

/* Kart içindeki bölüm başlıkları */
.reseller-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #433229;
    margin: 0 0 10px;
}

/* Kart içindeki açıklama paragrafları */
.reseller-card p {
    color: #6b5a50;
    margin-bottom: 16px;
}

/* Formdaki her ana bölümün alt ayırıcı çizgisi ve boşluğu */
.reseller-form-section {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0e7e1;
}

/* Son form bölümünde alt çizgiyi kaldır */
.reseller-form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

/* Form bölüm alt başlıkları (h3) */
.reseller-form-section h3 {
    margin: 0 0 12px;
    color: #4b372d;
    font-size: 1.05rem;
    font-weight: 700;
}

/* Label tipografisi */
.reseller-form .form-label {
    font-weight: 600;
    color: #4a382d;
}

/* Input ve select alanlarının genel görünümü */
.reseller-form .form-control,
.reseller-form .form-select {
    border-radius: 10px;
    border: 1px solid #dbcfc6;
    padding: 0.62rem 0.8rem;
    box-shadow: 0 8px 16px rgba(75, 55, 45, 0.08);
}

.reseller-form .form-control:hover,
.reseller-form .form-select:hover,
.reseller-form textarea:hover {
    background: #f3eeea;
}

/* Sayfa icerigi icin reveal animasyonu */
.reseller-reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: authFadeUp 0.7s ease forwards;
    animation-delay: var(--delay, 0s);
}

/* Form input animasyonlari (register sayfasi ile uyumlu) */
.reseller-form .form-control,
.reseller-form .form-select,
.reseller-form textarea,
.reseller-form input[type="file"] {
    opacity: 0;
    transform: translateY(14px);
    animation: authFadeUp 0.7s ease forwards;
    animation-delay: var(--delay, 0s);
}

/* Input/select focus halkası ve renk geçişi */
.reseller-form .form-control:focus,
.reseller-form .form-select:focus {
    border-color: #8a6b58;
    box-shadow: 0 0 0 0.2rem rgba(110, 87, 75, 0.15), 0 8px 16px rgba(75, 55, 45, 0.12);
}

/* Küçük yardımcı metinler */
.reseller-note {
    font-size: 0.9rem;
    color: #7a685d;
}

/* Sol kutudaki avantajlar alanı */
.reseller-benefits {
    margin-top: 18px;
    background: #fbf8f5;
    border: 1px solid #efe5dd;
    border-radius: 14px;
    padding: 16px;
}

/* Avantajlar kutusu başlığı */
.reseller-benefits h3 {
    margin: 0 0 12px;
    font-size: 1.02rem;
    color: #49362b;
    font-weight: 700;
}

/* Avantajlar listesi sıfırlama */
.reseller-benefits ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Avantaj maddeleri metin/boşluk düzeni */
.reseller-benefits li {
    position: relative;
    padding-left: 1.45rem;
    margin-bottom: 8px;
    color: #5f4f45;
    font-size: 0.95rem;
}

/* Son avantaj maddesinde alt boşluğu kaldır */
.reseller-benefits li:last-child {
    margin-bottom: 0;
}

/* Avantaj maddelerindeki tik işareti */
.reseller-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6f8c3b;
    font-weight: 700;
}

/* Ana aksiyon butonu (başvuru gönder) */
.reseller-action {
    background: #6e574b;
    border-color: #6e574b;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.68rem 1rem;
}

/* Ana aksiyon butonu hover/focus */
.reseller-action:hover,
.reseller-action:focus {
    background: #5b463a;
    border-color: #5b463a;
}

/* Login butonu görünümü */
.reseller-login {
    background: #8a6b58;
    border-color: #8a6b58;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.62rem 1rem;
}

/* Login butonu hover/focus */
.reseller-login:hover,
.reseller-login:focus {
    background: #755646;
    border-color: #755646;
}

@keyframes authFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet/mobil düzen: kolonları alta al ve iç boşlukları sıklaştır */
@media (max-width: 991.98px) {
    .reseller-grid {
        grid-template-columns: 1fr;
    }

    .reseller-hero {
        padding: 24px 20px;
    }

    .reseller-card-body {
        padding: 18px;
    }
}
