/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1B4332 0%, #2D5016 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 -4px 20px rgba(27, 67, 50, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #E8D5B7;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cookie-accept {
    background-color: #00C9A7;
    color: white;
}

.cookie-accept:hover {
    background-color: #00B096;
    transform: translateY(-1px);
}

.cookie-decline {
    background-color: #666;
    color: white;
}

.cookie-decline:hover {
    background-color: #555;
    transform: translateY(-1px);
}

.cookie-customize {
    background-color: transparent;
    color: white;
    border: 1px solid #00C9A7;
}

.cookie-customize:hover {
    background-color: rgba(0, 201, 167, 0.1);
    transform: translateY(-1px);
}

.cookie-link {
    color: #00C9A7;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: underline;
}

.cookie-link:hover {
    color: white;
}

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

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

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal h3 {
    color: #1B4332;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.cookie-option {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
}

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

.cookie-option h4 {
    color: #1B4332;
    font-size: 1.1rem;
    margin: 0;
}

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

.cookie-toggle.active {
    background: #00C9A7;
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle.active::after {
    transform: translateX(26px);
}

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

.cookie-option p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    justify-content: flex-end;
}

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

.cookie-modal-save {
    background-color: #00C9A7;
    color: white;
}

.cookie-modal-save:hover {
    background-color: #00B096;
}

.cookie-modal-cancel {
    background-color: #666;
    color: white;
}

.cookie-modal-cancel:hover {
    background-color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-btn,
    .cookie-link {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .cookie-modal-content {
        padding: 20px;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px 0;
    }
    
    .cookie-content {
        padding: 0 15px;
        gap: 15px;
    }
    
    .cookie-actions {
        gap: 10px;
    }
    
    .cookie-btn,
    .cookie-link {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .cookie-modal-content {
        padding: 15px;
    }
}