/* Üye trigger: iki satır (Giriş Yap / veya Üye Ol), mavi, hover koyu mavi */
.uye-trigger-btn {
    background: #0078d4;
    color: #fff;
    border: 1px solid #006cbd;
    padding: 6px 10px 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
    transition: background .2s, border-color .2s, transform .15s;
}
.uye-trigger-btn:hover {
    background: #106ebe;
    border-color: #106ebe;
    color: #fff;
    transform: translateY(-1px);
}
.uye-trigger-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.uye-trigger-line1 { font-weight: 700; }
.uye-trigger-line2 { font-weight: 400; opacity: 0.95; font-size: 11px; }
.uye-trigger-btn .fa-chevron-down { font-size: 10px; flex-shrink: 0; }

.ust-sag-butonlar { position: relative; }
.uye-dropdown-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    border: 1px solid #eee;
    min-width: 200px;
    z-index: 1001;
    overflow: hidden;
}
.uye-dropdown-panel.acik { display: block; }
.uye-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background .2s;
}
.uye-dropdown-item:hover { background: #f0f7fd; }
.uye-dropdown-giris { color: #0078d4; border-bottom: 1px solid #eee; }
.uye-dropdown-giris:hover { background: #e6f2fb; }
.uye-dropdown-uye { color: #fff; background: #0078d4; }
.uye-dropdown-uye:hover { background: #106ebe; color: #fff; }

.hesabim-btn { background: #1ab394 !important; }
.hesabim-btn:hover { background: #169c81 !important; }
.uye-cikis-btn {
    background: #f0f0f0 !important;
    color: #333 !important;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
}
.uye-cikis-btn:hover { background: #e0e0e0 !important; color: #333 !important; }

/* Modal */
.uye-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.uye-modal-overlay.acik { display: flex; }
.uye-modal-box {
    background: #fff;
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.uye-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}
.uye-modal-close:hover { background: #e0e0e0; color: #000; }
.uye-modal-title {
    margin: 0;
    padding: 20px 20px 12px;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    background: #0078d4;
    color: #fff;
    border-radius: 16px 16px 0 0;
}
.uye-tabs {
    display: flex;
    padding: 0 20px 16px;
    gap: 8px;
}
.uye-tab {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}
.uye-tab.aktif { background: #0078d4; color: #fff; border-color: #0078d4; }
.uye-tab:hover:not(.aktif) { background: #e6f2fb; border-color: #0078d4; color: #0078d4; }
.uye-form-panel { padding: 0 20px 20px; }
.uye-field { margin-bottom: 14px; }
.uye-field label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: #333; }
.uye-field input[type="text"],
.uye-field input[type="email"],
.uye-field input[type="tel"],
.uye-field input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
}
.uye-field input:focus { outline: none; border-color: #0078d4; }
.uye-checkbox label { font-weight: 400; font-size: 13px; display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.uye-checkbox input { margin-top: 3px; }
.uye-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    transition: background .2s;
}
.uye-btn-giris { background: #fff; color: #0078d4; border: 2px solid #0078d4; }
.uye-btn-giris:hover { background: #e6f2fb; }
.uye-btn-kayit { background: #0078d4; color: #fff; }
.uye-btn-kayit:hover { background: #106ebe; }
.uye-zaten-hesap { text-align: center; margin: 14px 0 8px; font-size: 14px; }
.uye-zaten-hesap a { color: #0078d4; font-weight: 600; text-decoration: none; }
.uye-kvkk-not { font-size: 11px; color: #666; margin: 12px 0 0; line-height: 1.4; }
.uye-kvkk-not a { color: #0078d4; }

/* Kayıt: e-posta doğrulama kodu bildirimi */
.uye-kayit-kod-uyari {
    margin: 0 0 14px;
    padding: 12px 14px;
    background: #e8f4fc;
    border: 1px solid #b8d9f0;
    border-radius: 10px;
    font-size: 13px;
    color: #1a3d5c;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.uye-kayit-kod-uyari i { color: #0078d4; margin-top: 2px; flex-shrink: 0; }

/* Ek paneller (kod girişi, şifremi unuttum) */
.uye-form-panel-ek { padding-top: 8px; }
.uye-form-ek-baslik {
    margin: 0 0 16px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}
.uye-form-ek-baslik strong { color: #0078d4; }

.uye-sifremi-unuttum-wrap { margin: 8px 0 4px; text-align: right; }
.uye-sifremi-unuttum-link { font-size: 13px; color: #0078d4; text-decoration: none; }
.uye-sifremi-unuttum-link:hover { text-decoration: underline; }

.uye-geri-link-wrap { margin: 14px 0 0; text-align: center; }
.uye-geri-giris-link,
.uye-geri-kayit-link { font-size: 14px; color: #0078d4; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.uye-geri-giris-link:hover,
.uye-geri-kayit-link:hover { text-decoration: underline; }

.uye-btn-sifre { background: #1a7f37; color: #fff; }
.uye-btn-sifre:hover { background: #166534; }

.uye-modal-hata { color: #c5221f; padding: 10px 20px; margin: 0; font-size: 14px; background: #fde7e7; border-radius: 8px; margin-top: 12px; }
@media (max-width: 480px) {
    .uye-modal-box { margin: 10px; max-height: 85vh; }
    .uye-trigger-btn { padding: 5px 8px 5px 10px; font-size: 12px; }
    .uye-trigger-line2 { font-size: 10px; }
}
