/* =======================================================
   LOREFIX - MODERN ÜYE KAYIT STİLLERİ (TAM VERSİYON)
   ======================================================= */

:root {
    --primary-blue: #3498db;
    --primary-pink: #e91e63;
    --dark-text: #2c3e50;
    --bg-color: #f4f7f6;
    --white: #ffffff;
    --border-color: #e1e4e8;
    --error-red: #e74c3c;
    --input-focus: rgba(52, 152, 219, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--dark-text);
    line-height: 1.6;
}

/* --- HEADER & LOGO --- */
.main-header {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo { display: flex; align-items: center; gap: 5px; text-decoration: none; }
.logo-circle { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: white; font-weight: bold; }
.logo-circle.blue { background: var(--primary-blue); }
.logo-circle.pink { background: var(--primary-pink); }
.logo-text { font-size: 1.6rem; font-weight: 800; color: var(--dark-text); }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--dark-text); font-weight: 600; font-size: 0.95rem; }

/* --- FORM KONTEYNER --- */
.kayit-container {
    max-width: 800px;
    margin: 40px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

h1 { text-align: center; margin-bottom: 10px; font-weight: 800; color: var(--dark-text); }
.subtitle { text-align: center; color: #7f8c8d; margin-bottom: 35px; font-size: 0.95rem; }

fieldset {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

legend {
    padding: 0 15px;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- FORM SATIR DÜZENİ --- */
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
    position: relative;
}

.form-row label {
    flex: 0 0 160px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
}

/* --- GENEL INPUT & SELECT & TEXTAREA --- */
.form-row input:not([type="checkbox"]):not([type="radio"]),
.form-row select,
.form-row textarea {
    flex: 1;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

/* Select ok işareti ve stil düzenlemesi */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

select:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    color: #adb5bd;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--input-focus);
}

/* --- ŞİFRE GRUBU --- */
.password-container {
    flex: 1;
    display: flex;
    gap: 8px;
}

.toggle-btn {
    background: #f1f3f5;
    border: 1px solid #dcdfe6;
    padding: 0 15px;
    border-radius: 8px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.toggle-btn:hover { background: #e9ecef; color: var(--primary-blue); }

/* --- İŞLETME TİPİ RADYO GRUBU --- */
.radio-group {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding-left: 180px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-blue);
}

/* --- DİNAMİK PANEL ANİMASYONU --- */
.dynamic-panel {
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- HATA MESAJLARI --- */
.error-text {
    color: var(--primary-pink);
    font-size: 0.85rem;
    font-weight: 600;
    display: none;
    padding-left: 180px;
    margin-top: -10px;
    margin-bottom: 10px;
}

/* --- ONAY KUTULARI (CHECKBOX) --- */
.checkbox-row {
    margin-bottom: 15px;
    padding-left: 5px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--primary-blue);
}

.checkbox-text { font-size: 0.9rem; color: #555; line-height: 1.4; }
.checkbox-text a { color: var(--primary-blue); text-decoration: none; font-weight: 700; }

/* --- KAYIT BUTONU --- */
.submit-section {
    margin-top: 20px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), #2980b9);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
    filter: brightness(1.1);
}

/* --- ALT BİLGİ (FOOTER) --- */
.main-footer {
    text-align: center;
    padding: 30px 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* --- MOBİL UYUM (RESPONSIVE) --- */
@media (max-width: 768px) {
    .kayit-container { margin: 20px; padding: 25px; }
    .form-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .form-row label { flex: none; width: 100%; }
    .radio-group { padding-left: 0; flex-direction: column; gap: 15px; }
    .error-text { padding-left: 0; }
    
    legend { font-size: 1rem; }
}