/**
 * Cookie Consent Banner Styles - Clean Professional Design
 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid #e2e8f0;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem 2rem;
}

.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
}

.cookie-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--ui2-accent-fill-hover, #4338ca) 0%, var(--ui2-accent-fill-hover, #4338ca) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(var(--ui2-accent-rgb, 81, 69, 205), 0.25);
}

.cookie-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.cookie-banner-text p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--ui2-accent-hover, #4338ca);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.cookie-banner-text a:hover {
    color: var(--ui2-accent-hover, #4338ca);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--ui2-accent-fill-hover, #4338ca) 0%, var(--ui2-accent-fill, #5145cd) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--ui2-accent-rgb, 81, 69, 205), 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--ui2-accent-rgb, 81, 69, 205), 0.4);
}

.cookie-btn-reject {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.cookie-btn-reject:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.25rem;
        gap: 1.25rem;
    }

    .cookie-banner-text {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .cookie-icon {
        width: 40px;
        height: 40px;
    }

    .cookie-icon svg {
        width: 20px;
        height: 20px;
    }

    .cookie-banner-text p {
        font-size: 0.875rem;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

/* Animación de entrada suave */
.cookie-banner.show .cookie-banner-content {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}