/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0d0d0d;
    color: #fff;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    font-family: 'Inter', sans-serif;
}

.cookie-banner__content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
}

.cookie-banner__text {
    flex: 1;
    min-width: 260px;
}

.cookie-banner__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #fff;
}

.cookie-banner__body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.8rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: 1px solid transparent;
}

.cookie-btn--primary {
    background: #ffffff;
    color: #0d0d0d;
    border-color: #ffffff;
}

.cookie-btn--primary:hover {
    background: #e0e0e0;
}

.cookie-btn--ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.4);
}

.cookie-btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
}

.cookie-btn--link {
    background: transparent;
    color: #ffffff;
    text-decoration: underline;
    padding: 0.7rem 0.5rem;
}

/* Settings Page */
.cookie-settings-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.cookie-setting-group {
    border-bottom: 1px solid #eaeaea;
    padding: 1.5rem 0;
}

.cookie-setting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.cookie-setting-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    color: #0d0d0d;
}

.cookie-setting-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle__slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background-color: #0d0d0d;
}

.cookie-toggle input:checked + .cookie-toggle__slider:before {
    transform: translateX(24px);
}

.cookie-toggle--disabled .cookie-toggle__slider {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.cookie-toggle--disabled .cookie-toggle__slider:before {
    background-color: #aaa;
}

.cookie-settings-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-setting-header {
        flex-direction: column;
    }
}