﻿.cookie-consent-shell {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cookie-consent-card {
    position: relative;
    overflow: hidden;
    width: min(100%, 980px);
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(17, 24, 39, 0.92));
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: auto;
}

.cookie-consent-glow {
    position: absolute;
    inset: auto -4rem -5rem auto;
    width: 13rem;
    height: 13rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.28), rgba(59, 130, 246, 0));
    pointer-events: none;
}

.cookie-consent-card::before {
    content: "";
    position: absolute;
    top: -3rem;
    left: -2rem;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18), rgba(124, 58, 237, 0));
    pointer-events: none;
}

.cookie-consent-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 1.25rem;
    align-items: center;
}

.cookie-consent-content {
    position: relative;
    z-index: 1;
}

.cookie-consent-kicker {
    margin-bottom: 0.4rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(191, 219, 254, 0.9);
}

.cookie-consent-title {
    margin: 0 0 0.5rem;
    font-size: 1.08rem;
    font-weight: 800;
    color: #f8fafc;
}

.cookie-consent-text {
    margin: 0;
    max-width: 56rem;
    font-size: 0.94rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.9);
}

.cookie-consent-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.cookie-consent-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    font-weight: 700;
    color: #e2e8f0;
}

.cookie-consent-link {
    color: #bfdbfe;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

    .cookie-consent-link:hover {
        color: #dbeafe;
        text-decoration: underline;
    }

.cookie-consent-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.cookie-consent-btn {
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    border-width: 1px;
}

.cookie-consent-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}

    .cookie-consent-btn-primary:hover {
        color: #fff;
        background: linear-gradient(135deg, #1d4ed8, #4338ca);
    }

.cookie-consent-btn-secondary {
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.28);
}

    .cookie-consent-btn-secondary:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(148, 163, 184, 0.4);
    }

@media (max-width: 767.98px) {
    .cookie-consent-shell {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .cookie-consent-card {
        grid-template-columns: 1fr;
        padding: 1rem;
        border-radius: 20px;
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

        .cookie-consent-actions .cookie-consent-btn {
            width: 100%;
        }

    .cookie-consent-title {
        font-size: 1rem;
    }

    .cookie-consent-text {
        font-size: 0.9rem;
    }
}
