/* Cookie Consent Banner Styles */

.cookie-consent-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999999 !important;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #c9a961;
    display: block !important;
    visibility: visible !important;
}

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

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

.cookie-content {
    flex: 1;
}

.cookie-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #c9a961;
}

.cookie-message {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.9;
}

.cookie-message a {
    color: #c9a961;
    text-decoration: underline;
}

.cookie-message a:hover {
    color: #ffffff;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.cookie-btn-accept {
    background: #c9a961;
    color: #1a1a1a;
}

.cookie-btn-accept:hover {
    background: #d4b976;
    transform: translateY(-2px);
}

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

.cookie-btn-decline:hover {
    background: #555;
    border-color: #777;
}

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

.cookie-btn-customize:hover {
    background: #c9a961;
    color: #1a1a1a;
}

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

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

.cookie-modal-content {
    background: #ffffff;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-modal-header {
    padding: 25px 25px 20px 25px;
    border-bottom: 1px solid #eee;
}

.cookie-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.cookie-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

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

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

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

.cookie-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

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

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

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

.cookie-toggle-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-toggle-slider {
    background-color: #c9a961;
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #c9a961;
    cursor: not-allowed;
}

.cookie-category-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.cookie-category-examples {
    font-size: 13px;
    color: #888;
    font-style: italic;
}

.cookie-modal-footer {
    padding: 20px 25px 25px 25px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.cookie-modal-footer .cookie-btn {
    min-width: 100px;
}

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

    .cookie-buttons {
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        min-width: auto;
    }

    .cookie-modal-content {
        margin: 10px;
        max-height: 90vh;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 20px;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 15px;
    }

    .cookie-title {
        font-size: 16px;
    }

    .cookie-message {
        font-size: 13px;
    }

    .cookie-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Additional fixes for banner positioning */
.cookie-consent-banner {
    box-sizing: border-box !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-height: auto !important;
}

/* Ensure banner appears above everything */
.cookie-consent-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2147483647 !important; /* Maximum z-index */
}