/*
 * assets/css/theme-common.css
 * Tema seçici bileşenleri (tüm temalarda ortak). Yalnızca yeni .vr-theme-* sınıflarını
 * hedefler; mevcut sayfa görünümünü DEĞİŞTİRMEZ. Renkleri mevcut temanın değişkenlerinden alır.
 */
.vr-theme-swatch {
    display: inline-block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(127, 127, 127, 0.55);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.vr-theme-option .vr-theme-check { visibility: hidden; font-size: 0.8rem; }
.vr-theme-option.is-active .vr-theme-check { visibility: visible; color: var(--primary, #6366f1); }
.dropdown-item.vr-theme-option { cursor: pointer; min-width: 200px; }

/* Mobil menü (sidebar) çipleri */
.vr-theme-chips { display: flex; flex-direction: column; gap: 6px; }
.vr-theme-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    font-size: 0.85rem;
    color: var(--text-main, #f8fafc);
    background: rgba(127, 127, 127, 0.08);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 10px;
    text-align: left;
    transition: background 0.2s, border-color 0.2s;
}
.vr-theme-chip:hover { background: rgba(127, 127, 127, 0.16); }
.vr-theme-chip.is-active { border-color: var(--primary, #6366f1); }

/* Profil sayfası kartları */
.vr-theme-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
    color: var(--text-main, #f8fafc);
    background: rgba(127, 127, 127, 0.06);
    border: 2px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    text-align: left;
    transition: border-color 0.2s, transform 0.15s;
}
.vr-theme-card:hover { transform: translateY(-1px); }
.vr-theme-card.is-active { border-color: var(--primary, #6366f1); }
.vr-theme-card-preview {
    display: block;
    width: 100%;
    height: 54px;
    border-radius: 8px;
    border: 1px solid rgba(127, 127, 127, 0.35);
}

/* Giriş ekranı küçük tema düğmesi */
.vr-theme-login {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    display: flex;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(127, 127, 127, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.vr-theme-login .vr-theme-option {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background: none;
    line-height: 0;
}
.vr-theme-login .vr-theme-option.is-active { border-color: #fff; }
.vr-theme-login .vr-theme-swatch { width: 20px; height: 20px; }
