.cookie-modal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 450px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-modal-content {
    padding: 24px;
}

.cookie-modal-header {
    margin-bottom: 20px;
}

.cookie-modal-header h3 {
    margin: 0 0 8px 0;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
}

.cookie-modal-header p {
    margin: 0;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

.cookie-modal-body {
    margin: 20px 0;
}

.cookie-category {
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category-header h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

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

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

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

input:checked + .cookie-toggle-label {
    background-color: #007cba;
}

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

.cookie-toggle.disabled {
    opacity: 0.6;
}

.cookie-toggle.disabled .cookie-toggle-label {
    cursor: not-allowed;
}

.cookie-category p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.cookie-modal-footer {
    text-align: center;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cookie-buttons > .button {
    flex-grow: 1;
}

.cookie-link {
    color: #007cba;
    text-decoration: none;
    font-size: 13px;
}

.cookie-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-modal {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        min-width: auto;
    }
}