/* TK Koleksiyoncu Paneli — panel.css */

/* ── FAVORİ BUTONU ── */
.tkk-fav-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid rgba(212,160,23,.2);
    color: var(--text-dim);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .25s;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}
.tkk-fav-btn:hover {
    border-color: rgba(212,160,23,.5);
    color: var(--gold-light);
    background: rgba(212,160,23,.05);
}
.tkk-fav-btn.active {
    border-color: rgba(212,160,23,.6);
    color: var(--gold-bright);
    background: rgba(212,160,23,.08);
}
.tkk-fav-btn.active .tkk-fav-icon { fill: currentColor; }
.tkk-fav-icon { transition: fill .2s; flex-shrink: 0; }
.tkk-fav-count {
    background: rgba(212,160,23,.15);
    color: var(--gold-muted);
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
}

/* ── MENÜ BADGE ── */
.tkk-menu-badge {
    background: var(--gold-bright);
    color: #0a0806;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 8px;
    margin-left: 4px;
    vertical-align: middle;
}

/* ── GİRİŞ UYARISI ── */
.tkk-login-notice {
    text-align: center;
    padding: 60px 24px;
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
}
.tkk-login-icon { font-size: 40px; margin-bottom: 14px; }
.tkk-login-notice h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 10px;
}
.tkk-login-notice p { color: var(--text-muted); margin-bottom: 20px; }

/* ── PANEL ── */
.tkk-panel {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Üst başlık */
.tkk-panel-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(212,160,23,.06), rgba(212,160,23,.02));
    border-bottom: 1px solid var(--gold-border);
}
.tkk-user-avatar img {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold-border);
}
.tkk-user-info { flex: 1; }
.tkk-user-info h2 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 2px;
}
.tkk-user-info span { font-size: 12px; color: var(--text-dim); }

.tkk-panel-stats { display: flex; gap: 24px; }
.tkk-stat-item { text-align: center; }
.tkk-stat-n {
    display: block;
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--gold-light);
    font-style: italic;
    line-height: 1;
}
.tkk-stat-l {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* Sekmeler */
.tkk-tabs {
    display: flex;
    border-bottom: 1px solid var(--gold-border);
    background: var(--bg-dark);
}
.tkk-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-dim);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
    position: relative; top: 1px;
}
.tkk-tab:hover { color: var(--gold-light); }
.tkk-tab.active { color: var(--gold-light); border-bottom-color: var(--gold-bright); }
.tkk-tab-badge {
    background: rgba(212,160,23,.15);
    color: var(--gold-muted);
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
}
.tkk-tab.active .tkk-tab-badge { background: rgba(212,160,23,.25); color: var(--gold-bright); }

/* Paneller */
.tkk-pane { display: none; padding: 28px; }
.tkk-pane.active { display: block; }

/* Favori grid */
.tkk-fav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.tkk-fav-card {
    background: var(--bg-card2);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.tkk-fav-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(212,160,23,.1); }

.tkk-fav-thumb {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.tkk-fav-thumb a { display: block; height: 100%; }
.tkk-fav-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tkk-fav-card:hover .tkk-fav-thumb img { transform: scale(1.04); }
.tkk-fav-no-img {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-deepest));
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: var(--gold-border);
}

.tkk-remove-fav {
    position: absolute;
    top: 8px; right: 8px;
    background: rgba(10,8,6,.75);
    border: 1px solid rgba(212,160,23,.25);
    color: var(--text-dim);
    width: 28px; height: 28px;
    border-radius: 50%;
    font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s, color .2s;
    backdrop-filter: blur(4px);
}
.tkk-fav-card:hover .tkk-remove-fav { opacity: 1; }
.tkk-remove-fav:hover { color: #ef4444; border-color: rgba(239,68,68,.4); }

.tkk-fav-body { padding: 14px 16px; }
.tkk-fav-title {
    display: block;
    font-family: var(--font-serif);
    font-size: 17px;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 5px;
    text-decoration: none;
    transition: color .2s;
    line-height: 1.3;
}
.tkk-fav-title:hover { color: var(--gold-bright); }
.tkk-fav-cat  { display: block; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 3px; }
.tkk-fav-donem { display: block; font-size: 12px; color: var(--gold-muted); font-style: italic; margin-bottom: 8px; }
.tkk-fav-ekleme { font-size: 11px; color: var(--text-dim); margin-bottom: 8px; }
.tkk-fav-wa {
    font-size: 11px; font-weight: 700;
    color: #25d366;
    text-decoration: none;
    transition: opacity .2s;
}
.tkk-fav-wa:hover { opacity: .8; }

/* Boş panel */
.tkk-empty-panel {
    text-align: center;
    padding: 60px 24px;
}
.tkk-empty-icon { font-size: 48px; opacity: .2; display: block; margin-bottom: 16px; }
.tkk-empty-panel h4 { font-size: 20px; font-style: italic; color: var(--gold-light); margin-bottom: 8px; }
.tkk-empty-panel p  { color: var(--text-dim); margin-bottom: 20px; }

/* Bildirim formu */
.tkk-bildirim-wrap { max-width: 520px; }
.tkk-bildirim-intro h4 {
    font-family: var(--font-serif);
    font-size: 22px; font-style: italic;
    color: var(--gold-light); margin-bottom: 8px;
}
.tkk-bildirim-intro p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }

/* Toggle */
.tkk-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(212,160,23,.08);
    cursor: pointer;
    margin-bottom: 16px;
}
.tkk-toggle-info strong { display: block; font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.tkk-toggle-info span  { font-size: 12px; color: var(--text-dim); }

.tkk-toggle {
    width: 46px; height: 24px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(212,160,23,.2);
    border-radius: 12px;
    position: relative;
    flex-shrink: 0;
    transition: background .25s, border-color .25s;
    cursor: pointer;
}
.tkk-toggle.on { background: var(--gold-bright); border-color: var(--gold-bright); }
.tkk-toggle-knob {
    position: absolute;
    top: 2px; left: 2px;
    width: 18px; height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform .25s;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.tkk-toggle.on .tkk-toggle-knob { transform: translateX(22px); }

/* Kategori checkbox'ları */
.tkk-field-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: 10px; }
.tkk-kat-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tkk-check-label {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: var(--bg-dark);
    border: 1px solid rgba(212,160,23,.15);
    border-radius: var(--radius);
    font-size: 12px; color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
}
.tkk-check-label:hover { border-color: var(--gold-border); color: var(--gold-light); }
.tkk-check-label input { accent-color: var(--gold-bright); }
.tkk-check-label:has(input:checked) { border-color: var(--gold-bright); color: var(--gold-light); background: rgba(212,160,23,.06); }

.tkk-bildirim-msg {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 13px;
}
.tkk-bildirim-msg.success { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25); color: #22c55e; }
.tkk-bildirim-msg.error   { background: rgba(239,68,68,.08);  border: 1px solid rgba(239,68,68,.25);  color: #ef4444; }

/* Responsive */
@media (max-width: 640px) {
    .tkk-panel-header { flex-wrap: wrap; }
    .tkk-fav-grid { grid-template-columns: 1fr; }
    .tkk-panel-stats { margin-left: auto; }
}
