.vrm-single,
.vrm-single *,
.vrm-vehicle-grid,
.vrm-vehicle-grid * {
  box-sizing: border-box;
}

.vrm-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  justify-content: start;
  margin: 28px 0;
}

.vrm-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.vrm-card-media {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  background: #f2f4f7;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(5, 9, 22, 0.26);
}

.vrm-card-media img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vrm-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: #667085;
  font-weight: 600;
}

.vrm-card-body {
  padding: 14px 10px 0;
}

.vrm-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
}

.vrm-card h3 a,
.vrm-link {
  color: #000;
  text-decoration: none;
}

.vrm-specs,
.vrm-price,
.vrm-empty {
  color: #475467;
}

.vrm-card-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0 0 18px;
}

.vrm-card-highlights span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.vrm-card-highlights .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
  color: #000;
  flex: 0 0 auto;
}

.vrm-price {
  font-weight: 900;
}

.vrm-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
}

.vrm-card-footer .vrm-price {
  flex: 1 1 155px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: #061d3f;
  font-size: 1.08rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.vrm-reserve-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-left: auto;
  min-width: 116px;
  min-height: 39px;
  padding: 0 18px;
  border: 0 !important;
  border-radius: 5px;
  background: #071d3d !important;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
  box-shadow: none !important;
}

.vrm-reserve-button:hover,
.vrm-reserve-button:focus {
  background: #0b3f91 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.vrm-single {
  --vrm-night: #050916;
  --vrm-navy: #071d4d;
  --vrm-blue: #0b3f91;
  --vrm-gold: #d8a521;
  --vrm-gold-soft: #fff4cc;
  --vrm-line: rgba(216, 165, 33, 0.35);
  margin: 24px 0;
}

body.single-rental_vehicle h1.entry-title,
body.single-rental_vehicle .entry-header .entry-title,
body.single-rental_vehicle .page-header .page-title,
body.single-rental_vehicle .elementor-widget-theme-post-title {
  display: none !important;
}

.vrm-vehicle-hero {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 15% 0%, rgba(216, 165, 33, 0.18), transparent 32%),
    linear-gradient(135deg, var(--vrm-night), var(--vrm-navy) 58%, #092761);
  box-shadow: 0 24px 60px rgba(5, 9, 22, 0.24);
  color: #fff;
  overflow: hidden;
}

.vrm-single-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vrm-single-summary h2 {
  margin: 6px 0 12px;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1.05;
}

.vrm-single-summary h3 {
  color: #fff;
}

.vrm-brand-mark {
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid var(--vrm-line);
  border-radius: 999px;
  color: var(--vrm-gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.vrm-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.vrm-details div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.vrm-details dt {
  margin: 0 0 4px;
  font-size: 0.82rem;
  color: #d9e5ff;
  font-weight: 700;
}

.vrm-details dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.vrm-gallery {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  gap: 12px;
  min-width: 0;
}

.vrm-gallery.has-single-image {
  height: 100%;
}

.vrm-gallery-main {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid var(--vrm-line);
  border-radius: 10px;
  background: #08142f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.vrm-gallery.has-single-image .vrm-gallery-main {
  height: 100%;
  min-height: 520px;
  aspect-ratio: auto;
}

.vrm-gallery-main img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vrm-gallery-main::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(5, 9, 22, 0.42));
  pointer-events: none;
}

.vrm-gallery-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: #d9e5ff;
}

.vrm-gallery-placeholder strong,
.vrm-gallery-placeholder span {
  display: block;
}

.vrm-gallery-placeholder strong {
  color: #fff;
  font-size: 1.25rem;
}

.vrm-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
}

.vrm-gallery-thumb {
  appearance: none;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0 !important;
  border: 2px solid transparent !important;
  border-radius: 8px;
  background: transparent !important;
  overflow: hidden;
  cursor: pointer;
  box-shadow: none !important;
}

.vrm-gallery-thumb.is-active {
  border-color: var(--vrm-gold) !important;
  box-shadow: 0 0 0 3px rgba(216, 165, 33, 0.2);
}

.vrm-gallery-thumb:hover,
.vrm-gallery-thumb:focus {
  background: transparent !important;
  border-color: var(--vrm-gold) !important;
  color: inherit !important;
  outline: none;
}

.vrm-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vrm-single .vrm-price {
  width: fit-content;
  margin: 0 0 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--vrm-gold);
  color: #06133a;
  font-size: 1rem;
  font-weight: 900;
}

.vrm-single-summary p {
  color: #edf3ff;
}

.vrm-filter-form,
.vrm-booking-form,
.vrm-lookup-form,
.vrm-calendar,
.vrm-lookup-card {
  border: 1px solid #d8dee4;
  border-radius: 8px;
  padding: 20px;
  margin: 24px 0;
  background: #fff;
}

.vrm-booking-form {
  position: relative;
  overflow: hidden;
  border-color: rgba(216, 165, 33, 0.4);
  box-shadow: 0 18px 42px rgba(5, 9, 22, 0.12);
}

.vrm-booking-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #d8a521, #0b3f91);
}

.vrm-booking-head {
  margin-bottom: 18px;
}

.vrm-booking-head span {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff4cc;
  color: #7a4d00;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.vrm-booking-head h3 {
  margin: 8px 0 6px;
  color: #071d4d;
  font-size: 1.5rem;
}

.vrm-booking-head p {
  margin: 0;
  color: #475467;
}

.vrm-calendar-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.vrm-calendar-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.vrm-calendar-picker label {
  color: #344054;
  font-weight: 700;
}

.vrm-calendar-picker select {
  display: block;
  min-height: 38px;
  margin-top: 5px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 7px 10px;
}

.vrm-button-small {
  min-height: 38px;
  margin-top: 0;
  padding: 0 14px;
}

.vrm-calendar-help {
  margin: 0 0 14px;
  color: #475467;
}

.vrm-calendar-private {
  margin: 14px 0 0;
  color: #475467;
  font-size: 0.92rem;
}

.vrm-calendar-head h3 {
  margin: 0;
}

.vrm-calendar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.vrm-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 14px;
  color: #475467;
  font-size: 0.92rem;
}

.vrm-calendar-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.vrm-calendar-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d0d5dd;
}

.vrm-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid #d8dee4;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.vrm-weekday,
.vrm-day {
  min-width: 0;
  border-right: 1px solid #e4e7ec;
  border-bottom: 1px solid #e4e7ec;
}

.vrm-weekday:nth-child(7n),
.vrm-day:nth-child(7n) {
  border-right: 0;
}

.vrm-weekday {
  padding: 10px 6px;
  text-align: center;
  background: #f8fafc;
  color: #344054;
  font-size: 0.82rem;
  font-weight: 700;
}

.vrm-day {
  min-height: 78px;
  padding: 8px;
  background: #f9fafb;
}

.vrm-day.is-empty {
  background: #f2f4f7;
}

.vrm-day.is-past {
  background: #f2f4f7;
  color: #98a2b3;
}

.vrm-day-number {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-weight: 800;
}

.vrm-day-status {
  display: inline-block;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #027a48;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
}

.vrm-day.is-available .vrm-day-button,
.vrm-day.is-requestable .vrm-day-button,
.vrm-day.is-available .vrm-day-button:visited,
.vrm-day.is-requestable .vrm-day-button:visited {
  background: #ecfdf3 !important;
  color: #027a48 !important;
}

.vrm-day-button {
  appearance: none;
  border: 0 !important;
  padding: 3px 7px !important;
  border-radius: 999px !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

.vrm-day-button:hover,
.vrm-day-button:focus {
  background: #12b76a !important;
  color: #fff !important;
  outline: 2px solid #d8a521;
  outline-offset: 2px;
}

.vrm-day.is-selected-start,
.vrm-day.is-selected-end {
  background: #fff4cc;
  box-shadow: inset 0 0 0 2px #d8a521;
}

.vrm-day.is-selected-range {
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px #84adff;
}

.vrm-day.is-blocked,
.vrm-day.is-pre_reserva,
.vrm-day.is-pendente,
.vrm-day.is-confirmada,
.vrm-day.is-em_andamento,
.vrm-day.is-past {
  background: #fff8f3;
}

.vrm-day.is-blocked .vrm-day-status,
.vrm-calendar-legend .is-blocked {
  background: #f04438;
  color: #fff;
}

.vrm-day.is-pre_reserva .vrm-day-status,
.vrm-calendar-legend .is-pre_reserva,
.vrm-day.is-pendente .vrm-day-status,
.vrm-calendar-legend .is-pendente {
  background: #f79009;
  color: #fff;
}

.vrm-day.is-confirmada .vrm-day-status,
.vrm-calendar-legend .is-confirmada {
  background: #7a5af8;
  color: #fff;
}

.vrm-day.is-em_andamento .vrm-day-status,
.vrm-calendar-legend .is-em_andamento {
  background: #155eef;
  color: #fff;
}

.vrm-calendar-legend .is-available {
  background: #12b76a;
}

.vrm-day.is-past .vrm-day-status {
  background: #d0d5dd;
  color: #475467;
}

.vrm-day.is-past {
  background: #f2f4f7;
}

.vrm-calendar-events {
  margin: 16px 0 0;
  padding-left: 20px;
}

.vrm-filter-grid,
.vrm-form-grid,
.vrm-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.vrm-field-gallery {
  grid-column: 1 / -1;
}

.vrm-field-gallery .button {
  width: auto;
  margin-top: 8px;
}

.vrm-admin-gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #d8dee4;
  border-radius: 8px;
  background: #f8fafc;
}

.vrm-admin-gallery-preview figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: #e4e7ec;
}

.vrm-admin-gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vrm-admin-gallery-preview span {
  color: #667085;
}

.vrm-admin-gallery-preview .vrm-remove-gallery-image {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}

.vrm-shortcode-reference {
  margin-top: 28px;
}

.vrm-calendar-picker .vrm-button-small {
  margin-top: 0;
}

.vrm-panel-page {
  --vrm-panel-page-padding: 24px;
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  background: #f4f6fb;
  padding: var(--vrm-panel-page-padding);
  display: flex;
  justify-content: center;
  align-items: stretch;
}

body.vrm-panel-site-page {
  background: #f4f6fb !important;
}

.vrm-panel-site-page :where(.entry-title, .page-title, h1.wp-block-post-title),
.vrm-panel-site-page :where(.entry-header, .page-header) .elementor-heading-title,
.vrm-panel-site-page .elementor-widget-theme-post-title {
  display: none !important;
}

.vrm-panel-page,
.vrm-panel-page * {
  box-sizing: border-box;
}

.vrm-panel {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  width: min(100%, 1440px);
  min-height: calc(100vh - (var(--vrm-panel-page-padding) * 2));
  min-height: calc(100dvh - (var(--vrm-panel-page-padding) * 2));
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: #f4f6fb;
  box-shadow: 0 22px 60px rgba(5, 9, 22, 0.16);
}

.vrm-panel-login-shell {
  display: grid;
  place-items: center;
  width: min(100%, 1120px);
  min-height: calc(100vh - (var(--vrm-panel-page-padding) * 2));
  min-height: calc(100dvh - (var(--vrm-panel-page-padding) * 2));
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 18px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 14% 18%, rgba(216, 165, 33, 0.24), transparent 28%),
    linear-gradient(135deg, #061d3f 0%, #0a2b63 100%);
  box-shadow: 0 22px 60px rgba(5, 9, 22, 0.18);
}

.vrm-panel-login-card {
  width: min(100%, 430px);
  padding: 30px;
  border: 1px solid rgba(216, 165, 33, 0.28);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(5, 9, 22, 0.22);
}

.vrm-panel-login-card > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid rgba(216, 165, 33, 0.58);
  border-radius: 999px;
  color: #d8a521;
  background: #061d3f;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vrm-panel-login-card h2 {
  margin: 0 0 8px;
  color: #061d3f;
  font-size: 1.45rem;
}

.vrm-panel-login-card p {
  margin: 0 0 18px;
  color: #475467;
}

.vrm-panel-login-card label {
  color: #344054;
  font-weight: 800;
}

.vrm-panel-login-card input[type="text"],
.vrm-panel-login-card input[type="password"] {
  width: 100%;
  min-height: 42px;
  margin-top: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 10px;
  background-color: #fff !important;
  color: #111827;
  color-scheme: light;
  box-shadow: none;
}

.vrm-booking-form input[type="date"],
.vrm-booking-form input[type="time"] {
  min-height: 40px;
  background-color: #fff !important;
  color: #111827 !important;
}

.vrm-booking-form input[type="date"]::-webkit-date-and-time-value,
.vrm-booking-form input[type="time"]::-webkit-date-and-time-value {
  min-height: 24px;
  text-align: left;
}

.vrm-booking-form input::placeholder {
  color: #111827;
  opacity: 1;
}

.vrm-panel-login-card .login-submit .button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #071d3d;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.vrm-panel-login-card .login-submit .button:hover,
.vrm-panel-login-card .login-submit .button:focus {
  background: #0b3f91;
}

.vrm-panel-sidebar {
  padding: 24px 18px;
  background: #061d3f;
  color: #fff;
}

.vrm-panel-sidebar h2 {
  margin: 0 0 24px;
  color: #d8a521 !important;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vrm-panel-sidebar nav {
  display: grid;
  gap: 8px;
}

.vrm-panel-sidebar a {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  color: #d9e5ff;
  text-decoration: none !important;
  font-weight: 800;
}

.vrm-panel-sidebar a:hover,
.vrm-panel-sidebar a:focus,
.vrm-panel-sidebar a.is-active {
  background: #0b3f91;
  color: #fff;
  text-decoration: none !important;
}

.vrm-panel-admin-link {
  margin-top: 18px;
  border: 1px solid rgba(216, 165, 33, 0.4);
  text-decoration: none !important;
}

.vrm-panel-main {
  min-width: 0;
  padding: 26px;
}

.vrm-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.vrm-panel-top h1 {
  margin: 0;
  color: #061d3f;
  font-size: 1.35rem;
  line-height: 1.2;
}

.vrm-panel-notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-left: 4px solid #12b76a;
  background: #ecfdf3;
  color: #027a48;
  font-weight: 800;
}

.vrm-panel-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.vrm-panel-section,
.vrm-panel-form,
.vrm-panel-table {
  padding: 18px;
  border: 1px solid #d8dee4;
  border-radius: 8px;
  background: #fff;
}

.vrm-panel-form label {
  display: block;
  color: #344054;
  font-weight: 800;
}

.vrm-panel-form input,
.vrm-panel-form select,
.vrm-panel-form textarea {
  width: 100%;
  min-height: 40px;
  margin-top: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 10px;
}

.vrm-panel-form textarea {
  min-height: 120px;
}

.vrm-panel-table {
  overflow-x: auto;
}

.vrm-panel-table table {
  width: 100%;
  border-collapse: collapse;
}

.vrm-panel-table th,
.vrm-panel-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e4e7ec;
  text-align: left;
  vertical-align: top;
}

.vrm-panel-table th {
  color: #061d3f;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.vrm-panel-action {
  color: #0b3f91;
  font-weight: 900;
  text-decoration: none;
}

.vrm-panel .button,
.vrm-panel .button-primary,
.vrm-panel .vrm-button,
.vrm-panel-page .button,
.vrm-panel-page .button-primary,
.vrm-panel-page .vrm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0 !important;
  border-radius: 6px !important;
  background: #071d3d !important;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: none !important;
}

.vrm-panel .button:hover,
.vrm-panel .button:focus,
.vrm-panel .button-primary:hover,
.vrm-panel .button-primary:focus,
.vrm-panel .vrm-button:hover,
.vrm-panel .vrm-button:focus,
.vrm-panel-page .button:hover,
.vrm-panel-page .button:focus,
.vrm-panel-page .button-primary:hover,
.vrm-panel-page .button-primary:focus,
.vrm-panel-page .vrm-button:hover,
.vrm-panel-page .vrm-button:focus {
  background: #0b3f91 !important;
  color: #fff !important;
}

.vrm-filter-form label,
.vrm-booking-form label,
.vrm-lookup-form label,
.vrm-settings label {
  display: block;
  font-weight: 600;
  color: #344054;
}

.vrm-filter-form input,
.vrm-filter-form select,
.vrm-booking-form input,
.vrm-booking-form select,
.vrm-booking-form textarea,
.vrm-lookup-form input,
.vrm-settings input,
.vrm-settings select,
.vrm-admin-panel input,
.vrm-admin-panel select,
.vrm-field input,
.vrm-field select,
.vrm-field textarea {
  width: 100%;
  min-height: 40px;
  margin-top: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 10px;
}

.vrm-booking-form textarea,
.vrm-field textarea {
  min-height: 96px;
}

.vrm-field-wide {
  grid-column: 1 / -1;
}

.vrm-addons {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #d8dee4;
  border-radius: 8px;
}

.vrm-addons legend {
  padding: 0 6px;
  color: #061d3f;
  font-weight: 800;
}

.vrm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 18px;
  border: 0 !important;
  border-radius: 6px;
  background: #071d3d !important;
  color: #fff !important;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: none !important;
}

.vrm-button:hover,
.vrm-button:focus {
  background: #0b3f91 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.vrm-button-cancel {
  background: #b42318 !important;
  color: #fff !important;
}

.vrm-button-cancel:hover,
.vrm-button-cancel:focus {
  background: #912018 !important;
  color: #fff !important;
}

.vrm-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.vrm-check {
  display: flex !important;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

.vrm-check input {
  width: auto;
  min-height: auto;
}

.vrm-total {
  padding: 12px;
  border-radius: 6px;
  background: #eef4ff;
  color: #173b75;
  font-weight: 700;
  white-space: pre-line;
}

.vrm-quote {
  margin-top: 12px;
  padding: 12px;
  border-radius: 6px;
  background: #eef4ff;
  color: #173b75;
}

.vrm-quote h4 {
  margin: 0 0 8px;
}

.vrm-quote ul {
  margin: 0;
  padding-left: 18px;
}

.vrm-quote-total {
  margin-top: 6px;
}

.vrm-form-message {
  margin-top: 14px;
  padding: 12px;
  border-radius: 6px;
  display: none;
}

.vrm-form-message.is-success,
.vrm-form-message.is-error,
.vrm-form-message.is-loading {
  display: block;
}

.vrm-form-message.is-success {
  background: #ecfdf3;
  color: #027a48;
}

.vrm-form-message.is-error {
  background: #fef3f2;
  color: #b42318;
}

.vrm-form-message.is-loading {
  background: #fffaeb;
  color: #93370d;
}

.vrm-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.vrm-kpi {
  border: 1px solid #d8dee4;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.vrm-kpi strong {
  display: block;
  font-size: 1.6rem;
  color: #111827;
}

.vrm-kpi span {
  color: #475467;
}

.vrm-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.vrm-report-grid section {
  padding: 16px;
  border: 1px solid #d8dee4;
  border-radius: 8px;
  background: #fff;
}

.vrm-panel h2,
.vrm-panel-embedded h2,
.vrm-report-grid section h2 {
  margin-top: 0;
  color: #202939;
  font-size: 1.12rem;
  line-height: 1.25;
}

.vrm-panel-embedded > h1,
.vrm-panel-settings > h1,
.vrm-panel-reports > h1 {
  display: none;
}

.vrm-log-list {
  margin: 0;
  padding-left: 16px;
}

.vrm-log-list li {
  margin-bottom: 8px;
}

.vrm-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.vrm-inline-form select,
.vrm-inline-form input {
  max-width: 180px;
}

.vrm-admin-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  max-width: 980px;
  padding: 16px;
  margin: 16px 0 28px;
  border: 1px solid #d8dee4;
  background: #fff;
  border-radius: 8px;
}

@media (max-width: 1120px) {
  .vrm-vehicle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .vrm-vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vrm-vehicle-grid {
    grid-template-columns: 1fr;
  }

  .vrm-panel-page {
    --vrm-panel-page-padding: 12px;
    padding: 12px;
  }

  .vrm-panel {
    grid-template-columns: 1fr;
  }

  .vrm-panel-login-shell {
    min-height: 520px;
    padding: 24px 12px;
  }

  .vrm-panel-login-card {
    padding: 22px;
  }

  .vrm-panel-sidebar {
    padding: 16px;
  }

  .vrm-panel-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vrm-panel-main {
    padding: 16px;
  }

  .vrm-panel-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .vrm-vehicle-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .vrm-gallery.has-single-image {
    height: auto;
  }

  .vrm-gallery,
  .vrm-gallery-main,
  .vrm-card-media {
    min-width: 0;
  }

  .vrm-gallery.has-single-image .vrm-gallery-main {
    height: auto;
    min-height: 280px;
    aspect-ratio: 16 / 11;
  }

  .vrm-gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vrm-single-summary h2 {
    font-size: 1.8rem;
  }

  .vrm-details {
    grid-template-columns: 1fr;
  }

  .vrm-filter-form,
  .vrm-booking-form,
  .vrm-lookup-form,
  .vrm-calendar,
  .vrm-lookup-card {
    padding: 14px;
  }

  .vrm-weekday {
    font-size: 0.72rem;
    padding: 7px 3px;
  }

  .vrm-day {
    min-height: 64px;
    padding: 5px;
  }

  .vrm-day-status {
    padding: 2px 5px;
    font-size: 0.66rem;
  }
}
