/* Cookie Widget Styles */
.cookie-widget {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    font-family: 'Arial', sans-serif;
}

.cookie-widget.show {
    transform: translateY(0);
}

.cookie-widget-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-widget-text {
    flex: 1;
    min-width: 300px;
}

.cookie-widget h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #ff6b35;
}

.cookie-widget p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

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

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.cookie-btn-accept {
    background: #ff6b35;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cookie-btn-decline:hover {
    background: #fff;
    color: #2c3e50;
}

.cookie-btn-settings {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.cookie-btn-settings:hover {
    background: #ff6b35;
    color: #fff;
}

.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings.show {
    display: flex;
}

.cookie-settings-content {
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-settings-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.cookie-settings h2 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 24px;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.cookie-category h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 18px;
}

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

.cookie-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-switch.active {
    background: #ff6b35;
}

.cookie-switch-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-switch.active .cookie-switch-slider {
    transform: translateX(26px);
}

.cookie-settings-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.cookie-settings-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-settings-save {
    background: #ff6b35;
    color: #fff;
}

.cookie-settings-save:hover {
    background: #e55a2b;
}

.cookie-settings-cancel {
    background: #f0f0f0;
    color: #333;
}

.cookie-settings-cancel:hover {
    background: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-widget-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-widget-text {
        min-width: auto;
    }
    
    .cookie-widget-actions {
        justify-content: center;
    }
    
    .cookie-settings-content {
        padding: 20px;
        margin: 10px;
    }
    
    .cookie-settings-actions {
        flex-direction: column;
    }
    
    .cookie-settings-btn {
        width: 100%;
    }
}
