/* ==================================================
   BAŞAK 1 SİTESİ - ZİRAAT KURUMSAL GLASSMORPHISM (v4.1)
   ================================================== */

:root {
    --bg-color: #1a0505;
    --card-bg: rgba(255, 255, 255, 0.12);
    --card-solid: #ffffff;
    --text-main: #ffffff;
    --text-muted: #e2e8f0;
    --border-light: rgba(255, 255, 255, 0.22);
    
    /* Ziraat Bankası Kurumsal Kırmızı Tonları */
    --primary: #d71920;
    --primary-hover: #b51319;
    --primary-dark: #8c0f14;
    --danger: #dc3545;
    --danger-hover: #bb2d3b;
    
    /* Bölüm Vurgu Renkleri */
    --color-malik: #d71920;    /* Ziraat Kırmızısı */
    --color-kiraci: #34d399;   /* Canlı Yeşil */
    --color-acil: #f59e0b;     /* Turuncu */
    --color-notlar: #a78bfa;   /* Yumuşak Mor */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
}

body {
    /* Karanlık filtre biraz daha şeffaflaştırıldı ve rengi açıldı */
    background: linear-gradient(rgba(60, 20, 20, 0.55), rgba(40, 10, 10, 0.70)), 
                url('img/basak.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px 15px;
    color: var(--text-main);
}

.container {
    width: 100%;
    max-width: 480px;
    /* Kutu rengi biraz daha açıldı ve cam hissiyatı artırıldı */
    background: rgba(70, 25, 25, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 22px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

p {
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 14px;
}

.section-card {
    border: 1px solid var(--border-light);
    border-radius: 14px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.section-header {
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(215, 25, 32, 0.25);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-main);
}

.text-malik { color: var(--color-malik); }
.text-kiraci { color: var(--color-kiraci); }
.text-acil { color: var(--color-acil); }
.text-notlar { color: var(--color-notlar); }

.section-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.info-label {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-value {
    font-weight: 500;
    color: var(--text-main);
    text-align: right;
}

input, select, textarea {
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 10px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-main);
    /* Girdi alanları zifiri karanlık yerine daha şeffaf yapıldı */
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(8px);
    transition: 0.2s ease-in-out;
}

input::placeholder, textarea::placeholder {
    color: #cbd5e1;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.4);
    background: rgba(26, 5, 5, 0.8);
}

button {
    width: 100%;
    padding: 12px 15px;
    margin-top: 6px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.container button + button {
    margin-top: 8px; 
}

.btn-primary, button:not(.btn-secondary):not(.btn-outline):not(.dangerButton):not(.btn-icon) {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(215, 25, 32, 0.4);
}

.btn-primary:hover, button:not(.btn-secondary):not(.btn-outline):not(.dangerButton):not(.btn-icon):hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(215, 25, 32, 0.6);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(75, 85, 99, 0.85);
    color: #ffffff;
    border: 1px solid var(--border-light);
    margin-top: 15px;
}

.btn-secondary:hover {
    background: rgba(55, 65, 81, 0.95);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px dashed var(--border-light);
    padding: 10px;
    font-size: 14px;
}

.btn-outline:hover {
    background: rgba(215, 25, 32, 0.2);
}

.dangerButton {
    background: var(--danger) !important;
    color: #ffffff !important;
}

.dangerButton:hover {
    background: var(--danger-hover) !important;
}

.btn-icon {
    width: auto;
    padding: 6px 10px;
    margin: 0;
    background: rgba(220, 53, 69, 0.25);
    color: #ff8787;
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 8px;
    font-size: 13px;
}

.btn-icon:hover {
    background: rgba(220, 53, 69, 0.5);
    color: #ffffff;
}

.login-container{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.login-container input,
.login-container button{
    margin:0;
}

label:has(input[type="radio"]){
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    margin:10px 0;
    font-size:15px;
    color: var(--text-main);
}

input[type="radio"]{
    appearance:none;
    width:18px;
    height:18px;
    border:2px solid var(--border-light);
    border-radius:50%;
    cursor:pointer;
    position:relative;
    transition:.2s;
    margin:0;
    background: rgba(26, 5, 5, 0.5);
}

input[type="radio"]:checked{
    border-color: #ffffff;
    background: rgba(215, 25, 32, 0.4);
}

input[type="radio"]:checked::after{
    content:"";
    width:8px;
    height:8px;
    background: #ffffff;
    border-radius:50%;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}

.screen{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.screen hr{
    border: none;
    height: 1px;
    background: var(--border-light);
    margin: 0;
}

.screen h2,
.screen h3,
.screen p{
    margin:0;
}

.apartmentGrid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin:10px 0;
}

.apartmentButton{
    width:100%;
    margin:0 !important;
    padding:14px 0;
    font-size:16px;
    font-weight:600;
    background: rgba(50, 10, 10, 0.6);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    backdrop-filter: blur(8px);
}

.apartmentButton:hover {
    background: rgba(215, 25, 32, 0.35);
    border-color: #ffffff;
}

/* ==================================================
   BEYAZ ARKA PLANLI KARTLAR İÇİN YAZI RENGİ DÜZELTMESİ
   (Ödeme Bilgileri - Hesap Özeti Kartı)
   ================================================== */
.card-solid, 
.bg-white,
[style*="background: white"],
[style*="background: #ffffff"],
[style*="background: var(--card-solid)"] {
    background-color: var(--card-solid) !important;
    color: #1a0505 !important; 
    text-shadow: none !important;
}

.card-solid p, 
.card-solid .info-label,
[style*="background: white"] .info-label,
[style*="background: #ffffff"] .info-label,
[style*="background: var(--card-solid)"] .info-label {
    color: #4b5563 !important; /* Koyu gri (Etiketler için) */
}

.card-solid .info-value, 
.card-solid h1, 
.card-solid h2, 
.card-solid h3,
[style*="background: white"] .info-value,
[style*="background: #ffffff"] .info-value,
[style*="background: var(--card-solid)"] .info-value {
    color: #111827 !important; /* Siyah / Çok koyu gri (Değerler için) */
    font-weight: 700;
    text-shadow: none !important;
}
/* --- Mobil Taşma ve Kaydırma Güvencesi (En alta eklenmelidir) --- */
body, html {
    height: 100%;
    margin: 0;
    overflow-y: auto !important;
}

.login-container {
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
}