/* Cookie Banner Styles */

#cookie-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
    display: none;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner-header {
    margin-bottom: 15px;
}

.cookie-banner-header h2 {
    color: #667eea;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.cookie-banner-text {
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-banner-text a {
    color: #667eea;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-banner-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-banner-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cookie-banner-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.cookie-banner-btn-secondary {
    background: #6c757d;
    color: white;
}

.cookie-banner-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.cookie-banner-btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.cookie-banner-btn-outline:hover {
    background: #667eea;
    color: white;
}

/* Cookie Settings Modal */
#cookie-settings {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
    display: none;
    animation: slideUp 0.3s ease-out;
}

.cookie-settings-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.cookie-settings-header h2 {
    color: #667eea;
    font-size: 1.8em;
    margin: 0;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.cookie-settings-close:hover {
    background: #f0f0f0;
    color: #333;
}

.cookie-category {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cookie-category-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-category-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-category-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.cookie-category-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.cookie-category-toggle input:checked + .cookie-category-slider {
    background-color: #667eea;
}

.cookie-category-toggle input:checked + .cookie-category-slider:before {
    transform: translateX(24px);
}

.cookie-category-description {
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}

.cookie-category-necessary {
    border-color: #667eea;
    background: #f0f4ff;
}

.cookie-category-necessary .cookie-category-toggle {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-settings-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cookie-settings-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-settings-btn-save {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cookie-settings-btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.cookie-settings-btn-cancel {
    background: #6c757d;
    color: white;
}

.cookie-settings-btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    #cookie-banner,
    #cookie-settings {
        padding: 15px;
    }

    .cookie-banner-header h2,
    .cookie-settings-header h2 {
        font-size: 1.2em;
    }

    .cookie-banner-buttons {
        flex-direction: column;
    }

    .cookie-banner-btn {
        width: 100%;
    }

    .cookie-settings-buttons {
        flex-direction: column;
    }

    .cookie-settings-btn {
        width: 100%;
    }
}

