/* ==========================================================
   YASHARIEL GLOBAL CONSENT
   Phase 3
   ========================================================== */

.yashariel-consent-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2147483000;

    box-sizing: border-box;
    max-width: 1180px;
    margin: 0 auto;

    border: 1px solid rgba(173, 128, 66, .58);
    border-top: 2px solid rgba(198, 148, 77, .86);
    border-radius: 6px;

    background:
        linear-gradient(
            180deg,
            rgba(24, 21, 18, .985),
            rgba(12, 11, 10, .99)
        );

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .72),
        0 0 0 1px rgba(255, 255, 255, .025);

    color: #e8e1d6;
}

.yashariel-consent-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;

    align-items: center;

    padding: 22px 24px;
}

.yashariel-consent-copy {
    min-width: 0;
}

.yashariel-consent-eyebrow {
    display: block;

    margin-bottom: 7px;

    color: #b98a4d;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.yashariel-consent-title {
    margin: 0 0 7px;

    color: #f3eee7;

    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.25;
}

.yashariel-consent-text {
    max-width: 760px;

    margin: 0;

    color: #beb6aa;

    font-size: 14px;
    line-height: 1.6;
}

.yashariel-consent-current {
    display: block;

    margin-top: 8px;

    color: #978e82;

    font-size: 12px;
    line-height: 1.45;
}

.yashariel-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 9px;

    min-width: 360px;
}

.yashariel-consent-button {
    min-height: 42px;

    box-sizing: border-box;

    padding: 10px 15px;

    border: 1px solid rgba(178, 132, 70, .58);
    border-radius: 3px;

    background:
        rgba(33, 29, 24, .9);

    color: #eee6db;

    font: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        border-color .18s ease,
        background .18s ease,
        color .18s ease;
}

.yashariel-consent-button:hover,
.yashariel-consent-button:focus-visible {
    border-color:
        rgba(215, 164, 91, .95);

    background:
        rgba(58, 45, 31, .95);

    color:
        #ffffff;
}

.yashariel-consent-button:focus-visible {
    outline:
        2px solid rgba(220, 170, 98, .75);

    outline-offset:
        2px;
}

/*
 * Accept und Reject erhalten bewusst
 * gleichwertige visuelle Gewichtung.
 */
.yashariel-consent-button[data-consent-action="accept"],
.yashariel-consent-button[data-consent-action="reject"] {
    border-color:
        rgba(193, 145, 78, .78);

    background:
        rgba(59, 44, 29, .88);
}

.yashariel-consent-button[data-consent-action="manage"] {
    grid-column:
        1 / -1;

    background:
        transparent;
}

body.yashariel-consent-visible {
    padding-bottom:
        180px;
}

@media (max-width: 820px) {

    .yashariel-consent-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .yashariel-consent-inner {
        grid-template-columns:
            1fr;

        gap:
            18px;

        padding:
            19px 18px;
    }

    .yashariel-consent-actions {
        min-width:
            0;
    }

    body.yashariel-consent-visible {
        padding-bottom:
            280px;
    }
}

@media (max-width: 480px) {

    .yashariel-consent-actions {
        grid-template-columns:
            1fr;
    }

    .yashariel-consent-button[data-consent-action="manage"] {
        grid-column:
            auto;
    }

    body.yashariel-consent-visible {
        padding-bottom:
            360px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .yashariel-consent-button {
        transition:
            none;
    }
}
