/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 1000;
    border-top: 1px solid #333;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #E0E0E0;
}

.cookie-text a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    color: #F0F0F0;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-btn.accept {
    background-color: white;
    color: #1A1A1A;
}

.cookie-btn.accept:hover {
    background-color: #F0F0F0;
}

.cookie-btn.decline {
    background-color: transparent;
    color: white;
    border: 1px solid #666;
}

.cookie-btn.decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #999;
}

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

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

/* Cookie Customization Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal-content {
    background-color: white;
    margin: 5% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #F0F0F0;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    color: #1A1A1A;
}

.cookie-modal-close {
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.cookie-modal-close:hover {
    color: #333;
}

.cookie-modal-body {
    padding: 32px;
}

.cookie-modal-body > p {
    margin-bottom: 24px;
    color: #666;
    line-height: 1.6;
}

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

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-category-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-category-header input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-category-header label {
    cursor: pointer;
    font-size: 16px;
    color: #1A1A1A;
}

.cookie-category p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-left: 30px;
}

.cookie-modal-footer {
    padding: 24px 32px;
    border-top: 1px solid #F0F0F0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-modal-footer .cookie-btn {
    padding: 12px 24px;
    font-size: 14px;
}

/* Responsive design for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 100px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .cookie-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 20px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer .cookie-btn {
        width: 100%;
        max-width: none;
    }
}