
/* ============================================================
   /assets/style/cookies.css - v 1.0 : 2025/12/6
   COOKIE POPUP – Dark Aqua Edition
============================================================ */

/* ==========================================================
   LJH UI – COOKIE POPUP (Dark Aqua Glass)
   Version 2.0 – 2025-12-06
========================================================== */

.ljh-cookie-popup {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(6px);
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    animation: fadeIn 0.4s ease forwards;
}

.hidden {
    display: none !important;
}

/* Popup-lådan */
.ljh-cookie-box {
    width: 420px;
    padding: 2rem;
    border-radius: 22px;

    background: rgba(15,23,42,0.75);
    backdrop-filter: blur(22px);

    border: 1px solid rgba(148,163,184,0.35);
    box-shadow:
        0 18px 45px rgba(0,0,0,0.45),
        inset 0 0 22px rgba(255,255,255,0.12);

    position: relative;
    color: #e2e8f0;
    animation: popupIn 0.35s ease forwards;
}

/* Close (X) */
.ljh-cookie-close {
    position: absolute;
    top: 12px;
    right: 14px;

    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);

    backdrop-filter: blur(6px);
    color: #dbeafe;

    padding: 4px 9px;
    font-size: 0.8rem;

    border-radius: 10px;
    cursor: pointer;

    transition: background 0.15s ease, box-shadow 0.15s ease;
}
.ljh-cookie-close:hover {
    background: rgba(255,255,255,0.22);
    box-shadow: 0 0 12px rgba(96,165,250,0.45);
}

/* Titel */
.ljh-cookie-title {
    font-size: 1.55rem;
    margin-bottom: 0.6rem;
    color: #f1f5f9;
    font-weight: 700;
}

/* Text */
.ljh-cookie-text {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
    color: #cbd5e1;
}

/* Länk */
.ljh-cookie-link {
    display: block;
    margin-bottom: 1.4rem;
    color: #93c5fd;
    font-size: 0.85rem;
}

/* Alternativ */
.ljh-cookie-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
}

.ljh-cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.ljh-cookie-option input {
    margin-top: 0.2rem;
}

/* Knappar */
.ljh-cookie-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

/* Primär knapp */
.ljh-cookie-btn {
    flex: 1;
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;

    border: 1px solid transparent;
    transition: 0.15s ease;
}

.ljh-cookie-btn.primary {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
}
.ljh-cookie-btn.primary:hover {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
}

/* Ghost */
.ljh-cookie-btn.ghost {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: #e2e8f0;
}
.ljh-cookie-btn.ghost:hover {
    background: rgba(255,255,255,0.18);
}

/* Danger */
.ljh-cookie-btn.danger {
    background: rgba(220,38,38,0.25);
    border-color: rgba(220,38,38,0.45);
    color: #fecaca;
}
.ljh-cookie-btn.danger:hover {
    background: rgba(220,38,38,0.35);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes popupIn {
    from { transform: scale(0.92) translateY(8px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}


