.note {
  font-size: 14px;
  padding-left: 20px;
}
.table_component {
  overflow: auto;
  width: 100%;
}
.table_component table {
  height: 100%;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 1px;
  text-align: left;
  font-size: 13px;
}
.table_component caption {
  caption-side: top;
  text-align: left;
}
.table_component th {
  background-color: #eceff1;
  color: #000000;
  padding: 5px;
}
.table_component td {
  color: #000000;
  padding: 5px;
}
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.container {
  position: relative;
  max-width: 700px;
  width: 100%;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.container header {
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}
.container .subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 20px;
}
.container .form {
  margin-top: 10px;
}
.form .input-box {
  width: 100%;
  margin-top: 10px;
}
.input-box label {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}
.form :where(.input-box input, .select-box) {
  position: relative;
  height: 35px;
  width: 100%;
  outline: none;
  font-size: 14px;
  color: #707070;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 15px;
  box-sizing: border-box;
}
.input-box input:focus,
.select-box select:focus {
  border-color: rgb(130, 106, 251);
  box-shadow: 0 1px 0 rgba(130, 106, 251, 0.2);
}
.form .column {
  display: flex;
  column-gap: 15px;
}
.form .column .input-box {
  flex: 1;
}
.form .hidden {
  display: none;
}
.form .gender-box {
  margin-top: 20px;
}
.gender-box h3 {
  color: #333;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}
.form :where(.gender-option, .gender) {
  display: flex;
  align-items: center;
  column-gap: 30px;
  flex-wrap: wrap;
}
.form .gender {
  column-gap: 5px;
}
.gender input {
  accent-color: rgb(130, 106, 251);
}
.form :where(.gender input, .gender label) {
  cursor: pointer;
}
.gender label {
  color: #707070;
  font-size: 14px;
}
.select-box select {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  color: #707070;
  font-size: 14px;
  background: transparent;
}
.form button {
  height: 40px;
  width: 100%;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-top: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgb(0, 0, 0);
  border-radius: 6px;
}
.form button:hover {
  background: rgb(88, 56, 250);
}
.form button:disabled {
  background: #aaa;
  cursor: not-allowed;
}
.btn-row {
  display: flex;
  gap: 10px;
}
.btn-row button {
  flex: 1;
}
.btn-secondary {
  background: rgb(130, 106, 251) !important;
}
.btn-secondary:hover {
  background: rgb(88, 56, 250) !important;
}
.note-box {
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-left: 4px solid rgb(130, 106, 251);
  border-radius: 4px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
.note-box strong {
  color: #333;
}
.note-box a {
  color: rgb(130, 106, 251);
  text-decoration: none;
}
.note-box a:hover {
  text-decoration: underline;
}
#result {
  margin-top: 15px;
  padding: 15px;
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
  border-radius: 4px;
  color: #2e7d32;
  font-size: 13px;
  display: none;
  word-break: break-all;
}
#result.error {
  background: #ffebee;
  border-left-color: #f44336;
  color: #c62828;
}
.user-count {
  text-align: center;
  margin-top: 15px;
  font-size: 12px;
  color: #888;
}
@media screen and (max-width: 500px) {
  .form .column {
    flex-wrap: wrap;
  }
  .btn-row {
    flex-direction: column;
  }
}