/* Optional customer account: the same paper, oxblood and generous typography as the rental site. */
.sc-profile { max-width: 1080px; }
.sc-profile [hidden] { display: none !important; }
.sc-profile-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.sc-profile-panel { background: var(--sc-paper); border: 1px solid var(--sc-ink); padding: clamp(22px,3vw,38px); margin-bottom: 32px; }
.sc-profile-panel h2 { font-size: clamp(24px,3vw,36px) !important; }
.sc-profile-panel h3 { margin-top: 16px !important; font-size: 23px !important; }
.sc-profile-panel p { max-width: 72ch; font-size: 15px; }
.sc-profile-panel .sc-form-grid { gap: 18px 26px; }
.sc-profile-panel .sc-checkbox { align-items: start; font-size: 12px; }
.sc-profile-panel a:not(.sc-btn) { text-decoration: underline; text-underline-offset: 3px; }
.sc-profile-panel .sc-btn { justify-self: start; white-space: normal; }
.sc-profile-panel input[type=file] { width: 100%; font-size: 13px !important; border: 1px solid var(--sc-line); padding: 12px; }
.sc-profile-panel input[type=file]::file-selector-button { font: inherit; background: var(--sc-paper); color: var(--sc-ink); border: 1px solid var(--sc-ink); padding: 8px 10px; margin-right: 10px; cursor: pointer; }
.sc-profile-panel details { margin-top: 25px; }
.sc-profile-panel summary { min-height: 44px; cursor: pointer; font-weight: 700; }
.sc-profile-panel summary + .sc-form { margin-top: 18px; }
.sc-profile-message { min-height: 1em; font-size: 14px !important; color: var(--sc-green,#315a36); margin: 0 !important; }
.sc-profile-message:empty { display: none; }
.sc-profile-message.is-error { color: var(--sc-ink); border-left: 3px solid var(--sc-ink); padding: 10px 14px; background: #e8b9a740; }
.sc-profile-account-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.sc-profile-account-top > p { margin: 0; overflow-wrap: anywhere; }
.sc-profile-account-top > div { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sc-profile-account-top .sc-text-button { color: var(--sc-ink); }
.sc-profile-documents { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sc-profile-document { min-width: 0; }
.sc-profile-document-actions { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; }
.sc-profile-document-actions .sc-btn { font-size: 13px; padding: 12px 16px; }
.sc-profile-document-preview { margin: 0; border: 1px solid var(--sc-line); padding: 8px; background: white; }
.sc-profile-document-preview img { width: 100%; max-height: 400px; object-fit: contain; }
.sc-profile-bookings { padding: 0; margin: 15px 0 25px; list-style: none; }
.sc-profile-bookings li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 15px 0; border-bottom: 1px solid var(--sc-line); font-size: 14px; }
.sc-profile-guest { margin-top: 12px; }
.sc-current-rental { border-top: 1px solid var(--sc-line); padding-top: 22px; margin-top: 24px; }
.sc-current-rental-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.sc-profile-panel .sc-current-rental-top h3 { margin: 0 !important; font-size: 21px !important; overflow-wrap: anywhere; }
.sc-current-rental-phase { padding: 4px 10px; background: var(--sc-ink); color: var(--sc-paper); font-size: 11px; }
.sc-current-rental-overdue { border-left: 3px solid var(--sc-ink); background: #e8b9a740; padding: 9px 13px; }
.sc-current-rental-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 20px 0 24px; }
.sc-current-rental-dates dt, .sc-handbook-specs dt { font-size: 11px; color: var(--sc-muted); }
.sc-current-rental-dates dd, .sc-handbook-specs dd { margin: 3px 0 0; font-size: 14px; }
.sc-current-rental-vehicle { margin-top: 22px; min-width: 0; }
.sc-current-rental-vehicle > h4 { font: 500 19px/1.3 var(--sc-body); margin: 0 0 6px; overflow-wrap: anywhere; }
.sc-profile-panel .sc-current-rental-item-status { font-size: 11px; margin: 0 0 8px; }
.sc-profile-panel .sc-vehicle-handbook { margin-top: 0; border: 1px solid var(--sc-line); }
.sc-vehicle-handbook > summary { padding: 12px 16px; font-size: 13px; overflow-wrap: anywhere; }
.sc-vehicle-handbook[open] > summary { border-bottom: 1px solid var(--sc-line); background: #efbc3b15; }
.sc-vehicle-handbook-content { padding: 20px 18px 24px; }
.sc-profile-panel .sc-handbook-reference { font-size: 12px; line-height: 1.7; margin: 0 0 20px; }
.sc-vehicle-handbook h5 { font: 600 15px/1.4 var(--sc-body); margin: 0 0 8px; letter-spacing: 0; }
.sc-handbook-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 25px; margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid var(--sc-line); }
.sc-handbook-specs > div { min-width: 0; }
.sc-handbook-specs dt, .sc-handbook-specs dd { overflow-wrap: anywhere; }
.sc-handbook-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; margin-bottom: 25px; }
.sc-profile-panel .sc-handbook-topics p { font-size: 13px; line-height: 1.7; margin: 0 0 8px; }
.sc-handbook-manual { display: inline-block; font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .sc-profile-auth-grid, .sc-profile-documents { grid-template-columns: 1fr; gap: 20px; }
  .sc-profile-account-top > div { gap: 16px; }
  .sc-profile-panel { margin-bottom: 20px; }
  .sc-profile-document + .sc-profile-document { border-top: 1px solid var(--sc-line); padding-top: 20px; }
  .sc-current-rental-dates, .sc-handbook-topics { grid-template-columns: 1fr; }
  .sc-vehicle-handbook-content { padding-inline: 13px; }
  .sc-vehicle-handbook > summary { padding-inline: 13px; }
  .sc-handbook-specs { gap: 15px; }
}
@media (max-width: 450px) {
  .sc-handbook-specs { grid-template-columns: minmax(0,1fr); }
}
