/**
 * Premium Cookie Consent Banner Styling
 * Matches the platform's glassmorphism aesthetic.
 */

.consent-banner-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 400px;
    padding: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.consent-banner-wrapper.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.consent-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.consent-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.consent-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

.consent-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.consent-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
}

.consent-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

@media (max-width: 480px) {
    .consent-banner-wrapper {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* Floating Gear Icon */
.consent-gear-trigger {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.consent-gear-trigger:hover {
    color: var(--primary);
    transform: rotate(90deg) scale(1.1);
    border-color: var(--primary-glow);
}

.consent-gear-trigger i {
    font-size: 1.2rem;
}
