#cookie-consent {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 320px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    padding: 24px;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    display: none;
}

#cookie-consent.visible {
    transform: translateY(0);
    opacity: 1;
}

.consent-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.consent-text {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.consent-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-consent {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-accept {
    background: #008CD6;
    color: #fff;
    flex: 1;
}

.btn-accept:hover {
    background: #0078b8;
}

.btn-decline {
    background: #f0f0f0;
    color: #333;
}

.btn-decline:hover {
    background: #e0e0e0;
}

.btn-settings {
    background: transparent;
    color: #008CD6;
    border: 1.5px solid #008CD6;
    padding: 7px 14px;
}

.btn-settings:hover {
    background: rgba(0,140,214,0.08);
}

.consent-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.consent-category-info {
    display: flex;
    flex-direction: column;
}

.consent-category-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.consent-always-on {
    font-size: 11px;
    color: #008CD6;
    margin-top: 2px;
}

.consent-toggle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    margin: 0;
    cursor: pointer;
}

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

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #ddd;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.consent-toggle input:checked + .toggle-slider {
    background: #008CD6;
}

.consent-toggle input:checked + .toggle-slider:before {
    transform: translateX(18px);
}

#consent-necessary {
    accent-color: #008CD6;
    width: 18px;
    height: 18px;
}

#cookie-settings-link {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
}

@media (max-width: 400px) {
    #cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
    }
}
