/* Cookie consent banner and settings modal. */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1rem 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-consent-icon {
    flex: 0 0 auto;
}

.cookie-consent-icon-sm {
    width: 14px;
    height: 14px;
}

.cookie-consent-icon-md {
    width: 20px;
    height: 20px;
}

.cookie-consent-icon-lg {
    width: 24px;
    height: 24px;
}

.cookie-consent-icon-category {
    width: 16px;
    height: 16px;
}

.cookie-consent-icon-primary {
    color: #1e3a8a;
}

.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.cookie-settings-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-dialog {
    width: 100%;
    max-width: 550px;
    margin: auto;
}

.cookie-settings-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.cookie-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f8f9fa;
}

.cookie-settings-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.cookie-settings-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f8f9fa;
}

.cookie-category {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-actions {
        justify-content: center;
        width: 100%;
    }

    .cookie-settings-footer {
        flex-direction: column;
    }

    .cookie-settings-footer .btn {
        width: 100%;
    }
}
