.log-options-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 4000; /* raised above other popups */
    display: flex;
    align-items: center;
    justify-content: center;
}

.log-options-content {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px 30px;
    animation: pulse-glow 5s ease-in-out infinite;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    position: relative; 
}

.log-options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.log-options-header h3 {
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

.log-options-close {
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.log-options-close:hover {
    color: white;
}

.log-option-group { /* MODIFIED */
    position: relative;
    z-index: 2;
}

.log-option-group h4 { /* Also update this to be more specific */
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

.log-option-button {
    grid-column: 1 / -1; /* Make it span the full width */
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 4px;
    cursor: pointer;
}
.log-option-button:hover {
    background-color: #555;
}

.log-filter-group {
    display: grid;
    grid-template-columns: 100px 1fr auto; /* Label | Example | Buttons */
    gap: 15px;
    align-items: center;
    margin: 5px 0;
    padding: 5px;
    border-radius: 4px;
}

.log-filter-group:hover {
    background-color: #2a2a2a;
}

.log-filter-label {
    font-weight: bold;
}

.log-filter-example {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-style: italic;
    opacity: 0.7;
}

.log-filter-buttons {
    display: flex;
    gap: 5px;
}

.filter-btn {
    width: 80px; /* Give the buttons a fixed width */
    height: 35px; /* Give the buttons a fixed height */
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url('../assets/images/PNG/Button03.png');
    background-size: 100% 100%;
    background-color: transparent;

    color: #888; /* Dim the text for the inactive button */
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
    
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.filter-btn:hover {
    transform: scale(1.05);
}

.filter-btn.active {
    background-image: url('../assets/images/PNG/Button04.png'); /* Use the "active" image */
    color: white; /* Make the text bright for the selected button */
}

.log-color-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

/* Style the color input */
.log-color-option input[type="color"] {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 25px;
    background-color: transparent;
    border: 1px solid #555;
    border-radius: 4px;
    cursor: pointer;
	z-index: 2;
}
/* Style the color picker indicator */
.log-color-option input[type="color"]::-webkit-color-swatch {
    border-radius: 3px;
    border: none;
}