@charset "UTF-8";
/* Banner de Cookies - Estilo Zero Tracking - Diciembre 2025 */

/* ========================================
   BANNER PRINCIPAL
======================================== */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #58c433;
    z-index: 999999;
    animation: slideUp 0.5s ease-out;
    display: none;
}

.cookies-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookies-banner__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookies-banner__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.cookies-banner__icon svg {
    width: 100%;
    height: 100%;
    fill: #58c433;
    filter: drop-shadow(0 2px 4px rgba(88, 196, 51, 0.2));
}

.cookies-banner__content {
    flex: 1;
    min-width: 0;
}

.cookies-banner__title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cookies-banner__badge {
    display: inline-block;
    background: linear-gradient(135deg, #58c433 0%, #45a028 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(88, 196, 51, 0.3);
}

.cookies-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

.cookies-banner__text strong {
    color: #58c433;
    font-weight: 600;
}

.cookies-banner__text a {
    color: #58c433;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cookies-banner__text a:hover {
    color: #45a028;
}

.cookies-banner__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookies-banner__button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.cookies-banner__button--info {
    background: transparent;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.cookies-banner__button--info:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-2px);
}

.cookies-banner__button--accept {
    background: linear-gradient(135deg, #58c433 0%, #45a028 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(88, 196, 51, 0.3);
}

.cookies-banner__button--accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 196, 51, 0.4);
}

/* ========================================
   BOTÓN FLOTANTE
======================================== */
.cookies-float-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #58c433 0%, #45a028 100%);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(88, 196, 51, 0.4);
    cursor: pointer;
    z-index: 999998;
    transition: all 0.3s ease;
    display: none;
    padding: 12px;
}

.cookies-float-button.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.cookies-float-button svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.cookies-float-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(88, 196, 51, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   MODAL
======================================== */
.cookies-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.3s ease-out;
}

.cookies-modal.show {
    display: flex;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookies-modal__content {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUpModal 0.3s ease-out;
}

@keyframes slideUpModal {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookies-modal__header {
    padding: 30px 30px 20px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookies-modal__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
}

.cookies-modal__close {
    background: none;
    border: none;
    font-size: 32px;
    color: #a0aec0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cookies-modal__close:hover {
    background: #f7fafc;
    color: #4a5568;
    transform: rotate(90deg);
}

.cookies-modal__body {
    padding: 30px;
}

.cookies-modal__intro {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f9ed 100%);
    border-left: 4px solid #58c433;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.cookies-modal__intro-icon {
    font-size: 24px;
    margin-right: 8px;
}

.cookies-modal__description {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #2d3748;
}

/* ========================================
   CATEGORÍAS DE COOKIES
======================================== */
.cookies-category {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.cookies-category:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cookies-category--negative {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border-color: #fed7d7;
}

.cookies-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.cookies-category__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookies-category__icon {
    font-size: 20px;
}

.cookies-category__badge {
    background: linear-gradient(135deg, #58c433 0%, #45a028 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cookies-category__description {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

.cookies-category__list {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.cookies-category__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #2d3748;
}

.cookies-category__list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #58c433;
    font-weight: 700;
}

.cookies-category--negative .cookies-category__list li::before {
    content: "";
}

.cookies-modal__footer {
    padding: 20px 30px;
    border-top: 2px solid #e2e8f0;
    display: flex;
    justify-content: center;
}

/* ========================================
   RESPONSIVE
======================================== */
@media screen and (max-width: 768px) {
    .cookies-banner__container {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .cookies-banner__icon {
        width: 40px;
        height: 40px;
    }

    .cookies-banner__content {
        text-align: center;
    }

    .cookies-banner__title {
        font-size: 16px;
        justify-content: center;
    }

    .cookies-banner__badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .cookies-banner__text {
        font-size: 13px;
    }

    .cookies-banner__buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookies-banner__button {
        width: 100%;
        padding: 12px 20px;
    }

    .cookies-float-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .cookies-modal__content {
        max-height: 95vh;
        border-radius: 12px;
    }

    .cookies-modal__header {
        padding: 20px 20px 15px;
    }

    .cookies-modal__title {
        font-size: 20px;
    }

    .cookies-modal__body {
        padding: 20px;
    }

    .cookies-modal__footer {
        padding: 15px 20px;
    }

    .cookies-category {
        padding: 15px;
    }

    .cookies-category__title {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .cookies-banner__title {
        font-size: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cookies-banner__text {
        font-size: 12px;
    }

    .cookies-modal__title {
        font-size: 18px;
    }

    .cookies-category__title {
        font-size: 15px;
    }
}