/* Cookie Consent Banner Styles */
#cookieConsentBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    font-family: Arial, sans-serif;
}

#cookieConsentBanner.show {
    display: block;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookie-consent-message {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-message h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #00B482;
}

.cookie-consent-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-consent-btn-accept {
    background-color: #00B482;
    color: white;
}

.cookie-consent-btn-accept:hover {
    background-color: #009970;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 180, 130, 0.3);
}

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-buttons {
        justify-content: center;
        width: 100%;
    }

    .cookie-consent-btn {
        flex: 1;
        min-width: 100px;
    }
}

/* Cookie Settings Modal (optional enhancement) */
#cookieSettingsModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    padding: 20px;
}

#cookieSettingsModal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-content {
    background: white;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-content h2 {
    margin-top: 0;
    color: #00B482;
}

.cookie-type {
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

.cookie-type h4 {
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.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.4s;
    border-radius: 24px;
}

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

input:checked + .cookie-slider {
    background-color: #00B482;
}

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

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}
