/**
 * Cookie Consent Styles for IAGestión
 */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

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

.cookie-consent-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

.cookie-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f2ff;
}

.cookie-text {
    flex: 1;
}

.cookie-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.cookie-text a {
    color: #00f2ff;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #00d2ff;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #0061ff, #00f2ff);
    color: white;
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 97, 255, 0.4);
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

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

    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        min-width: auto;
    }

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

    .cookie-btn {
        width: 100%;
    }

    .cookie-text strong {
        font-size: 1rem;
    }

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