/* --- ANKET VE FORM İÇİN GENEL STİLLER --- */

.question-area {
    opacity: 1; /* Görünürlük sorunu olmaması için başlangıçta opak */
    transition: opacity 0.4s ease-in-out;
}

.question-area h2 {
    font-size: 22px;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

/* --- ANKET SEÇENEKLERİ --- */
.optionen-container {
    display: grid;
    gap: 15px;
}

.optionen-container.text-optionen {
    grid-template-columns: 1fr;
}

.optionen-container.logo-optionen {
    grid-template-columns: repeat(2, 1fr);
}

.option-button {
    background-color: #f8f9fa; /* Hafif gri arkaplan */
    border: 2px solid #e9ecef; /* Belirgin kenarlık */
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #34495e; /* Belirgin metin rengi */
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
}

.option-button:hover {
    border-color: #3498db;
    background-color: #eaf5fc;
}

.option-button img {
    max-height: 35px;
    max-width: 110px;
    object-fit: contain;
}

/* --- KİŞİSEL BİLGİ FORMU --- */
.personal-info-form {
    text-align: left;
    margin-top: 20px;
}

.form-row {
    display: flex;
    flex-direction: column; /* Mobilde her zaman alt alta */
    gap: 0;
}

.input-group {
    margin-bottom: 18px;
    width: 100%;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ced4da; /* Daha belirgin kenarlık */
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: #212529; /* Siyah yazı rengi */
    background-color: #fff; /* Beyaz arkaplan */
}

.input-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

/* --- YÜKLENİYOR SPINNER'I --- */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 80px auto; /* Ortalamak için */
}




/* Kişisel Bilgi Formu İyileştirmeleri */
.form-header {
    text-align: left;
    margin-bottom: 25px;
}
.form-header h2 {
    text-align: left;
    font-size: 26px;
    margin-bottom: 5px;
}
.form-header p {
    text-align: left;
    font-size: 16px;
    color: #555;
}
.form-footer {
    text-align: right; /* Butonu sağa hizala */
    margin-top: 30px;
}
.form-footer .cta-button {
    padding: 12px 35px; /* Butonu biraz küçültelim */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Masaüstü için form düzeni */
@media (min-width: 768px) {
    .form-row {
        flex-direction: row; /* Masaüstünde yan yana */
        gap: 20px;
    }
}



.back-button {
    background: none;
    border: none;
    font-size: 15px;
    color: #3498db;
    cursor: pointer;
    position: absolute;
    top: 25px;
    left: 25px;
    font-weight: 500;
}
.back-button:hover {
    text-decoration: underline;
}
.bank-login-header, .bank-header {
    position: relative; /* Geri butonunun konumlanması için */
}


/* --- ŞUBE LİSTESİ DÜZELTMESİ --- */

/* .bank-item'ın flex özelliklerini sıfırlayıp, 
   içeriğin doğru akmasını sağlıyoruz. */
.bank-item {
    display: flex;       /* Zaten var, ama emin olalım */
    align-items: center; /* Zaten var, ama emin olalım */
    width: 100%;         /* Öğenin tüm genişliği kaplamasını sağla */
    box-sizing: border-box; /* Padding'in genişliğe dahil olmasını sağla */
}

/* Şube adının bulunduğu span'ın esneyip büyümesini sağlıyoruz. */
.bank-item span:first-of-type {
    flex-grow: 1;        /* Esneyip tüm boş alanı doldurur */
    text-align: left;    /* Metni sola yasla */
}

/* Sağdaki ok (arrow) sabit kalır. */
.bank-item .arrow {
    flex-shrink: 0;      /* Ok'un küçülmesini engelle */
}