/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    font-family: 'Inter', sans-serif;
    display: none; /* hidden by default, shown by JS if no consent */
    flex-direction: column;
    gap: 15px;
}

.cookie-banner.show {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

.cookie-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.cookie-option label {
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cookie-accept {
    background: var(--primary);
    color: white;
}

.btn-cookie-accept:hover {
    background: var(--primary-hover);
}

.btn-cookie-save {
    background: transparent;
    border: 1px solid var(--border) !important;
    color: var(--text);
}

.btn-cookie-save:hover {
    background: var(--surface);
}

.btn-cookie-deny {
    background: transparent;
    color: var(--text-muted);
}

.btn-cookie-deny:hover {
    text-decoration: underline;
}

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

/* Blocked Content Placeholder */
.blocked-content {
    background: var(--surface);
    border: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    height: 100%;
    min-height: 200px;
    border-radius: 8px;
}

.blocked-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
