.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    z-index: 9999;
    padding: 16px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
}

.cookie-banner-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
    align-items: center;
}

.cookie-banner-copy h3 {
    margin: 0 0 6px;
    color: #e5e7eb;
    font-size: 16px;
}

.cookie-banner-copy p {
    margin: 0;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
    width: min(560px, 90vw);
    max-height: 80vh;
    overflow: auto;
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
}

.cookie-modal-close:hover {
    color: #111827;
    background: rgba(148, 163, 184, 0.15);
}

.cookie-modal-body {
    padding: 20px;
}

.cookie-modal-body p {
    margin: 0 0 16px;
    color: #374151;
    line-height: 1.6;
}

.cookie-setting-item {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    background: rgba(249, 250, 251, 0.6);
}

.cookie-setting-item label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #111827;
}

.cookie-setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0f766e;
}

.cookie-setting-item p {
    margin: 8px 0 0 30px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        grid-template-columns: 1fr;
    }

    .cookie-banner-actions {
        justify-content: center;
    }
}