/* ===================================== */
/* COOKIES */
/* ===================================== */

body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    color: #111827;
    margin: 0;
}

/* CONTENEDOR */
.cookies-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* TITULOS */
h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

h2 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* TEXTO */
p {
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
}

/* LISTAS */
ul {
    padding-left: 20px;
    color: #4b5563;
}

li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* DESTACADO */
.highlight {
    color: #0DAF99;
    font-weight: 500;
}

/* FECHA */
.last-update {
    margin-top: 40px;
    font-size: 13px;
    color: #9ca3af;
}

/* ===================================== */
/* MARCA DE AGUA (igual que privacidad) */
/* ===================================== */

body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 500px;
    height: 500px;

    background-image: url("/ShinkaDesign/Imagenes/MarcaDeAguaShinka.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    opacity: 0.05;

    pointer-events: none;
    z-index: 0;
}
/* ===================================== */
/* OVERLAY BLUR */
/* ===================================== */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;

    z-index: 99998;
}

.cookie-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===================================== */
/* BANNER */
/* ===================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    max-width: 650px;

    background: #111827;
    color: #f9fafb;

    padding: 16px;
    border-radius: 12px;

    z-index: 99999;

    display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.cookie-actions button {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.btn-accept {
    background: #e5e7eb;
    color: #111827;
}

.btn-reject {
    background: #374151;
    color: white;
}

.btn-config {
    background: #6b7280;
    color: white;
}

/* ===================================== */
/* CONFIG PANEL */
/* ===================================== */
.cookie-config {
    display: none;
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    max-width: 400px;

    background: white;
    border: 1px solid #e5e7eb;

    padding: 20px;
    border-radius: 12px;

    z-index: 100000;
}

.cookie-config h3 {
    margin-bottom: 12px;
}

.cookie-config label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.cookie-config button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #111827;
    color: white;
    cursor: pointer;
}