/* Simple Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: none;
}

.cookie-banner.cookie-visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-accept {
    background: #27ae60;
    color: white;
}

.cookie-accept:hover {
    background: #229954;
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-settings {
    background: #3498db;
    color: white;
}

.cookie-settings:hover {
    background: #2980b9;
}

/* Modal styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal-visible {
    opacity: 1;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

.cookie-modal-content {
    position: relative;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.cookie-modal-visible .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.cookie-modal-body {
    padding: 20px 24px;
}

.cookie-modal-body > p {
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-category {
    margin-bottom: 20px;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #3498db;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    margin-bottom: 8px;
}

.cookie-category-header label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

.cookie-category-header input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #27ae60;
}

.cookie-category-header input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.4;
}

.cookie-modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .cookie-modal-content {
        max-width: 95%;
        margin: 10px;
    }
    
    .cookie-modal-header {
        padding: 16px 20px 12px;
    }
    
    .cookie-modal-header h3 {
        font-size: 18px;
    }
    
    .cookie-modal-body {
        padding: 16px 20px;
    }
    
    .cookie-category {
        padding: 12px;
    }
    
    .cookie-modal-footer {
        padding: 12px 20px 16px;
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 12px 15px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-modal-content {
        max-width: 98%;
        margin: 5px;
        max-height: 95vh;
    }
    
    .cookie-modal-header {
        padding: 12px 16px 8px;
    }
    
    .cookie-modal-header h3 {
        font-size: 16px;
    }
    
    .cookie-modal-body {
        padding: 12px 16px;
    }
    
    .cookie-category {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .cookie-category-header label {
        font-size: 15px;
    }
    
    .cookie-category p {
        font-size: 13px;
    }
    
    .cookie-modal-footer {
        padding: 8px 16px 12px;
    }
} 