/* Cookie Notification - Compact bottom-left banner */
.cookie-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 380px;
    background: linear-gradient(135deg, #0F131C 0%, #161D2B 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
    padding: 20px;
    z-index: 9998;
    animation: slideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-notification__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-notification__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-notification__link {
    color: #38BDF8;
    text-decoration: none;
    transition: color 0.2s;
}

.cookie-notification__link:hover {
    color: #7DD3FC;
    text-decoration: underline;
}

.cookie-notification__actions {
    display: flex;
    gap: 10px;
}

.cookie-notification__btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-notification__btn--accept {
    background: #38BDF8;
    color: #0A0D12;
}

.cookie-notification__btn--accept:hover {
    background: #7DD3FC;
    transform: translateY(-1px);
}

.cookie-notification__btn--settings {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-notification__btn--settings:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-settings-modal__dialog {
    position: relative;
    background: linear-gradient(135deg, #0F131C 0%, #161D2B 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    max-width: 480px;
    width: 100%;
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cookie-settings-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-settings-modal__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.cookie-settings-modal__close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.cookie-settings-modal__close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.cookie-settings-modal__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-category {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-category__label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.cookie-category__checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #38BDF8;
}

.cookie-category__checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-category__name {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-category__badge {
    margin-left: auto;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.cookie-category__desc {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    padding-left: 32px;
}

.cookie-settings-modal__footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
}

.cookie-settings-modal__btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-settings-modal__btn--primary {
    background: #38BDF8;
    color: #0A0D12;
}

.cookie-settings-modal__btn--primary:hover {
    background: #7DD3FC;
    transform: translateY(-1px);
}

.cookie-settings-modal__btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-settings-modal__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .cookie-notification {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .cookie-notification__actions {
        flex-direction: column;
    }

    .cookie-settings-modal__dialog {
        margin: 0;
    }

    .cookie-settings-modal__footer {
        flex-direction: column;
    }
}
