/* =========================================
   1. GENEL AYARLAR VE TİPOGRAFİ
   ========================================= */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #faf9f8; /* Sıcak ve zarif kırık beyaz (Botanik tema) */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #3f3f46;
}

/* =========================================
   2. TOP BAR (İNCE ÜST MENÜ)
   ========================================= */
.top-bar {
    background-color: #064e3b; /* Derin Botanik Yeşili */
    color: #a7f3d0;
    font-size: 13px;
    padding: 8px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar a {
    color: #d1fae5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: #fbcfe8; /* Hover durumunda zarif pembe */
}

.top-bar .divider {
    color: #047857;
    user-select: none;
}

/* =========================================
   3. ANA HEADER (ORTALI MENÜ)
   ========================================= */
.main-header {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.05); /* Yeşil tonlu hafif gölge */
    padding: 0 60px;
    height: 80px; 
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f3f4f6;
    box-sizing: border-box;
}

/* Logo */
.main-header .logo a {
    font-size: 26px;
    font-weight: 800;
    color: #064e3b;
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Ana Menü */
.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    text-decoration: none;
    color: #52525b;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #db2777; /* Gül/Çiçek pembesi vurgu */
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: #db2777;
}

/* Sağ Bölüm (Sepet) */
.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-sepet {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #fce7f3;
    color: #9d174d;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-sepet:hover {
    background-color: #fbcfe8;
}

.btn-sepet .badge {
    background-color: #db2777;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
}

/* =========================================
   4. SAYFA İÇERİK & BAŞLIK ALANI (BREADCRUMB)
   ========================================= */
.main-content {
    flex: 1 !important;
    display: block !important; /* Presleyen flex yapısı tamamen kırıldı */
    width: 100% !important;
    padding: 40px 0 !important;
    box-sizing: border-box !important;
}

/* Sayfalardaki panellerin ve formların tam genişlikte serbestçe yayılmasını sağlayan alan */
.main-content-wrapper {
    width: 100% !important;
    max-width: 1400px !important; /* Büyük ekranlarda panelin genişlemesi için alan genişletildi */
    margin: 0 auto !important;
    display: block !important; /* Elemanları dikeyde üst üste presleyen flex iptal edildi */
    box-sizing: border-box !important;
    padding: 0 24px !important;
}

.page-title-section {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.page-title-section h1 {
    color: #064e3b;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.page-title-section .breadcrumb {
    color: #71717a;
    font-size: 14px;
    font-weight: 500;
}

.page-title-section .breadcrumb a {
    color: #db2777;
    text-decoration: none;
    transition: 0.3s;
}

.page-title-section .breadcrumb a:hover {
    color: #be123c;
    text-decoration: underline;
}

.page-title-section .breadcrumb span {
    color: #a1a1aa;
    margin: 0 8px;
}

/* =========================================
   5. STANDART FORM & BUTON TASARIMLARI
   ========================================= */
.form-group { margin-bottom: 18px; }

.form-group label { 
    display: block; 
    margin-bottom: 6px; 
    color: #52525b; 
    font-weight: 500; 
    font-size: 14px;
}

.form-group input { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #e4e4e7; 
    border-radius: 8px; 
    box-sizing: border-box; 
    font-size: 14px; 
    color: #3f3f46;
    transition: all 0.3s ease; 
}

.form-group input:focus { 
    border-color: #db2777; 
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
    outline: none; 
}

.btn { 
    width: 100%; 
    padding: 14px; 
    background: linear-gradient(135deg, #db2777 0%, #be123c 100%);
    color: white; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    font-size: 16px; 
    font-weight: 600; 
    box-shadow: 0 4px 12px rgba(219, 39, 119, 0.2);
    transition: all 0.3s ease; 
    margin-top: 10px;
}

.btn:hover { 
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(219, 39, 119, 0.3);
}

.alert { 
    padding: 12px 15px; 
    border-radius: 8px; 
    margin-bottom: 20px; 
    font-size: 14px; 
    text-align: center; 
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
}
.alert-error { background-color: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.alert-success { background-color: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.text-center { 
    text-align: center; 
    margin-top: 20px; 
    font-size: 14px; 
    display: block; 
    color: #71717a; 
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-center:hover { 
    color: #db2777; 
    text-decoration: underline; 
}

/* =========================================
   6. GİRİŞ & KAYIT KUTULARI (AUTH CONTAINERS)
   ========================================= */
.auth-container {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.04);
    width: 100%;
    max-width: 400px;
    border: 1px solid #f4f4f5;
    box-sizing: border-box;
}

.auth-container h2 { 
    text-align: center; 
    color: #064e3b;
    margin-bottom: 24px; 
    margin-top: 0; 
    font-weight: 700;
}

/* Premium İki Sütunlu Kutu */
.premium-login-wrapper {
    display: flex;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.08);
    overflow: hidden;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    min-height: 550px;
    box-sizing: border-box;
}

.login-image-side {
    flex: 1;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.9), rgba(219, 39, 119, 0.8)), 
                url('https://images.unsplash.com/photo-1490750967868-88cb4aca204d?q=80&w=800&auto=format&fit=crop') center/cover;
    padding: 50px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

.login-image-side h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    margin-top: 0;
    line-height: 1.2;
    letter-spacing: -1px;
}

.login-image-side p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.login-form-side {
    flex: 1;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.login-form-side h2 {
    color: #064e3b;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 800;
    margin-top: 0;
}

.login-subtitle {
    color: #71717a;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #52525b;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

.form-options a {
    color: #db2777;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.form-options a:hover {
    color: #be123c;
    text-decoration: underline;
}

/* =========================================
   7. ZENGİN FOOTER (ALT KISIM)
   ========================================= */
.site-footer {
    background-color: #064e3b;
    color: #d1fae5; 
    margin-top: auto; 
    border-top: 1px solid #047857;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-col h3 {
    color: #fff;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: #fbcfe8;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.6;
    color: #a7f3d0;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 0;
}

.footer-col a {
    display: block;
    color: #a7f3d0;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #fbcfe8;
    padding-left: 5px;
}

.footer-bottom {
    background-color: #022c22;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #6ee7b7;
    width: 100%;
    box-sizing: border-box;
}

/* =========================================
   8. MOBİL UYUMLULUK (RESPONSIVE)
   ========================================= */
@media (max-width: 992px) {
    .main-header {
        padding: 0 20px;
        flex-direction: column;
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
        gap: 15px;
    }
    
    .premium-login-wrapper {
        flex-direction: column;
        max-width: 100%;
    }
    
    .login-image-side {
        padding: 40px 30px;
        min-height: 200px;
    }
    
    .login-form-side {
        padding: 40px 30px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        text-align: center;
    }
    
    .footer-col a:hover {
        padding-left: 0;
    }
}