/*
 * iMens Premium — Styles (dunkel, additiv).
 * Eigene Controls (Toggle) selbst gezeichnet, damit die globale
 * css/main.css-Regel `select,input{display:block;width:100%;padding:1.1rem}`
 * nichts aufblaeht.
 */

.hh-prem-block .ui-block-content { padding: 14px 16px; }

.hh-prem-panel { color: var(--hh-text, #e9e9ee); font-size: 14px; }
.hh-prem-loading { opacity: .6; padding: 8px 0; }

/* --- Status-Kopf --- */
.hh-prem-status {
    display: flex; align-items: center; gap: 12px;
    padding: 12px; border-radius: 12px; margin-bottom: 12px;
}
.hh-prem-active   { background: linear-gradient(135deg, rgba(244,196,48,.16), rgba(224,22,58,.12)); border: 1px solid rgba(244,196,48,.35); }
.hh-prem-inactive { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.hh-prem-crown {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #f4c430; color: #241a00; font-size: 18px;
}
.hh-prem-inactive .hh-prem-crown { background: rgba(244,196,48,.85); }
.hh-prem-status strong { display: block; font-size: 15px; }
.hh-prem-sub { font-size: 12px; opacity: .7; margin-top: 2px; }

/* --- Perks-Liste (Upsell) --- */
.hh-prem-perks { list-style: none; margin: 0 0 12px; padding: 0; }
.hh-prem-perks li { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13px; opacity: .9; }
.hh-prem-perks li i { color: #f4c430; width: 16px; text-align: center; }

/* --- Incognito-Toggle (selbst gezeichnet) --- */
.hh-prem-toggle {
    display: flex; align-items: center; justify-content: space-between;
    margin: 12px 0 4px; font-size: 13px; cursor: pointer; user-select: none;
}
.hh-prem-switch {
    position: relative; width: 44px !important; height: 24px; flex: 0 0 44px;
    border-radius: 999px; background: rgba(255,255,255,.18);
    transition: background .18s ease; display: inline-block; padding: 0 !important;
}
.hh-prem-switch.on { background: var(--hh-red, #e0163a); }
.hh-prem-knob {
    position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
    border-radius: 50%; background: #fff; transition: transform .18s ease;
}
.hh-prem-switch.on .hh-prem-knob { transform: translateX(20px); }
.hh-prem-hint { font-size: 11px; opacity: .55; line-height: 1.4; margin-bottom: 6px; }

.hh-prem-panel .btn-block { display: block; width: 100%; }
.hh-prem-panel .m-t-10 { margin-top: 10px; }
.hh-prem-panel .m-t-5 { margin-top: 5px; }

/* --- Kauf-Plaene --- */
.hh-prem-plans { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 6px 0 4px; }
.hh-prem-plan {
    flex: 1 1 120px; min-width: 110px; cursor: pointer;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px; padding: 16px 10px; text-align: center;
    color: var(--hh-text, #e9e9ee); transition: border-color .15s ease, transform .1s ease;
}
.hh-prem-plan:hover { border-color: var(--hh-red, #e0163a); transform: translateY(-2px); }
.hh-prem-plan-label { display: block; font-weight: 700; font-size: 15px; }
.hh-prem-plan-cost { display: block; margin-top: 6px; font-size: 13px; color: #f4c430; }
.hh-prem-plan-note { text-align: center; font-size: 12px; opacity: .6; margin-top: 10px; }

/* --- Wer mag mich (Liste) --- */
.hh-prem-likers { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.hh-prem-liker {
    display: flex; align-items: center; gap: 12px; padding: 10px 6px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.hh-prem-liker:last-child { border-bottom: 0; }
.hh-prem-liker-ava { position: relative; flex: 0 0 auto; }
.hh-prem-liker-ava img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.hh-prem-liker-ava .icon-status { position: absolute; right: 0; bottom: 2px; }
.hh-prem-liker-meta { flex: 1 1 auto; min-width: 0; }
.hh-prem-liker-name { font-weight: 600; font-size: 14px; }
.hh-prem-liker-sub { margin-top: 4px; display: flex; gap: 6px; flex-wrap: wrap; }
.hh-prem-liker-action { flex: 0 0 auto; }

.hh-prem-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; padding: 2px 8px; border-radius: 999px;
    background: rgba(255,255,255,.08); color: var(--hh-text, #e9e9ee);
}
.hh-prem-badge-cock   { background: rgba(224,22,58,.18); color: #ff879b; }
.hh-prem-badge-voting { background: rgba(90,140,255,.18); color: #9db6ff; }
.hh-prem-badge-pts    { background: rgba(244,196,48,.18); color: #f4c430; font-weight: 700; }

/* --- Locked / leere Zustaende --- */
.hh-prem-locked, .hh-prem-muted { color: var(--hh-text, #e9e9ee); }
.hh-prem-locked i, .hh-prem-muted i { color: #f4c430; opacity: .8; }
.hh-prem-muted { opacity: .7; }

/* SweetAlert-Popup dunkel halten, falls Theme es nicht schon tut */
.hh-prem-swal.swal2-popup { background: #17171b; color: var(--hh-text, #e9e9ee); }
