/* Pop-up'ın karanlık arkaplanı. Başlangıçta gizli. */
.lrf-modal-arkaplan {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 5000;
    padding: 20px; /* Küçük ekranlarda kenar boşluğu */
}

/* JavaScript tarafından '.aktif' sınıfı eklendiğinde görünür olur. */
.lrf-modal-arkaplan.aktif {
    display: flex;
}

/* Pop-up'ın beyaz içerik kutusu */
.lrf-modal-icerik {
    background-color: white;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 600px;
    position: relative;
    max-height: 90vh; /* Ekranın %90'ından fazla yer kaplamaz */
    overflow-y: auto; /* İçerik sığmazsa kaydırma çubuğu çıkar */
}

/* Kapatma (X) butonu */
.lrf-modal-kapat {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #b0b0b0;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s ease;
}
.lrf-modal-kapat:hover {
    color: #333;
}

/* --- 2. İLERLEME ÇUBUĞU --- */

.lrf-ilerleme-cubugu {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
}

/* Adımlar arasındaki gri çizgi */
.lrf-ilerleme-cubugu::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 3px;
    width: 100%;
    background-color: #f0f0f0;
    z-index: 1;
}

/* Adım daireleri */
.lrf-ilerleme-adimi {
    width: 36px;
    height: 36px;
    background-color: #fff;
    border: 3px solid #f0f0f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #ccc;
    transition: all 0.3s ease;
    z-index: 2; /* Çizginin üzerinde kalması için */
    font-size: 1rem;
}

/* Aktif olan adımın stili */
.lrf-ilerleme-adimi.aktif {
    border-color: #f689ad; /* Ana renk */
    background-color: #f689ad;
    color: white;
}


/* --- 3. FORM GENEL YAPISI --- */

.lrf-form-adimi {
    display: none; /* Adımlar başlangıçta gizli */
}
.lrf-form-adimi.aktif {
    display: block; /* Sadece aktif olan adım görünür */
}

.lrf-form-baslik {
    text-align: center;
    margin-bottom: 30px;
}
.lrf-form-baslik h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 8px;
}
.lrf-form-baslik p {
    color: #777;
    font-size: 1rem;
}

.lrf-form-butonlar {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

/* --- 4. FORM ELEMANLARI --- */

/* "Yüz Yüze" / "Online" gibi seçimler için */
.lrf-secim-grubu {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Yan yana iki sütun */
    gap: 15px;
    margin-bottom: 25px;
}
.lrf-secim-etiketi {
    display: block;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 20px;
    text-align: center;
}
.lrf-secim-etiketi:hover {
    border-color: #fbcfe8; /* Pembe tonu */
}
.lrf-secim-etiketi input[type="radio"] {
    display: none; /* Gerçek radyo butonu gizli */
}
input[type="radio"]:checked + .lrf-secim-icerigi {
    /* İsteğe bağlı: seçilince metin rengi değişebilir */
    color: #d9468c;
}
/* Seçildiğinde tüm etiketin çerçevesini değiştir */
.lrf-secim-etiketi input[type="radio"]:checked ~ {
     border-color: #f689ad;
     box-shadow: 0 0 0 2px #fbcfe8;
}

/* Genel input ve textarea stilleri */
.lrf-form-girdi {
    width: 100%;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.lrf-form-girdi:focus {
    outline: none;
    border-color: #f689ad;
    box-shadow: 0 0 0 3px #fbcfe8;
}
textarea.lrf-form-girdi {
    min-height: 120px;
    resize: vertical;
}

.lrf-form-grup {
    margin-bottom: 20px;
}
.lrf-form-grup label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

/* Uyarı mesajları için */
.lrf-form-uyari {
    display: none;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #fee2e2;
    color: #b91c1c;
    font-size: 0.9rem;
    text-align: center;
}


/* --- 5. BAŞARI MESAJI --- */

.lrf-basari-mesaji {
    text-align: center;
    padding: 40px 0;
}
.lrf-basari-ikonu {
    width: 70px;
    height: 70px;
    background-color: #10b981;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
}