#cb-cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;

    max-height: 80%;
    height: auto;
    max-width: 800px;
    width: 90%;
    padding: 30px;

    background: #fff;       /* fondo claro */
    color: #333;            /* texto legible */
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);

    display: none;
    text-align: center;
}

#cookies-pop-up {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cb-cookie-banner h2 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: bold;
}

#cb-cookie-banner p {
    margin: 8px 0;
}

#cb-cookie-banner .small {
    font-size: 0.9rem;
    color: #555;
}

#pop-up-link  {
    color: black;
    font-weight: bold;
    transition: color 0.3s ease;
}

#pop-up-link:hover  {
    color: var(--unlink-users-btn-hover);
}

.pop-up-text {
    color: black !important;
}

#cb-cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7); 
    z-index: 9998;
    display: none;
}

/* Estilos para la tabla de cookies */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 0.9rem;
}

.cookies-table th, .cookies-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cookies-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.cookie-name {
    font-weight: bold;
    width: 25%;
}

.cookie-desc {
    width: 60%;
}

.cookie-toggle {
    width: 15%;
    text-align: center;
}

.cookie-required {
    color: #6c757d;
    font-style: italic;
}

.cookie-toggle input[type="checkbox"] {
    transform: scale(1.2);
}

.cookie-toggle input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-category {
    font-weight: bold;
    background-color: #f1f3f4;
}

.cookie-row {
    transition: background-color 0.2s;
}

.cookie-row:hover {
    background-color: #f8f9fa;
}

.btn-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

@media (max-width: 576px) {
    #cb-cookie-banner {
        padding: 10px;
    }
    
    .cookies-table {
        font-size: 0.8rem;
    }
    
    .cookies-table th, .cookies-table td {
        padding: 8px 5px;
    }
    
    .btn-container {
        flex-direction: column;
    }
}