.cookie-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 99999;
}

.cookie-widget-toggle {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #353642;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 0;
    box-sizing: border-box;
    transition: transform 0.15s ease, background 0.15s ease;
}

.cookie-widget-toggle:hover,
.cookie-widget-open .cookie-widget-toggle {
    background: #2a2b34;
    transform: scale(1.04);
}

.cookie-widget-icon {
    font-size: 1.25rem;
    line-height: 1;
    display: block;
    pointer-events: none;
}

.cookie-message-panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + 12px);
    width: min(340px, calc(100vw - 40px));
}

.cookie-message-panel[hidden] {
    display: none;
}

.cookie-message-inner {
    background: #353642;
    color: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.cookie-message-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cookie-message-inner p {
    margin: 0 0 14px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.cookie-message-inner a {
    color: #fff;
    text-decoration: underline;
}

.cookie-message-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    font-weight: 600;
    font-size: 0.82rem;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    line-height: 1.2;
}

.cookie-btn-accept {
    border: none;
    background: #30bd9b;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #28a889;
}

.cookie-btn-decline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 767px) {
    .cookie-widget {
        left: 15px;
        bottom: 15px;
    }

    .cookie-message-panel {
        width: min(300px, calc(100vw - 30px));
    }
}
