body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 20px;
    background: #f5f5f5;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

.input-section {
    max-width: 500px;
    margin: 0 auto 20px auto;
}

input[type="text"] {
    width: 100%;
    padding: 10px 16px;
    margin-top: 6px;
    margin-bottom: 6px;
    box-sizing: border-box;
}


button {
    padding: 10px 16px;
    margin-right: 8px;
    margin-top: 6px;
    margin-bottom: 10px;
    cursor: pointer;
}

.inputRow {
    display: flex;
    align-items: center; /* true vertical centering */
    gap: 5px;
}

#animalInput {
    width: 60%;
    height: 40px;            /* match button height */
    min-width: 200px;
    padding: 0 10px;         /* remove vertical padding */
    line-height: 40px;       /* ensures text sits centered */
    box-sizing: border-box;
    vertical-align: top;
}

#checkBtnOLD {
    height: 40px;            /* match input height */
    padding: 0 16px;
    display: flex;           /* centers text inside the button */
    align-items: center;
    justify-content: center;
    vertical-align: top;
}

#checkBtn {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
}

#checkBtn:hover {
background-color: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#checkBtn:active {
  background-color: #f3f4f6;
  transform: translateY(0);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

#randomBtn {
 all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
}

#randomBtn:hover {
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#randomBtn:active {
  background-color: #f3f4f6;
  transform: translateY(0);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.result-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.success-icon {
    fill: #0a7a2f;
}

.error-icon {
    fill: #b00020;
}

.status {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 12px;
}

.binomial {
    font-style: italic;
}

#debug-section {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;

    background: rgba(255, 255, 255, 0.9);
    padding: 10px 14px;
    border-radius: 6px;

    font-size: 14px;
    line-height: 1.4;
    max-width: 300px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
