#clearCacheButton {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

#clearCacheButton:hover {
    background-color: #bb2d3b;
}

.settings-btn-container {
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
}

#settingsButton {
    background-color: #6c757d;
    border: none;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

#settingsButton:hover {
    background-color: #5c636a;
}

#settingsCloseButton {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.5rem;
    transition: color 0.2s;
}

#settingsCloseButton:hover {
    color: #fff;
}

#settingsContent {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.setting-description {
    font-size: 0.9rem;
    color: #ccc;
    margin-right: 1rem;
}

#settingsHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #3a3f4b;
    background-color: rgba(32, 35, 42, 0.5);
}

#settingsHeader h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
}

#settingsOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10020;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    opacity: 1;
    transition: opacity 0.2s ease;
}

#settingsOverlay.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

#settingsPanel {
    background-color: #2a2f37;
    border: 2px solid #6c757d;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #eee;
    animation: slideIn 0.2s ease-out;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}