/* ===== EGG DB — clean light theme ===== */
html, body {
  background: #f7f8fa;
  color: #1f2937;
  font-family: -apple-system, "Segoe UI", Roboto,
    "Malgun Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
a { color: #2563eb; text-decoration: none; }
a:hover { color: #1d4ed8; text-decoration: underline; }

h1 {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 16px;
}
#h1, #h1 a { color: #111827; font-weight: 700; }
h2 { color: #111827; font-weight: 600; }
h3 { color: #374151; }

#breadcrumb {
  background: #ffffff;
  color: #6b7280;
  padding: 8px 16px;
  border-bottom: 1px solid #eef0f3;
}
#breadcrumb a { color: #6b7280; }

/* left menu */
#menu {
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  overflow-x: hidden;
}
#menu h2, #menu p.logout { padding: 0 12px; }
#logins a, #tables a {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
#tables { font-size: 13px; }
#tables li { line-height: 1.9; padding: 0 8px; }
/* the "선택" (select data) shortcut — small & muted */
#tables li a:first-child {
  font-size: 11px;
  color: #b0b6bf;
  margin-right: 2px;
}
#tables li a:first-child:hover { color: #2563eb; }
#tables li a + a { color: #1f2937; }
#tables a.active, #tables a.active + a { color: #2563eb; }

/* content */
#content { background: #f7f8fa; padding: 16px 20px; }

/* tables */
table { border-collapse: collapse; background: #fff; }
th, td {
  border: 1px solid #e9ebef;
  padding: 6px 10px;
}
th { background: #f3f4f6; color: #374151; font-weight: 600; }
table.odds tr:nth-child(even) td { background: #fbfcfd; }
tr:hover td { background: #f0f6ff; }

/* forms */
input, select, textarea {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 5px 8px;
  background: #fff;
  color: #1f2937;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
input[type=submit], input[type=button], .button, button {
  background: #2563eb;
  border: 1px solid #2563eb;
  color: #fff;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
}
input[type=submit]:hover, button:hover { background: #1d4ed8; }
input[readonly] { background: #f3f4f6; color: #6b7280; }

/* messages */
.message {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 6px;
  padding: 8px 12px;
}
.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 6px;
  padding: 8px 12px;
}
fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
legend { color: #374151; }
