/* ===== Curator 전용 ===== */
html, body {
  height: 100%;
  margin: 0;
  font-family: sans-serif;
}

.container {
  display: flex;
  height: 100vh;
}

.graph-area {
  width: 70%;
  padding: 10px;
  border-right: 2px solid #ddd;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.node-list-area {
  width: 30%;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.graph-display, .node-list-display {
  height: 80%;
  border: 1px solid #ccc;
  background-color: #fafafa;
  margin-bottom: 10px;
  overflow: auto;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin: 10px 0 5px;
  font-size: 1.1rem;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

input[type="text"] {
  flex: 1;
  padding: 5px;
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 0.9rem;
}

input[type="submit"] {
  flex: 1;
  font-size: 1em;
  /* padding: 0.5em; */
  margin-bottom: 0.5em;
  border-radius: 16px;
  color: #ffffff;
  background-color: #407f40;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/*
button {
  padding: 0.6rem 1.2rem;
  margin-top: 0.5rem;
  font-size: 1em;
  cursor: pointer;
}

button:disabled {
  background-color: rgba(0, 200, 200, 0.5);
  cursor: not-allowed;
}
*/

.uniform-button {
  width: 10em;          /* 원하는 너비 */
  height: 2.2em;          /* 원하는 높이 */
  font-size: 1em;
  /* padding: 0.5em; */
  margin-left: 0.5em;
  margin-right: 0.5em; 
  border-radius: 16px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.error-message {
  color: red;
  font-weight: bold;
  margin: 8px 0;
}

.node-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  border-bottom: 1px solid #ddd;
}

.node-entry form {
  margin: 0;
  padding: 0;
  display: inline;
}

.node-entry button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.flex {
  display: flex;
  justify-content: center;
}

.story-form input[type="submit"] {
  height: 2.5em;
  font-size: 1em;
}

.story-form input[type="text"] {
  height: 1em;
  font-size: 1em;
}

.alert-box {
  display: flex;
  flex-wrap: wrap;
  height: 2em;
  margin-bottom: 1em;
}

/*
.alert-box:before {
  content: "📢 ";
  margin-left: 1em;
}
*/
