
.aoi_name_box {
    position: relative;
    font-family: sans-serif;
    background-color: #f5f7fa;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.aoi_name_box > div:first-child {
    display: flex;
    flex-direction: row;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    user-select: none;
    border-radius: 4px;
}

.aoi_name_box > div:first-child > div:last-child {
    flex: 1;
}


#aoi_list_shower {
    font-family: sans-serif;
    background-color: #e6ecf0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 2px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    user-select: none;
    text-wrap: nowrap;
}

#aoi_list_shower:hover {
    color: #225577;
    text-decoration: underline;
}

.aoi_action_buttons {
    display: flex;
    gap: 6px;
	justify-content: space-between;
	align-items: center;
    margin-top: 8px;
}

.aoi_action_buttons button {
    background: #e6ecf0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    user-select: none;
}

.aoi_action_buttons button:not(:disabled):hover {
    background: #d0e4f5;
    border-color: #88aacc;
}

.aoi_action_buttons button:not(:disabled):active {
    background: #aaccee;
    border-color: #6699cc;
}

.aoi_action_buttons button:not(:disabled):focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(51, 119, 170, 0.3);
}

.aoi_left_buttons button,
.aoi_right_buttons button {
  position: relative;
	margin-right: 5px;
	vertical-align: middle;
}

.aoi_right_buttons button {
  position: relative;
	background-color: #fce4e4;
	border: 1px solid #cc6666;
	color: #cc0000;
}

.aoi_right_buttons button:not(:disabled):hover {
	background-color: #f8c4c4;
}



.icon-stack {
  position: relative;
  width: 2em;
  height: 2em;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.5em;
  line-height: 1;
}

.icon-stack .base-icon {
  position: absolute;
  top: 4px;
  right: 4px;
}

.icon-stack .overlay-icon {
  position: absolute;
  bottom: 0.1em;
  left: 0.1em;
  font-size: 0.6em;
  color: red; /* Optional: highlight the plus */
}

.aoi_value_table {
    border-collapse: collapse;
}

.aoi_value_table input {
    width: 50px;
}

.editableBox {
	display: inline-block;
	padding: 4px 8px;
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.editableBox:hover {
	background-color: #f0f8ff;
	border-color: #88aacc;
}

.editInput {
	display: inline-block;
	font-size: inherit;
	font-family: inherit;
	padding: 4px 8px;
	border: 1px solid #88aacc;
	border-radius: 4px;
	outline: none;
	min-width: 100px;
	box-sizing: border-box;
	background-color: #ffffff;
}

.unsaved-indicator {
  position: absolute;
  top: -6px;
  right: -6px;
  color: white;
  background-color: red;
  font-size: 10px;
  font-weight: bold;
  padding: 1px 4px 1px 4px;
  border-radius: 5px;
  vertical-align: middle;
}

.unsaved-indicator.hidden {
  display: none;
}

.aoi-popup {
  position: absolute;
  top: 10px !important; /* adjust as needed */
  left: 10px !important;
  background: #222;
  color: #fff !important;
  border: 1px solid #555;
  padding: 10px;
  border-radius: 6px;
  width: 400px !important;
  z-index: 100 !important;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.aoi-popup.hidden {
  display: none !important;
}

.aoi-obj-mesh::before {
  content: "📦";
}

.aoi-obj-light::before {
  content: "💡";
}

.aoi-obj-aoi::before {
  content: "🗺️";
}

.aoi-obj-texture::before {
  content: "🖼️";
}

.aoi-obj-script::before {
  content: "📜";
}

.aoi-obj-rawmesh::before {
  content: "🧱";
}

.sym-planet::before {
  content: "🪐";
}

.sym-wormhole::before {
  content: "🌀";
}

.sym-megastructure::before {
  content: "🌐";
}

.sym-star::before {
  content: "⭐";
}

.sym-barycenter::before {
  content: "⨀";
}

.sym-galaxy::before {
  content: "🌌";
}