/* Cookie Banner - Fixed Colors */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(51, 51, 51, 0.98);
    color: white;
    padding: 25px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

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

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

#cookie-banner h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#cookie-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

#cookie-banner .cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

#cookie-banner button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

#cookie-banner #acceptAll {
    background: linear-gradient(135deg, #4c9d2a 0%, #3d7d21 100%);
    color: white;
}

#cookie-banner #acceptAll:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 157, 42, 0.4);
}

#cookie-banner #rejectAll {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
}

#cookie-banner #rejectAll:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

#cookie-banner #cookieSettings {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
}

#cookie-banner #cookieSettings:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

/* Cookie Settings Modal */
#cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.cookie-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
}

.cookie-modal-content h2 {
    color: #333;
    margin-bottom: 20px;
}

.cookie-category {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
}

.cookie-category h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cookie-category p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: #ccc;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-switch.active {
    background: #4c9d2a;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.toggle-switch.active::after {
    left: 33px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-end;
}

.modal-buttons button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-buttons .btn-primary {
    background: linear-gradient(135deg, #4c9d2a 0%, #3d7d21 100%);
    color: white;
}

.modal-buttons .btn-secondary {
    background: #e9ecef;
    color: #333;
}

@media (max-width: 768px) {
    #cookie-banner .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #cookie-banner .cookie-buttons {
        width: 100%;
    }
    
    #cookie-banner button {
        flex: 1;
        min-width: 0;
    }
}
