/**
 * HCLL Cookie Consent - Estilos
 * Utiliza las variables CSS del tema Astra para mantener consistencia
 */

.hcll-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--ast-global-color-0, #17402f);
    color: var(--ast-global-color-5, #ffffff);
    padding: 20px;
    z-index: 99999999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    font-family: var(--ast-font-family-body, inherit);
    animation: hcll-slide-up 0.4s ease-out;
}

@keyframes hcll-slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes hcll-slide-down {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.hcll-cookie-banner.hcll-hiding {
    animation: hcll-slide-down 0.3s ease-in forwards;
}

.hcll-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.hcll-cookie-text {
    margin: 0;
    flex: 1;
    font-size: var(--ast-font-size-body, 16px);
    line-height: 1.6;
    min-width: 280px;
}

.hcll-cookie-link {
    color: var(--ast-global-color-1, #83bfa5);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.hcll-cookie-link:hover,
.hcll-cookie-link:focus {
    color: var(--ast-global-color-5, #ffffff);
    text-decoration: none;
}

.hcll-accept-button {
    background-color: var(--ast-global-color-1, #83bfa5);
    color: var(--ast-global-color-0, #17402f);
    border: none;
    padding: 12px 30px;
    font-size: var(--ast-font-size-body, 16px);
    font-weight: 600;
    font-family: var(--ast-font-family-body, inherit);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hcll-accept-button:hover,
.hcll-accept-button:focus {
    background-color: var(--ast-global-color-5, #ffffff);
    color: var(--ast-global-color-0, #17402f);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hcll-accept-button:active {
    transform: translateY(0);
}

/* Responsive - Tablets */
@media (max-width: 768px) {
    .hcll-cookie-banner {
        padding: 15px;
    }

    .hcll-cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .hcll-cookie-text {
        font-size: 14px;
    }

    .hcll-accept-button {
        width: 100%;
        padding: 14px 30px;
    }
}

/* Responsive - Móviles pequeños */
@media (max-width: 480px) {
    .hcll-cookie-banner {
        padding: 12px;
    }

    .hcll-cookie-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .hcll-accept-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}
