.settings-btn {
    width: 100%;
    text-align: center;
}

.settings-dialog {
    display: flex;
    flex-direction: column;
    width: 480px;
    max-height: 70vh;
    padding: 0;
    gap: 0;
}

.settings-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 2px solid #A8A8A8;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.settings-body {
    box-sizing: border-box;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.settings-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-section h2 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #A8A8A8;
}

.settings-file-hint {
    font-size: 12px;
    margin: 0;
    color: #5A5A5A;
}

.settings-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-row label {
    min-width: 100px;
    flex-shrink: 0;
}

.settings-row select {
    flex-grow: 1;
    min-width: 0;
    background-color: #8B8B8B;
    color: white;
    font-family: var(--font-ui);
    font-size: var(--font-ui-control-size);
    border-style: solid;
    border-width: 2px;
    border-color: #373737 #ffffff #ffffff #373737;
    padding: 2px 4px;
    cursor: pointer;
}

.settings-file-btn {
    background-color: #8B8B8B;
    color: white;
    font-family: var(--font-ui);
    font-size: var(--font-ui-control-size);
    border-style: solid;
    border-width: 2px;
    border-color: #373737 #ffffff #ffffff #373737;
    padding: 2px 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.settings-file-status {
    font-size: 12px;
    flex: 1;
    min-width: 0;
}

.settings-file-error {
    color: #ff6b6b;
}
