/* The theme prints its own page title above the shortcode; on this page
   the plugin's own (language-switching) title is the only one shown. */
.ra-tracking-page .hero-section { display: none; }

.ra-tracking { max-width: 680px; margin: 0 auto; padding: 32px 0 48px; }
.ra-panel { background: #fff; border: 1px solid #e8e8e8; border-radius: 16px; padding: 28px; box-shadow: 0 2px 16px rgba(0, 0, 0, .06); }
.ra-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.ra-title { font-size: 26px; line-height: 1.25; margin: 0; }
.ra-lang-select { max-width: 150px; padding: 8px 32px 8px 12px; font-size: 14px; border: 1px solid #ddd; border-radius: 8px; background: #fff; color: #333; cursor: pointer; appearance: none; -webkit-appearance: none; }
/* Down chevron on the language dropdown, so visitors can tell it opens. */
.ra-lang-wrap { position: relative; flex-shrink: 0; }
.ra-lang-wrap::after { content: ""; position: absolute; right: 13px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #666; border-bottom: 2px solid #666; transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.ra-subtitle { color: #666; font-size: 15px; line-height: 1.55; margin: 0 0 22px; }
.ra-form { display: flex; gap: 10px; align-items: stretch; }
.ra-input { flex: 1; min-width: 0; padding: 13px 16px; font-size: 16px; border: 1px solid #ccc; border-radius: 10px; background: #fff; }
.ra-input:focus { outline: none; border-color: #111; }
.ra-button { flex-shrink: 0; padding: 13px 26px; font-size: 16px; background: #111; color: #fff; border: none; border-radius: 10px; cursor: pointer; white-space: nowrap; }
/* The theme styles inputs and buttons to different heights (40px vs 52px
   on mobile). Pin both to the same explicit height so the row is level. */
.ra-tracking .ra-input, .ra-tracking .ra-button { height: 52px; box-sizing: border-box; }
.ra-tracking .ra-button { display: inline-flex; align-items: center; justify-content: center; }
.ra-button:disabled { opacity: .6; cursor: default; }
.ra-message { margin-top: 14px; min-height: 20px; }
.ra-message.error { color: #b3261e; }
.ra-result { margin-top: 16px; }
.ra-card { border: 1px solid #e5e5e5; border-radius: 12px; padding: 18px; background: #fff; }
.ra-rows { display: grid; gap: 8px; margin-bottom: 14px; }
.ra-row { display: flex; gap: 12px; font-size: 15px; }
.ra-label { color: #666; min-width: 110px; flex-shrink: 0; }
.ra-value { font-weight: 600; word-break: break-all; }
.ra-scan { border-top: 1px solid #eee; padding-top: 14px; }
.ra-scan-title { font-weight: 700; margin-bottom: 6px; }
.ra-scan-time { color: #666; font-size: 14px; margin-bottom: 4px; }
.ra-scan-station { font-size: 14px; margin-bottom: 8px; }
.ra-scan-remark { font-size: 16px; line-height: 1.5; }
@media (max-width: 520px) {
  .ra-tracking { padding: 20px 0 32px; }
  .ra-panel { padding: 20px; border-radius: 14px; }
  .ra-title { font-size: 22px; }
  .ra-lang-select { max-width: 128px; }
  .ra-button { padding: 13px 18px; }
  .ra-label { min-width: 90px; }
}
