.cookie-banner-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    padding: 0;
    animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner {
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    padding: 1.5rem 2rem;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    font-family: 'Inter', Arial, sans-serif;
}

.cookie-banner h3 {
    color: #2c3e2d;
    font-size: 1.1rem;
    margin: 0 0 0.6rem 0;
}

.cookie-banner p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.cookie-banner a {
    color: #2ecc71;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: 'Inter', Arial, sans-serif;
}

.cookie-btn-accept {
    background: #2ecc71;
    color: white;
}

.cookie-btn-accept:hover {
    background: #27ae60;
}

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

.cookie-btn-necessary:hover {
    background: #e0e0e0;
}

.cookie-btn-settings {
    background: transparent;
    color: #888;
    text-decoration: underline;
    padding: 0.6rem 0.5rem;
}

.cookie-btn-settings:hover {
    color: #555;
}

.cookie-details {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.cookie-details.open {
    display: block;
}

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

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-name {
    font-weight: 600;
    color: #333;
    font-size: 0.85rem;
}

.cookie-category-desc {
    color: #888;
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

.cookie-toggle {
    position: relative;
    width: 42px;
    height: 24px;
    margin-left: 1rem;
    flex-shrink: 0;
}

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

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: #2ecc71;
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background: #a5d6a7;
    cursor: not-allowed;
}

.cookie-btn-save {
    margin-top: 0.8rem;
    background: #2c3e2d;
    color: white;
}

.cookie-btn-save:hover {
    background: #3d5240;
}

.cookie-settings-link {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 99998;
    background: #2c3e2d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cookie-settings-link:hover {
    background: #3d5240;
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .cookie-banner {
        padding: 1.2rem 1rem;
    }
    .cookie-buttons {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}
