/* ===================== */
/* BASE */
/* ===================== */
.cookie-consent {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    animation: fadeUp 0.5s ease;
}

.cookie-box {
    backdrop-filter: blur(14px);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 22px;
    max-width: 360px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
}

/* TEXT */
.cookie-text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.85);
}

/* ===================== */
/* BUTTON SYSTEM */
/* ===================== */
.btn-cookie {
    padding: 5px 20px;
    font-size: 12px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

/* PRIMARY (gold luxury) */
.btn-primary {
    background: #a59c83;
    color: #fff;
}

.btn-primary:hover {
    background: #8c846c;
}

/* OUTLINE */
.btn-outline {
    background: transparent;
    border: 1px solid #a59c83;
    color: #a59c83;
}

.btn-outline:hover {
    background: #a59c83;
    color: #fff;
}

/* LINK STYLE */
.btn-link {
    background: transparent;
    color: #ccc;
    padding: 6px 0;
    font-size: 12px;
}

.btn-link:hover {
    color: #fff;
}

/* ACTIONS */
.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ===================== */
/* MODAL */
/* ===================== */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.cookie-modal-content {
    background: #f8f6f1;
    padding: 32px;
    width: 470px;
    max-width: 90%;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    animation: scaleIn 0.3s ease;
}

/* TITLE */
.cookie-title {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2b2b2b;
}

/* DESC */
.cookie-desc {
    font-size: 14px;
    color: #6b6b6b;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* OPTION */
.cookie-option {
    margin-bottom: 14px;
}

/* CHECKBOX */
.custom-check {
    display: flex;
    gap: 12px;
    cursor: pointer;
}

.custom-check input {
    position: absolute;
    opacity: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #a59c83;
    position: relative;
    margin-top: 5px;
}

.custom-check input:checked ~ .checkmark {
    background: #a59c83;
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.custom-check input:checked ~ .checkmark::after {
    display: block;
    left: 5px;
    top: 3px;
    width: 4px;
    height: 7px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

/* FOOTER */
.cookie-footer {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
}

/* ===================== */
/* ANIMATION */
/* ===================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================== */
/* MOBILE */
/* ===================== */
@media (max-width: 768px) {

    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie-box {
        max-width: 100%;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
    }

    .cookie-modal {
        align-items: flex-end;
    }

    .cookie-modal-content {
        width: 100%;
    }

    .cookie-footer {
        flex-direction: column;
        gap: 10px;
    }
}
