/* aaklippel - cookies.css */

#cookies {
    font-family: "Poppins", sans-serif;
}

#cookie-dialog {
    display: none;
    position: fixed;
    z-index: 9999;
    width: min(90%, 430px);
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    padding: 22px 20px 18px;
    background: rgba(255, 255, 255, 0.98);
    color: #222;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18),
                0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: left;
    line-height: 1.65;
    font-size: 13px;
    font-weight: 500;
    animation: cookieDialogIn 0.3s ease;
}

@keyframes cookieDialogIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

#cookie-dialog h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: #990000;
    font-family: "Poppins", sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}

#cookie-dialog h2 i {
    font-size: 20px;
}

#buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

#buttons button {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease,
                box-shadow 0.18s ease,
                filter 0.18s ease;
}

#buttons button i {
    font-size: 13px;
}

#btTerms {
    background: #f1f2f4;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

#accept-cookies {
    background: linear-gradient(135deg, #990000, #c62828);
    color: #fff;
    box-shadow: 0 6px 14px rgba(153, 0, 0, 0.22);
}

#buttons button:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

#buttons button:active {
    transform: scale(0.97);
}

#buttons button:focus-visible {
    outline: 3px solid rgba(153, 0, 0, 0.25);
    outline-offset: 2px;
}

@media (max-width: 420px) {
    #cookie-dialog {
        width: calc(100% - 24px);
        bottom: 12px;
        padding: 19px 16px 15px;
        border-radius: 17px;
        font-size: 12.5px;
    }

    #cookie-dialog h2 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    #buttons {
        gap: 8px;
    }

    #buttons button {
        min-height: 42px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #cookie-dialog,
    #buttons button {
        animation: none;
        transition: none;
    }
}
