.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--background-color-cookies);
    color: var(--text-color);
    padding: 0.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s ease;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent a {
    text-decoration: none;
    color: var(--color1-hover);
}

.cookie-consent a:hover {
    text-decoration: underline;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-consent-content {
    flex: 1;
    margin-right: 1rem;
    /* max-width: 800px; */
}

.cookie-consent-brand {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cookie-consent-text {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Estilos mejorados para los botones */
.cookie-btn {
    padding: 1rem 1.6rem;  /* Padding mayor */
    border-radius: 2.5rem;  /* Esquinas más redondeadas */
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    text-align: center;
    margin: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.cookie-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.cookie-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Botón primario - con fondo contrastante */
.cookie-btn-primary {
    background-color: var(--color1);
    border: 2px solid var(--color1);
    color: rgb(0, 0, 0);
}

.cookie-btn-primary:hover {
    background-color: var(--color1-hover);
    border-color: var(--color1-hover);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cookie-btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Botón secundario - solo contorno */
.cookie-btn-secondary {
    background-color: transparent;
    color: var(--color1);
    border: 2px solid var(--color1);
}

.cookie-btn-secondary:hover {
    background-color: rgba(var(--color1-rgb), 0.1);
    transform: translateY(-3px);
}

.cookie-btn-secondary:active {
    transform: translateY(-1px);
}

/* Botón de rechazo - más sutil */
.cookie-btn-reject {
    background-color: transparent;
    color: var(--text-color-tertiary);
    border: none;
    text-decoration: underline;
    padding: 0.8rem 1rem;
    min-width: auto;
}

.cookie-btn-reject:hover {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .cookie-consent {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .cookie-consent-content {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .cookie-consent-actions {
        justify-content: center;
        width: 100%;
    }
}
