/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(140, 0, 50, 0.95);
    color: white;
    padding: 20px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    z-index: 9999;
    border-top: 3px solid #F09600;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

#cookie-banner.hidden {
    display: none;
}

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

.cookie-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.cookie-text p {
    margin: 0;
    line-height: 1.4;
}

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

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

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

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

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

.cookie-btn-accept:hover {
    background-color: #FFCC66;
    color: #8C0032;
}

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

.cookie-btn-decline:hover {
    background-color: #F09600;
    color: white;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        text-align: center;
        min-width: auto;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
}

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

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

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

.cookie-modal-header {
    border-bottom: 2px solid #8C0032;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.cookie-modal-header h2 {
    color: #8C0032;
    margin: 0;
    font-size: 24px;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cookie-category h3 {
    color: #8C0032;
    margin: 0 0 10px 0;
    font-size: 16px;
}

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

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

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

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

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

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

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.cookie-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.cookie-modal-btn-save {
    background-color: #8C0032;
    color: white;
}

.cookie-modal-btn-save:hover {
    background-color: #a00040;
}

.cookie-modal-btn-cancel {
    background-color: #666;
    color: white;
}

.cookie-modal-btn-cancel:hover {
    background-color: #888;
}