/* Tool Box LLC — My Rental */
.my-rental-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.my-rental-page {
  flex: 1 0 auto;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 88px;
  color: #17191c;
}

.rental-intro {
  max-width: 620px;
  margin-bottom: 34px;
}

.rental-kicker,
.result-kicker {
  color: #f47a22;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.rental-intro h1 {
  margin: 8px 0 10px;
  font-size: clamp(36px, 6vw, 48px);
  line-height: 1.04;
  letter-spacing: -1.8px;
}

.rental-intro p {
  max-width: 560px;
  margin: 0;
  color: #69707a;
  font-size: 14px;
  line-height: 1.6;
}

.rental-lookup-panel {
  padding: 26px;
  background: #fff;
  border: 1px solid #e5e7ea;
  border-radius: 12px;
}

.rental-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rental-field label {
  display: block;
  margin-bottom: 7px;
  color: #33383d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15px;
}

.rental-field input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #d9dde1;
  border-radius: 8px;
  background: #fff;
  color: #17191c;
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.rental-field input:focus {
  border-color: #f47a22;
  box-shadow: 0 0 0 3px rgba(244, 122, 34, .11);
}

#find-button {
  width: 100%;
  height: 50px;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  background: #f47a22;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease;
}

#find-button:hover { background: #df6818; }
#find-button:disabled { opacity: .62; cursor: wait; }

.rental-note {
  margin: 12px 0 0;
  color: #868c92;
  font-size: 10px;
  line-height: 1.5;
}

.message {
  display: none;
  margin-top: 16px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.message.error {
  display: block;
  border: 1px solid #efc8ba;
  background: #fff6f2;
  color: #9d3c20;
}

.rental-result {
  display: none;
  margin-top: 26px;
  background: #fff;
  border: 1px solid #e5e7ea;
  border-radius: 12px;
}

.rental-result.visible { display: block; }

.result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid #eceeef;
}

#result-number {
  margin: 6px 0 4px;
  color: #17191c;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.8px;
}

.result-customer {
  color: #69707a;
  font-size: 13px;
}

.status {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff3e9;
  color: #ad4d0d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.summary {
  padding: 4px 26px 8px;
}

.summary-row {
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr);
  gap: 22px;
  padding: 13px 0;
  border-bottom: 1px solid #f0f1f2;
  color: #69707a;
  font-size: 13px;
}

.summary-row:last-child { border-bottom: 0; }
.summary-row strong {
  color: #17191c;
  font-weight: 720;
  text-align: right;
}

.result-section {
  margin: 0 26px;
  padding: 22px 0 4px;
  border-top: 1px solid #eceeef;
}

.result-section:empty { display: none; }
.result-section h3 {
  margin: 0 0 8px;
  color: #17191c;
  font-size: 14px;
}

.result-item {
  padding: 11px 0;
  border-top: 1px solid #f0f1f2;
  color: #69707a;
  font-size: 12px;
  line-height: 1.5;
}

.result-item strong { color: #33383d; }

.identity-section {
  padding-bottom: 10px;
}

.identity-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 17px;
  border: 1px solid #e7e9eb;
  border-radius: 10px;
  background: #fafafa;
}

.identity-card-complete {
  border-color: #dce9df;
  background: #f7fbf8;
}

.identity-card-required {
  border-color: #f1dccb;
  background: #fffaf6;
}

.identity-copy {
  min-width: 0;
}

.identity-copy strong {
  display: block;
  margin-top: 6px;
  color: #25292d;
  font-size: 13px;
  line-height: 1.4;
}

.identity-copy p {
  margin: 5px 0 0;
  color: #69707a;
  font-size: 12px;
  line-height: 1.55;
}

.identity-state {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f0f1f2;
  color: #555c63;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.identity-state-complete {
  background: #eaf5ed;
  color: #2f6b3b;
}

.identity-state-required {
  background: #fff0e4;
  color: #a94b0d;
}

.identity-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 17px;
  border-radius: 8px;
  background: #f47a22;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background .15s ease;
}

.identity-action:hover { background: #df6818; }
.identity-action:focus-visible {
  outline: 3px solid rgba(244, 122, 34, .22);
  outline-offset: 2px;
}

.identity-check {
  display: inline-flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e7f3ea;
  color: #2f6b3b;
  font-size: 20px;
  font-weight: 800;
}

@media (max-width: 620px) {
  .my-rental-page {
    width: calc(100% - 36px);
    padding: 46px 0 64px;
  }

  .rental-intro { margin-bottom: 26px; }
  .rental-intro h1 {
    font-size: 36px;
    letter-spacing: -1.25px;
  }

  .rental-lookup-panel { padding: 20px 18px; }
  .rental-fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .rental-note { text-align: left; }

  .result-head {
    padding: 20px 18px 17px;
    gap: 12px;
  }

  #result-number { font-size: 24px; }
  .summary { padding: 4px 18px 8px; }
  .summary-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .summary-row strong { text-align: left; }
  .result-section { margin: 0 18px; }

  .identity-card {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 15px;
  }

  .identity-action {
    width: 100%;
    box-sizing: border-box;
  }

  .identity-check {
    align-self: flex-start;
  }
}
