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

.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: 2rem;
}

.cookie-content {
    flex: 1;
}

.cookie-content h4 {
    margin: 0 0 0.5rem 0;
    color: #FFD700;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.95rem;
}

.cookie-content a {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-content a:hover {
    color: #FFC700;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 90px;
    white-space: nowrap;
}

.cookie-btn-accept,
.cookie-btn-accept-all {
    background: linear-gradient(135deg, #FF6B9D, #E55A87);
    color: white;
}

.cookie-btn-accept:hover,
.cookie-btn-accept-all:hover {
    background: linear-gradient(135deg, #E55A87, #CC4E75);
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-customize {
    background: linear-gradient(135deg, #008B8B, #006B6B);
    color: white;
}

.cookie-btn-customize:hover {
    background: linear-gradient(135deg, #006B6B, #005555);
    transform: translateY(-1px);
}

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

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

.cookie-settings-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.cookie-settings-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.4rem;
}

.cookie-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

.cookie-category h4 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.1rem;
}

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

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

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

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

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

.cookie-toggle input:checked + .cookie-slider {
    background-color: #008B8B;
}

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

.cookie-toggle input:disabled + .cookie-slider {
    background-color: #008B8B;
    opacity: 0.6;
    cursor: not-allowed;
}

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

/* Responsive design for cookie banner */
@media (max-width: 768px) {
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .cookie-content p {
        font-size: 0.9rem;
    }
    
    .cookie-settings-content {
        padding: 20px;
        margin: 10px;
    }
    
    .cookie-settings-actions {
        flex-direction: column;
    }
    
    .cookie-settings-actions .cookie-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-content h4 {
        font-size: 1rem;
    }
    
    .cookie-content p {
        font-size: 0.85rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 12px;
    }
}