.locationEditor {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.header {
    composes: editorHeader from '@common/assets/ui.module.css';
}

.header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
}

.addButton {
    composes: buttonPrimary from '@common/assets/ui.module.css';
    border-radius: 6px;
}

.deleteConfirm {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: var(--bg-panel);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    font-size: 13px;

    & span {
        font-weight: 500;
        color: var(--accent);
    }
}

.confirmButton {
    composes: confirmButton from '@common/assets/ui.module.css';
}

.cancelButton {
    composes: cancelButton from '@common/assets/ui.module.css';
}

.list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.empty {
    composes: empty from '@common/assets/ui.module.css';
}

.locationCard {
    composes: card from '@common/assets/ui.module.css';
}

.cardHeader {
    composes: cardHeader from '@common/assets/ui.module.css';
}

.nameInput {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    font-family: inherit;

    &:focus {
        outline: none;
        border-color: var(--accent);
    }
}

.deleteButton {
    composes: deleteButton from '@common/assets/ui.module.css';
    height: 36px;
    min-width: 36px;
    border-radius: 6px;
    font-size: 22px;
}

.field {
    composes: formGroup from '@common/assets/ui.module.css';
    gap: 8px;
}

.field .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.select {
    composes: select from '@common/assets/ui.module.css';
    padding: 10px 12px;
    border-radius: 6px;
}

.generateButton {
    composes: buttonSmall from '@common/assets/ui.module.css';
}

.textarea {
    composes: textarea from '@common/assets/ui.module.css';
    padding: 10px 12px;
    border-radius: 6px;
}
