/* ===== COOKIE CONSENT BAR STYLES ===== */

/* Cookie Consent Bar - Hidden by default */
.cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 20px 30px;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, visibility 0.4s ease-out;
    font-family: 'Rotis Sans Serif', sans-serif;
}

.cookie-consent-bar.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

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

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

.cookie-consent-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #ffffff;
    font-family: 'Druk Text', sans-serif;
}

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

.cookie-consent-text a {
    color: #D42E12;
    text-decoration: underline;
}

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

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-consent-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Druk Text', sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
}

.cookie-consent-btn-primary {
    background-color: #D42E12;
    color: #ffffff;
}

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

.cookie-consent-btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cookie-consent-btn-secondary:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

.cookie-consent-btn-settings {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #666;
    font-size: 12px;
    padding: 10px 20px;
}

.cookie-consent-btn-settings:hover {
    background-color: #333;
    border-color: #ffffff;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
    overflow-y: auto;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookie-settings-content {
    background-color: #ffffff;
    color: #1a1a1a;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.cookie-settings-header {
    margin-bottom: 25px;
}

.cookie-settings-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-family: 'Druk Text', sans-serif;
}

.cookie-settings-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.cookie-settings-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.cookie-settings-close:hover {
    color: #D42E12;
}

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

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


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

.cookie-category-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    font-family: 'Druk Text', sans-serif;
}

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

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.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: 26px;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #D42E12;
}

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

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

.cookie-settings-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-settings-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Druk Text', sans-serif;
    text-transform: uppercase;
}

.cookie-settings-btn-primary {
    background-color: #D42E12;
    color: #ffffff;
}

.cookie-settings-btn-primary:hover {
    background-color: #ff3d1f;
}

.cookie-settings-btn-secondary {
    background-color: #f0f0f0;
    color: #1a1a1a;
}

.cookie-settings-btn-secondary:hover {
    background-color: #e0e0e0;
}

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

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

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

    .cookie-settings-content {
        padding: 20px;
        margin: 10px;
    }

    .cookie-settings-title {
        font-size: 20px;
    }
}

