:root {
    --green: #47F138;
    --dark: #05070a;
    --glass: rgba(10,14,20,0.85);
    --border: rgba(255,255,255,0.08);
    --text: #e6e6e6;
}

/* ==========================================================
   PANEL
   ========================================================== */
.kirvx-cookie-panel {
    position: fixed;
    bottom: 34px;
    right: 34px;

    width: 460px;
    padding: 26px;

    background: var(--glass);
    border-radius: 22px;
    border: 1px solid var(--border);
    backdrop-filter: blur(22px);

    color: var(--text);
    font-family: "Inter", sans-serif;

    opacity: 0;
    transform: translateY(40px) scale(0.96);
    pointer-events: none;

    box-shadow:
        0 0 60px rgba(71,241,56,0.12),
        0 20px 60px rgba(0,0,0,0.55),
        inset 0 0 20px rgba(255,255,255,0.03);

    transition: all .45s cubic-bezier(.22,.98,.55,1);
    z-index: 100000;
}

.kirvx-cookie-panel.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* ==========================================================
   HEADER
   ========================================================== */
.ck-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--green);
}

.ck-header p {
    margin-top: 6px;
    font-size: 14px;
    opacity: .8;
}

/* ==========================================================
   LIST (TAQLAY-STYLE)
   ========================================================== */

.ck-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Jede Reihe wie ein "Balken" */
.ck-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px 16px;
    border-radius: 16px;

    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
}

/* Text links */
.ck-info {
    max-width: 300px;
}

.ck-title {
    font-size: 15px;
    font-weight: 600;
}

.ck-desc {
    font-size: 13px;
    opacity: .65;
    margin-top: 3px;
}

/* ==========================================================
   STATUS BADGE (Always Active – edel!)
   ========================================================== */
.ck-status-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    opacity: .75;
}

/* ==========================================================
   SWITCH
   ========================================================== */
.ck-switch {
    position: relative;
    width: 48px;
    height: 26px;
}

.ck-switch input {
    display: none;
}

.ck-switch span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.12);
    border-radius: 30px;
    border: 1px solid var(--border);
    transition: .3s;
}

.ck-switch span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: var(--text);
    border-radius: 50%;
    transition: .3s;
}

.ck-switch input:checked + span {
    background: var(--green);
    border-color: var(--green);
}

.ck-switch input:checked + span::after {
    transform: translateX(20px);
    background: black;
}

/* ==========================================================
   ACTION BUTTONS
   ========================================================== */
.ck-actions {
    margin-top: 26px;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.btn-primary,
.btn-ghost {
    padding: 10px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.btn-primary {
    background: var(--green);
    border: none;
    color: black;
}

.btn-primary:hover {
    box-shadow: 0 0 18px rgba(71,241,56,0.55);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.05);
}

/* ==========================================================
   FLOATING BUTTON
   ========================================================== */
.kirvx-cookie-fab {
    position: fixed;
    bottom: 34px;
    right: 34px;

    padding: 14px 22px;
    border-radius: 14px;

    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--green);

    font-weight: 600;
    cursor: pointer;
    font-size: 15px;

    backdrop-filter: blur(14px);

    box-shadow: 0 0 22px rgba(71,241,56,0.28);

    transition: .3s;
    z-index: 99999;
}

/* FAB geht AUTOMATISCH höher, wenn Panel offen ist */
.kirvx-cookie-panel.visible ~ .kirvx-cookie-fab {
    transform: translateY(-90px);
    opacity: 0;
    pointer-events: none;
}

.kirvx-cookie-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 26px rgba(71,241,56,0.42);
}

.hidden {
    display: none !important;
}
