.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-300);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 24px;
    z-index: 1000;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.cookie-banner-text p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

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

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-banner-btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.cookie-banner-btn-accept {
    background: var(--accent);
    color: var(--white);
    border: none;
}

.cookie-banner-btn-accept:hover {
    background: #059669;
}

.cookie-banner-btn-reject {
    background: var(--gray-200);
    color: var(--charcoal);
    border: none;
}

.cookie-banner-btn-reject:hover {
    background: var(--gray-300);
}

.cookie-banner-btn-customize {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cookie-banner-btn-customize:hover {
    background: var(--gray-50);
}

.cookie-preferences {
    display: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.cookie-preferences.show {
    display: block;
}

.cookie-preference-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 8px;
}

.cookie-preference-item label {
    flex: 1;
    cursor: pointer;
}

.cookie-preference-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.cookie-preference-desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.4;
}

.cookie-preference-item input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.cookie-preference-item input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-preferences-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .cookie-banner-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-banner-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-preferences-actions {
        flex-direction: column;
    }

    .cookie-preferences-actions .cookie-banner-btn {
        width: 100%;
    }
}
