.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    padding: 1rem;
    pointer-events: none;
}

.cookie-consent__panel {
    max-width: 960px;
    margin: 0 auto;
    background: #1e293b;
    color: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.35);
    padding: 1.1rem 1.25rem;
    pointer-events: auto;
}

.cookie-consent__main {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.cookie-consent__text {
    flex: 1 1 280px;
    min-width: 0;
}

.cookie-consent__text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.cookie-consent__text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #cbd5e1;
}

.cookie-consent__text a {
    color: #93c5fd;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.cookie-consent__actions--end {
    margin-top: 0.85rem;
}

.cookie-consent__btn {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.3;
}

.cookie-consent__btn--primary {
    background: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
}

.cookie-consent__btn--primary:hover {
    background: #34495e;
    border-color: #34495e;
}

.cookie-consent__btn--secondary {
    background: transparent;
    border-color: #64748b;
    color: #f8fafc;
}

.cookie-consent__btn--secondary:hover {
    border-color: #94a3b8;
}

.cookie-consent__btn--ghost {
    background: transparent;
    border-color: transparent;
    color: #cbd5e1;
    text-decoration: underline;
}

.cookie-consent__btn--ghost:hover {
    color: #fff;
}

.cookie-consent__settings {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.cookie-consent__category {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.cookie-consent__category strong {
    display: block;
    font-size: 0.92rem;
}

.cookie-consent__category span {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}

.cookie-consent__switch {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: #cbd5e1;
    white-space: nowrap;
    margin: 0;
}

.cookie-consent__switch input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: #2c3e50;
}

@media (max-width: 640px) {
    .cookie-consent {
        padding: 0.75rem;
    }

    .cookie-consent__actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-consent__btn {
        flex: 1 1 auto;
        text-align: center;
    }
}
