:root{
  --blue: #364570;
  --bg: #ffffff;
  --card: #f9f9f9;
  --border: #8EBDC6;
  --muted: #9CA2B5;
}

body{
  font-family: Neue Kabel, sans-serif;
  font-size: 14px;
  max-width: 980px;
  margin: 28px auto;
  padding: 0 14px;
  color: #111;
  background: var(--bg);
}

.inputs-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0px 14px;
}
@media (min-width:720px){
  .inputs-grid{ grid-template-columns: 1fr 1fr; }
}

.card{
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.section-title{
  cursor: default;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
}

.lbl {
  display: block;
  margin-top: 6px;
  font-weight: bold;
  font-size: 12px;
}

.flex-right {
  margin-left: auto;
}

.vehicle-option {
  display: grid;
  grid-template-columns: 8rem;
}

.right {
  justify-items: right;
}

.inp{
  height: 2rem;
  padding: 6px 8px;
  margin-top: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  box-sizing: border-box;
}

.inp-select{
  width: 100%;
}
.inp-range{
  accent-color: var(--blue);
  width: 100%;
  padding: 0px !important;
}
.inp-small {
  max-width: 7rem;
  text-align: left;
}

.help{
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.35;
  grid-column: span 2;
}

.vehicle-inline{
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: 8px;
}

.trip-row {
  display: flex;
  gap: 8px;
}
.time-dur::-webkit-calendar-picker-indicator {
  display: none;
}

.btn-trip {
  background-color: var(--bg);
  border-color: var(--border);
  border-radius: 1rem;
  border-style: solid;
  padding: 6px;
  color: var(--blue);
}
.btn-trip:hover {
  background-color: var(--card);
}
.btn-trip:active {
  background-color: var(--muted);
}
.btn-trip:disabled {
  background-color: lightgray;
  color: darkgray;
}

.opt-inline {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 6fr;
  align-items: center;
  gap: 4px;
}
@media (max-width:640px){
  .opt-inline { grid-template-columns: 3fr 1fr 1fr auto; }
}
.opt-label {
  display: flex;
  flex-direction: row;
  justify-content: left;
  gap: 4px;
}

.result{
  display: grid;
  grid-gap: 6px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}
.result.success{
  border-color: rgba(46,204,113,0.6);
  background: rgba(46,204,113,0.08);
}
.result.fail{
  border-color: rgba(231,76,60,0.6);
  background: rgba(231,76,60,0.08);
}
.result.warning{
  border-color: rgba(241,196,15,0.85);
  background: rgba(241,196,15,0.14);
}

.status{
  font-size: 22px;
  font-weight: bold;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 8px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.10);
  justify-content: space-between;
}
.status-main{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
}
.status-sub{
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.group{
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.gicon{
  font-size: 16px;
  line-height: 1;
}
.gicon-small {
  font-size: 80%;
}

.tbl-result {
  width: 100%;
  border-collapse: collapse;
}
.tbl-head {
  font-weight: 800;
  color: var(--blue);
  font-size: 13px;
}
.tbl-head-left {
  text-align: left;
}
.tbl-head-fixed {
  width: 10%;
}
.tbl-row {
  font-size: 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.tbl-key {
  color: var(--muted);
  padding-top: 6px;
}
.tbl-value {
  font-weight: 400;
  text-align: center;
}
.tbl-unit {
  font-weight: 400;
  color: var(--muted);
  text-align: right;
}
