/*!
 * Copyright (c) 2026 AbuEin Technologies — Salaheddin AbuEin <salaheddin@abuein.dev>
 * https://abuein.dev/
 * SPDX-License-Identifier: MIT
 */

@layer components {

    /* ===== Cookie Notice ===== */
    .cookie-notice {
        position: fixed;
        bottom: var(--spacing-lg);
        left: var(--spacing-lg);
        right: var(--spacing-lg);
        z-index: var(--z-modal);
        display: none;
    }

    .cookie-notice.show {
        display: block;
        animation: slideUp 0.3s ease;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .cookie-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--spacing-lg);
        max-width: 900px;
        margin: 0 auto;
        padding: var(--spacing-lg) var(--spacing-xl);
        background-color: var(--color-surface);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-xl);
    }

    .cookie-content p {
        font-size: var(--text-sm);
        color: var(--color-text-secondary);
    }

    .cookie-actions {
        display: flex;
        gap: var(--spacing-sm);
        flex-shrink: 0;
    }

}