/**
 * EZrent - Public styles (Tailwind build output).
 *
 * @package EZrent_WP
 */

@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Roboto:wght@300;400;500;600&display=swap);

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
 */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.ezrent-form-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  padding: 1.5rem;
}

/*
 * While loading: reserve height so the page does not collapse, then overlay the spinner
 * (no layout jump when the form HTML is appended underneath).
 */
/*
 * Novērš pārlūka scroll anchoring, kad kļūst zināms īstais forma augstums pēc ielādes.
 */
#ezrent-form-container {
  overflow-anchor: none;
}

#ezrent-form-container.ezrent-form-container--loading {
  position: relative;
  min-height: clamp(280px, 42vh, 520px);
}

#ezrent-form-container.ezrent-form-container--loading > .ezrent-form-loading {
  position: absolute;
  inset: 0;
  z-index: 20;
  box-sizing: border-box;
  min-height: 100%;
  margin: 0;
  background: #fff;
  border-radius: inherit;
}

.ezrent-form-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 140px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #374151;
}

.ezrent-form-loading-spinner {
  box-sizing: border-box;
  width: 2.75rem;
  height: 2.75rem;
  border: 3px solid rgba(0, 43, 78, 0.12);
  border-top-color: var(--ezrent-primary, #002b4e);
  border-radius: 50%;
  animation: ezrentFormLoadingSpin 0.75s linear infinite;
}

.ezrent-form-loading-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4b5563;
}

@keyframes ezrentFormLoadingSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ezrent-form-loading-spinner {
    animation: none;
    border-color: var(--ezrent-primary, #002b4e);
    opacity: 0.85;
  }
}

.ezrent-form-loading--error {
  gap: 0;
  min-height: auto;
  padding: 2rem 1.5rem;
}

.ezrent-form-loading-error-text {
  display: block;
  max-width: 28rem;
  margin: 0 auto;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: #b91c1c;
}

.ezrent-form-loading.ezrent-hidden {
  display: none;
}

.ezrent-hidden {
  display: none !important;
}

.ezrent-message {
  margin-bottom: 1rem;
  display: none;
  border-radius: 0.25rem;
  padding: 0.75rem;
}

.ezrent-message-success {
  display: block;
  border-width: 1px;
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.ezrent-message-error {
  display: block;
  border-width: 1px;
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

.ezrent-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10070;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(92vw, 420px);
  pointer-events: none;
}

.ezrent-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ezrent-toast-visible {
  opacity: 1;
  transform: translateY(0);
}

.ezrent-toast-hiding {
  opacity: 0;
  transform: translateY(-8px);
}

.ezrent-toast-error {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.ezrent-toast-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 500;
}

.ezrent-toast-close {
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem;
  border-radius: 6px;
}

.ezrent-toast-close:hover,
.ezrent-toast-close:focus-visible {
  background: rgba(114, 28, 36, 0.12);
  outline: none;
}

.ezrent-success-state {
  margin: 0 auto 1.25rem;
  max-width: 680px;
}

.ezrent-success-card {
  border: 1px solid #d1fae5;
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
  border-radius: 0.75rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 10px 30px -16px rgba(16, 185, 129, 0.35);
}

.ezrent-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.85rem;
  color: #16a34a;
}

.ezrent-success-icon svg {
  width: 100%;
  height: 100%;
}

.ezrent-success-icon circle,
.ezrent-success-icon path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ezrent-success-title {
  margin: 0 0 0.45rem;
  color: #065f46;
  font-size: 1.35rem;
  font-weight: 700;
}

.ezrent-success-text {
  margin: 0 auto 0.85rem;
  max-width: 48rem;
  color: #14532d;
  font-size: 0.97rem;
  line-height: 1.55;
}

.ezrent-success-countdown-text {
  margin: 0 0 0.75rem;
  color: #166534;
  font-weight: 600;
}

.ezrent-success-countdown-bar {
  width: min(340px, 100%);
  height: 0.4rem;
  margin: 0 auto;
  background: #d1fae5;
  border-radius: 999px;
  overflow: hidden;
}

.ezrent-success-countdown-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #16a34a 0%, #34d399 100%);
  transform-origin: left center;
  /* Duration overridden in JS (must match redirect countdown seconds). */
  animation: ezrentSuccessCountdown 20s linear forwards;
}

@keyframes ezrentSuccessCountdown {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

.ezrent-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ezrent-form-title {
  margin: 0;
  margin-bottom: 1.75rem;
  font-size: clamp(1.65rem, 4.2vw + 0.85rem, 1.95rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #111827;
  text-align: center;
}

@media (min-width: 768px) {
  .ezrent-form-title {
    margin-bottom: 50px;
    font-size: clamp(2rem, 1.5vw + 1.5rem, 2.5rem);
    line-height: 1.12;
  }
}

.ezrent-form-row {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .ezrent-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ezrent-radio-group-title {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
}

.ezrent-subsection-title {
  margin: 0.25rem 0 0.5rem;
  font-size: 1rem;
  color: #111827;
}

/* Step 5: notes after payment choice */
.ezrent-notes-block {
  margin-top: 40px;
}

/* Step 5 (customer details) spacing */
.ezrent-wizard-panel[data-panel="5"] > .ezrent-form-group {
  margin-bottom: 0.75rem;
}

.ezrent-customer-type-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ezrent-address-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ezrent-address-block-title {
  margin-bottom: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.ezrent-address-block .ezrent-form-row {
  margin: 0;
}

.ezrent-additional-driver-toggle-wrap {
  margin-top: 0.35rem;
}

.ezrent-additional-driver-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ezrent-additional-driver-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #002b4e;
  white-space: nowrap;
  line-height: 1.3;
}

/* Slēdzis — teksts kreisajā pusē, poga uzreiz aiz teksta */
.ezrent-additional-driver-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.35rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.ezrent-additional-driver-switch {
  position: relative;
  display: block;
  width: 2.75rem;
  height: 1.5rem;
}

.ezrent-additional-driver-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #d1d5db;
  transition: background-color 0.2s ease;
}

.ezrent-additional-driver-switch-thumb {
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.ezrent-additional-driver-toggle-open .ezrent-additional-driver-switch-track,
.ezrent-additional-driver-toggle[aria-expanded='true'] .ezrent-additional-driver-switch-track {
  background-color: var(--ezrent-primary, #002b4e);
}

.ezrent-additional-driver-toggle-open .ezrent-additional-driver-switch-thumb,
.ezrent-additional-driver-toggle[aria-expanded='true'] .ezrent-additional-driver-switch-thumb {
  transform: translateX(1.25rem);
}

.ezrent-additional-driver-toggle:hover,
.ezrent-additional-driver-toggle:active,
.ezrent-additional-driver-toggle:focus,
.ezrent-additional-driver-toggle:focus-visible,
.ezrent-additional-driver-toggle-open {
  color: inherit;
  background: transparent !important;
  background-color: transparent !important;
  outline: none;
  box-shadow: none;
}

.ezrent-additional-driver-toggle:focus-visible {
  outline: 2px solid var(--ezrent-primary, #002b4e);
  outline-offset: 2px;
}

.ezrent-required {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}

.ezrent-input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #111827;
  transition: border-color 0.2s, outline 0.2s;
}

.ezrent-form input.ezrent-input:not(.ezrent-input-outlined),
.ezrent-form select.ezrent-input:not(.ezrent-input-outlined) {
  height: 35px;
  font-size: 0.9rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.ezrent-input:focus {
  outline: none;
  border-color: var(--ezrent-primary, #4f46e5);
}

/*
 * Floating outlined fields — parity with MUI TextField variant="outlined" size="small"
 * (same family as React DateTimePicker). Tokens mirror @mui/material InputLabel + OutlinedInput.
 * Reusable: .ezrent-outlined-root.ezrent-fl-field + .ezrent-float-label + .ezrent-input-outlined
 *
 * Tokens live on .ezrent-outlined-root so they always apply (inheritance from .ezrent-form is optional).
 */
.ezrent-outlined-root {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 0;
  /* Match page / card background so the label notch masks the top border */
  --ezrent-fl-bg: #fff;
  --ezrent-fl-radius: 4px;
  --ezrent-fl-border: rgba(0, 0, 0, 0.23);
  --ezrent-fl-border-hover: rgba(0, 0, 0, 0.87);
  --ezrent-fl-border-focus: var(--ezrent-primary, #4f46e5);
  --ezrent-fl-border-error: #d32f2f;
  --ezrent-fl-input-px: 14px;
  --ezrent-fl-input-py: 8.5px;
  --ezrent-fl-min-height: 40px;
  --ezrent-fl-label-rest: translate(14px, 9px) scale(1);
  --ezrent-fl-label-shrink: translate(14px, -9px) scale(0.75);
  --ezrent-fl-label-max-rest: calc(100% - 24px);
  --ezrent-fl-label-max-shrink: calc(133% - 32px);
  --ezrent-fl-label-inset: 4px;
  --ezrent-fl-transition: color 200ms cubic-bezier(0, 0, 0.2, 1),
    transform 200ms cubic-bezier(0, 0, 0.2, 1), max-width 200ms cubic-bezier(0, 0, 0.2, 1);
}

.ezrent-outlined-root .ezrent-input-outlined,
.ezrent-outlined-root select.ezrent-input-outlined,
.ezrent-outlined-root textarea.ezrent-input-outlined {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid var(--ezrent-fl-border);
  border-radius: var(--ezrent-fl-radius);
  background: var(--ezrent-fl-bg);
  padding: var(--ezrent-fl-input-py) var(--ezrent-fl-input-px);
  min-height: var(--ezrent-fl-min-height);
  height: auto;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4375;
  letter-spacing: 0.00938em;
  color: rgba(0, 0, 0, 0.87);
  /* Do not animate padding with border-width: 1px→2px on focus — staggered motion reads as a “shake” */
  transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ezrent-outlined-root:hover:not(:focus-within):not(.ezrent-field-error) .ezrent-input-outlined,
.ezrent-outlined-root:hover:not(:focus-within):not(.ezrent-field-error) select.ezrent-input-outlined,
.ezrent-outlined-root:hover:not(:focus-within):not(.ezrent-field-error) textarea.ezrent-input-outlined {
  border-color: var(--ezrent-fl-border-hover);
}

@media (hover: none) {
  .ezrent-outlined-root:hover:not(:focus-within) .ezrent-input-outlined,
  .ezrent-outlined-root:hover:not(:focus-within) select.ezrent-input-outlined,
  .ezrent-outlined-root:hover:not(:focus-within) textarea.ezrent-input-outlined {
    border-color: var(--ezrent-fl-border);
  }
}

.ezrent-outlined-root textarea.ezrent-input-outlined {
  min-height: 120px;
  padding-top: 16.5px;
  resize: vertical;
}

.ezrent-outlined-root:focus-within .ezrent-input-outlined,
.ezrent-outlined-root:focus-within select.ezrent-input-outlined {
  border-color: var(--ezrent-fl-border-focus);
  border-width: 2px;
  padding: calc(var(--ezrent-fl-input-py) - 1px) calc(var(--ezrent-fl-input-px) - 1px);
  outline: none;
}

.ezrent-outlined-root:focus-within textarea.ezrent-input-outlined {
  padding-top: 15.5px;
}

/*
 * Native <select> (lokācijas, filtri): nemainīt border biezumu pie fokusa — atvērta izvēlne
 * iekš :focus-within un 1px→2px apmale rada “raustīšanos”.
 */
#ezrent-form-container .ezrent-outlined-root:focus-within select.ezrent-input-outlined {
  border-width: 1px !important;
  padding-top: var(--ezrent-fl-input-py);
  padding-bottom: var(--ezrent-fl-input-py);
  padding-left: var(--ezrent-fl-input-px);
  outline: 2px solid var(--ezrent-fl-border-focus);
  outline-offset: -1px;
}

#ezrent-form-container .ezrent-outlined-root:focus-within select.ezrent-filter-select.ezrent-input-outlined {
  padding-right: 2.25rem !important;
}

#ezrent-form-container .ezrent-outlined-root:focus-within select.ezrent-select-enhanced.ezrent-input-outlined {
  padding-right: 2.2rem !important;
}

#ezrent-form-container .ezrent-outlined-root.ezrent-field-error:focus-within select.ezrent-input-outlined {
  outline-color: var(--ezrent-fl-border-error);
}

/* Bez translateY(1px) pie nospiešanas — mazāks mikro “raust” pie dropdown */
#ezrent-form-container .ezrent-select-wrap.ezrent-select-pressed select.ezrent-input.ezrent-select-enhanced {
  transform: none;
}

/* Izslēgt scale pulsu atvēršanai — arī tas var lasīties kā “raustīšanās” */
#ezrent-form-container .ezrent-select-wrap.ezrent-select-open-pulse {
  animation: none;
}

.ezrent-float-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  display: block;
  box-sizing: border-box;
  max-width: var(--ezrent-fl-label-max-rest, calc(100% - 24px));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4375em;
  letter-spacing: 0.00938em;
  color: rgba(0, 0, 0, 0.6);
  transform: var(--ezrent-fl-label-rest, translate(14px, 9px) scale(1));
  transform-origin: top left;
  transition: var(--ezrent-fl-transition);
}

/* Defensive: theme “screen reader” or utility rules must not hide floating labels */
.ezrent-outlined-root > .ezrent-float-label {
  opacity: 1;
  visibility: visible;
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
}

.ezrent-outlined-root:focus-within .ezrent-float-label,
.ezrent-outlined-root.ezrent-has-value .ezrent-float-label,
.ezrent-outlined-root input:not(:placeholder-shown) + .ezrent-float-label,
.ezrent-outlined-root textarea:not(:placeholder-shown) + .ezrent-float-label,
/* Native <select>: label at notch even when first option is empty */
.ezrent-outlined-root:has(select.ezrent-input-outlined) > .ezrent-float-label,
/* Text inputs / textarea: same — label at notch while empty (not only on :focus-within); covers phone inside .iti */
.ezrent-outlined-root:has(input.ezrent-input-outlined:not([type="hidden"])) > .ezrent-float-label,
.ezrent-outlined-root:has(textarea.ezrent-input-outlined) > .ezrent-float-label {
  max-width: var(--ezrent-fl-label-max-shrink, calc(133% - 32px));
  transform: var(--ezrent-fl-label-shrink, translate(14px, -9px) scale(0.75));
  padding: 0 var(--ezrent-fl-label-inset, 4px);
  margin: 0 calc(-1 * var(--ezrent-fl-label-inset, 4px));
  z-index: 4;
  background: var(--ezrent-fl-bg, #fff);
  background-clip: padding-box;
}

/* Virs Radix mount (z-index: 5), lai notch fons sedz apmali */
.ezrent-outlined-root:has(select.ezrent-input-outlined):has(.ezrent-radix-select-mount) > .ezrent-float-label,
.ezrent-outlined-root:has(select.ezrent-input-outlined):has(.ezrent-country-combobox-mount) > .ezrent-float-label {
  z-index: 6;
}

.ezrent-outlined-root:focus-within .ezrent-float-label {
  color: var(--ezrent-fl-border-focus);
}

.ezrent-outlined-root.ezrent-has-value:not(:focus-within) .ezrent-float-label {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-outlined-root.ezrent-field-error .ezrent-input-outlined,
.ezrent-outlined-root.ezrent-field-error select.ezrent-input-outlined,
.ezrent-outlined-root.ezrent-field-error textarea.ezrent-input-outlined {
  border-color: var(--ezrent-fl-border-error);
}

.ezrent-outlined-root.ezrent-field-error:focus-within .ezrent-input-outlined,
.ezrent-outlined-root.ezrent-field-error:focus-within select.ezrent-input-outlined,
.ezrent-outlined-root.ezrent-field-error:focus-within textarea.ezrent-input-outlined {
  border-color: var(--ezrent-fl-border-error);
}

.ezrent-outlined-root.ezrent-field-error .ezrent-float-label,
.ezrent-outlined-root.ezrent-field-error:focus-within .ezrent-float-label {
  color: var(--ezrent-fl-border-error);
}

.ezrent-outlined-root .ezrent-input-outlined:disabled,
.ezrent-outlined-root select.ezrent-input-outlined:disabled,
.ezrent-outlined-root textarea.ezrent-input-outlined:disabled {
  border-color: rgba(0, 0, 0, 0.26);
  background-color: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.38);
  cursor: not-allowed;
}

.ezrent-outlined-root .ezrent-select-wrap {
  width: 100%;
  display: block;
}

.ezrent-outlined-root .ezrent-select-wrap .ezrent-select-icon {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.ezrent-outlined-root:focus-within .ezrent-select-wrap .ezrent-select-icon {
  border-color: var(--ezrent-fl-border-focus);
}

.ezrent-outlined-root.ezrent-field-error .ezrent-select-wrap .ezrent-select-icon {
  border-color: var(--ezrent-fl-border-error);
}

.ezrent-outlined-root .ezrent-select-wrap.ezrent-select-focus .ezrent-select-icon {
  transform: translateY(-50%) rotate(-135deg) scale(1.06);
}

.ezrent-outlined-root .ezrent-select-wrap.ezrent-select-focus select.ezrent-input.ezrent-select-enhanced {
  border-color: var(--ezrent-fl-border-focus);
  box-shadow: none;
}

.ezrent-outlined-root.ezrent-field-error .ezrent-select-wrap.ezrent-select-focus select.ezrent-input.ezrent-select-enhanced {
  border-color: var(--ezrent-fl-border-error);
}

.ezrent-outlined-root--phone .iti {
  width: 100%;
}

.ezrent-outlined-root--phone .iti .ezrent-input {
  min-height: var(--ezrent-fl-min-height);
}

/*
 * intl-tel-input: valsts izvēles poga (.iti__selected-country) saņem fokusu atsevišķi no
 * tālruņa lauka — nedrīkst likt “focus” zilo apmali un label visam laukam (kā Radix select).
 * Kad atvērts valstu saraksts, pacelt visu rindu virs zemākajiem outlined laukiem, lai
 * floating label netiktu zīmēts virs dropdown (iti__dropdown-content bija tikai z-index: 2).
 */
.ezrent-outlined-root--phone:focus-within:not(:has(.ezrent-input-outlined:focus)) .ezrent-input-outlined {
  border-color: var(--ezrent-fl-border);
  border-width: 1px;
  padding: var(--ezrent-fl-input-py) var(--ezrent-fl-input-px);
}

.ezrent-outlined-root--phone:focus-within:not(:has(.ezrent-input-outlined:focus)) .ezrent-float-label {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-outlined-root.ezrent-field-error.ezrent-outlined-root--phone:focus-within:not(:has(.ezrent-input-outlined:focus)) .ezrent-input-outlined {
  border-color: var(--ezrent-fl-border-error);
}

.ezrent-outlined-root.ezrent-field-error.ezrent-outlined-root--phone:focus-within:not(:has(.ezrent-input-outlined:focus)) .ezrent-float-label {
  color: var(--ezrent-fl-border-error);
}

.ezrent-outlined-root--phone:has(.iti__selected-country[aria-expanded='true']) {
  z-index: 10100;
}

.ezrent-outlined-root--phone .iti--inline-dropdown .iti__dropdown-content:not(.iti__hide) {
  z-index: 5;
}

.ezrent-outlined-root--phone .iti__selected-country:focus:not(:focus-visible) {
  outline: none;
}

/*
 * intl-tel-input: valsts koda poga ir <button> — daudzās WP tēmās button:hover dod tumši zilu fonu.
 * Vienots ar lauka fonu; bez hover „izcelšanas” (tāpat kā pārējā ievades daļa).
 */
.ezrent-form .ezrent-outlined-root--phone .iti__selected-country {
  background-color: var(--ezrent-fl-bg, #fff);
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-form .ezrent-outlined-root--phone .iti__selected-country:hover,
.ezrent-form .ezrent-outlined-root--phone .iti__selected-country:focus,
.ezrent-form .ezrent-outlined-root--phone .iti__selected-country:active {
  background-color: var(--ezrent-fl-bg, #fff);
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-form .ezrent-outlined-root--phone .iti--allow-dropdown .iti__selected-country-primary:hover,
.ezrent-form .ezrent-outlined-root--phone .iti--allow-dropdown .iti__country-container:hover .iti__selected-country-primary,
.ezrent-form .ezrent-outlined-root--phone .iti--allow-dropdown .iti__selected-country:has(+ .iti__dropdown-content:hover) .iti__selected-country-primary {
  background-color: var(--ezrent-fl-bg, #fff);
}

.ezrent-outlined-root .ezrent-input-outlined:focus {
  box-shadow: none;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
}

.ezrent-location-input-wrap {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ezrent-location-custom-address-wrap {
  margin-top: 1rem;
}

.iti {
  width: 100%;
}

.iti .ezrent-input {
  width: 100%;
}

select.ezrent-input:not(.ezrent-input-outlined) {
  cursor: pointer;
  line-height: normal;
  min-height: 35px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.ezrent-select-wrap {
  position: relative;
  display: block;
  width: 100%;
  transform-origin: center top;
  transition: transform 0.28s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.ezrent-select-wrap .ezrent-select-icon {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 0.48rem;
  height: 0.48rem;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease;
}

/* Vieglas “dropdown” atvēršanas animācijas (pats <option> saraksts ir OS / pārlūka) */
@keyframes ezrentSelectOpenPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.008);
  }
  100% {
    transform: scale(1);
  }
}

.ezrent-select-wrap.ezrent-select-open-pulse {
  animation: ezrentSelectOpenPulse 0.4s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .ezrent-select-wrap {
    transition: none;
  }

  .ezrent-select-wrap .ezrent-select-icon {
    transition: border-color 0.2s ease;
  }

  .ezrent-select-wrap.ezrent-select-open-pulse {
    animation: none;
  }

  .ezrent-select-wrap.ezrent-select-focus .ezrent-select-icon {
    transform: translateY(-35%) rotate(-135deg);
  }

  .ezrent-outlined-root .ezrent-select-wrap.ezrent-select-focus .ezrent-select-icon {
    transform: translateY(-50%) rotate(-135deg);
  }
}

select.ezrent-input.ezrent-select-enhanced {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.2rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ezrent-select-wrap.ezrent-select-focus .ezrent-select-icon {
  transform: translateY(-35%) rotate(-135deg) scale(1.06);
  border-color: var(--ezrent-primary, #4f46e5);
}

.ezrent-select-wrap.ezrent-select-focus select.ezrent-input.ezrent-select-enhanced {
  border-color: var(--ezrent-primary, #4f46e5);
  box-shadow: 0 0 0 3px rgb(79 70 229 / 0.12);
}

.ezrent-select-wrap.ezrent-select-pressed select.ezrent-input.ezrent-select-enhanced {
  transform: translateY(1px);
}

.ezrent-select-wrap.ezrent-select-changed select.ezrent-input.ezrent-select-enhanced {
  animation: ezrentSelectFlash 0.34s ease;
}

@keyframes ezrentSelectFlash {
  0% {
    background-color: #eef2ff;
  }
  100% {
    background-color: #fff;
  }
}

/*
 * Slēptajam <select> (Radix / country) — nedrīkst palikt “flash” (#eef2ff) vai indigo glow,
 * ja pārlūks/tēma joprojām zīmē slēpto lauku.
 */
select.ezrent-input.ezrent-select-enhanced[aria-hidden='true'] {
  animation: none !important;
  box-shadow: none !important;
}

/* Radix UI Select (custom dropdown; native <select> paliek slēpts sinhronizācijai) */
.ezrent-select-wrap .ezrent-radix-select-mount {
  position: relative;
  z-index: 5;
}

.ezrent-radix-select-mount {
  width: 100%;
  display: block;
}

.ezrent-radix-select-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-sizing: border-box;
  margin: 0;
  min-height: 40px;
  padding: 8.5px 14px;
  padding-right: 2.2rem;
  border: 1px solid rgba(0, 0, 0, 0.23);
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  background-color: var(--ezrent-fl-bg, #fff);
  background-image: none;
  box-shadow: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4375;
  letter-spacing: 0.00938em;
  color: rgba(0, 0, 0, 0.87);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Explicit Value teksts (ne portāls) — krāsa un ellipsis pret tēmu */
.ezrent-radix-select-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-radix-select-value--placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-radix-select-trigger:hover:not(:disabled) {
  border-color: rgba(0, 0, 0, 0.87);
  background-color: var(--ezrent-fl-bg, #fff);
  /* Tēmas button:hover nerada baltu tekstu uz baltā fona */
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-radix-select-trigger[data-placeholder]:hover:not(:disabled) {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-radix-select-trigger:hover:not(:disabled) .ezrent-radix-select-value--placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-radix-select-trigger:active:not(:disabled),
.ezrent-radix-select-trigger[data-state='open'] {
  background-color: var(--ezrent-fl-bg, #fff);
}

.ezrent-radix-select-trigger:focus {
  outline: none;
}

.ezrent-radix-select-trigger:focus-visible {
  border-color: var(--ezrent-primary, #002b4e);
  border-width: 2px;
  padding: calc(8.5px - 1px) calc(14px - 1px);
  padding-right: calc(2.2rem - 1px);
  background-color: var(--ezrent-fl-bg, #fff);
}

.ezrent-radix-select-trigger:disabled {
  border-color: rgba(0, 0, 0, 0.26);
  background-color: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.38);
  cursor: not-allowed;
}

.ezrent-radix-select-trigger[data-placeholder] {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-radix-select-chevron {
  display: inline-flex;
  flex-shrink: 0;
  color: #6b7280;
  transition: transform 0.22s cubic-bezier(0.34, 1.35, 0.64, 1),
    color 0.2s ease;
}

.ezrent-outlined-root:focus-within .ezrent-radix-select-trigger .ezrent-radix-select-chevron {
  color: var(--ezrent-fl-border-focus, var(--ezrent-primary, #4f46e5));
}

.ezrent-radix-select-trigger[data-state='open'] .ezrent-radix-select-chevron {
  color: var(--ezrent-fl-border-focus, var(--ezrent-primary, #4f46e5));
  transform: rotate(180deg);
}

.ezrent-radix-select-content {
  z-index: 10060;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 10px 38px -10px rgba(22, 23, 24, 0.35), 0 10px 20px -15px rgba(22, 23, 24, 0.2);
  animation: ezrentRadixSelectContentIn 0.18s ease;
}

@keyframes ezrentRadixSelectContentIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ezrent-radix-select-content {
    animation: none;
  }

  .ezrent-radix-select-chevron {
    transition: none;
  }
}

.ezrent-radix-select-viewport {
  padding: 4px;
  max-height: min(280px, var(--radix-select-content-available-height, 280px));
}

.ezrent-radix-select-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 28px 6px 10px;
  border-radius: 4px;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #111827;
  cursor: pointer;
  user-select: none;
  outline: none;
}

.ezrent-radix-select-item[data-disabled] {
  color: #9ca3af;
  cursor: not-allowed;
}

.ezrent-radix-select-item[data-highlighted] {
  background: #f3f4f6;
  color: #111827;
}

.ezrent-radix-select-item[data-highlighted]:active {
  background: #e5e7eb;
}

.ezrent-radix-select-check {
  position: absolute;
  right: 8px;
  font-size: 0.75rem;
  color: #374151;
}

.ezrent-outlined-root .ezrent-radix-select-trigger:focus-visible {
  border-color: var(--ezrent-fl-border-focus, var(--ezrent-primary, #002b4e));
}

.ezrent-outlined-root .ezrent-radix-select-trigger {
  border-color: rgba(0, 0, 0, 0.23);
  min-height: var(--ezrent-fl-min-height, 40px);
  padding: var(--ezrent-fl-input-py, 8.5px) var(--ezrent-fl-input-px, 14px);
  padding-right: 2.2rem;
  font-size: 0.875rem;
  background-color: var(--ezrent-fl-bg, #fff);
}

.ezrent-outlined-root:focus-within .ezrent-radix-select-trigger {
  background-color: var(--ezrent-fl-bg, #fff);
}

.ezrent-outlined-root .ezrent-radix-select-trigger:focus-visible {
  padding: calc(var(--ezrent-fl-input-py, 8.5px) - 1px) calc(var(--ezrent-fl-input-px, 14px) - 1px);
  padding-right: calc(2.2rem - 1px);
}

.ezrent-outlined-root.ezrent-field-error .ezrent-radix-select-trigger {
  border-color: var(--ezrent-fl-border-error);
}

/*
 * Radix trigger: peles fokuss (:focus bez :focus-visible) — tā pati zilā apmale kā native
 * outlined laukam; teksta krāsu aizsargā pret tēmas button:hover.
 */
.ezrent-radix-select-trigger:focus:not(:focus-visible) {
  outline: none;
  border-color: var(--ezrent-fl-border-focus);
  border-width: 2px;
  padding: calc(8.5px - 1px) calc(14px - 1px);
  padding-right: calc(2.2rem - 1px);
  box-shadow: none;
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-radix-select-trigger[data-placeholder]:focus:not(:focus-visible) {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-outlined-root .ezrent-radix-select-trigger:focus:not(:focus-visible) {
  border-color: var(--ezrent-fl-border-focus);
  border-width: 2px;
  padding: calc(var(--ezrent-fl-input-py, 8.5px) - 1px) calc(var(--ezrent-fl-input-px, 14px) - 1px);
  padding-right: calc(2.2rem - 1px);
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-outlined-root .ezrent-radix-select-trigger[data-placeholder]:focus:not(:focus-visible) {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-radix-select-trigger:focus:not(:focus-visible):hover:not(:disabled) {
  border-color: var(--ezrent-fl-border-focus);
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-radix-select-trigger[data-placeholder]:focus:not(:focus-visible):hover:not(:disabled) {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-outlined-root .ezrent-radix-select-trigger:focus:not(:focus-visible):hover:not(:disabled) {
  border-color: var(--ezrent-fl-border-focus);
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-outlined-root .ezrent-radix-select-trigger[data-placeholder]:focus:not(:focus-visible):hover:not(:disabled) {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-outlined-root.ezrent-field-error .ezrent-radix-select-trigger:focus:not(:focus-visible) {
  border-color: var(--ezrent-fl-border-error);
}

.ezrent-outlined-root.ezrent-field-error .ezrent-radix-select-trigger:focus:not(:focus-visible):hover:not(:disabled) {
  border-color: var(--ezrent-fl-border-error);
}

.ezrent-outlined-root:has(.ezrent-radix-select-trigger:focus:not(:focus-visible)) .ezrent-float-label {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-outlined-root.ezrent-field-error:has(.ezrent-radix-select-trigger:focus:not(:focus-visible)) .ezrent-float-label {
  color: var(--ezrent-fl-border-error);
}

.ezrent-outlined-root:focus-within:has(.ezrent-radix-select-trigger:focus:not(:focus-visible)) select.ezrent-input-outlined {
  border-color: var(--ezrent-fl-border);
  border-width: 1px;
  padding: var(--ezrent-fl-input-py) var(--ezrent-fl-input-px);
}

.ezrent-outlined-root.ezrent-field-error:focus-within:has(.ezrent-radix-select-trigger:focus:not(:focus-visible)) select.ezrent-input-outlined {
  border-color: var(--ezrent-fl-border-error);
}

/* Country combobox (ISO list + search; native <select> hidden) */
.ezrent-country-combobox-mount {
  width: 100%;
  display: block;
}

/* Pārsūdz .ezrent-radix-select-trigger 0.875rem — iOS citādi zoom pie pieskāriena/fokusa */
.ezrent-radix-select-trigger.ezrent-country-combobox-trigger {
  font-size: 1rem;
  line-height: 1.4375;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.ezrent-country-combobox-trigger .ezrent-country-combobox-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-country-combobox-value--placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-outlined-root .ezrent-country-combobox-trigger {
  min-height: var(--ezrent-fl-min-height, 40px);
  padding: var(--ezrent-fl-input-py, 8.5px) var(--ezrent-fl-input-px, 14px);
  padding-right: 2.2rem;
}

.ezrent-country-combobox-panel {
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 10px 38px -10px rgba(22, 23, 24, 0.35), 0 10px 20px -15px rgba(22, 23, 24, 0.2);
}

.ezrent-country-combobox-search {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.ezrent-country-combobox-search:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--ezrent-primary, #4f46e5);
}

.ezrent-country-combobox-list {
  list-style: none;
  margin: 0;
  padding: 4px;
  max-height: min(280px, 50vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ezrent-country-combobox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #111827;
  cursor: pointer;
  user-select: none;
}

.ezrent-country-combobox-item--highlighted {
  background: #f3f4f6;
}

.ezrent-country-combobox-item--selected {
  font-weight: 600;
}

.ezrent-country-combobox-item-code {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #6b7280;
  letter-spacing: 0.02em;
}

.ezrent-outlined-root:has(.ezrent-country-combobox-trigger:focus:not(:focus-visible)) .ezrent-float-label {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-outlined-root.ezrent-field-error:has(.ezrent-country-combobox-trigger:focus:not(:focus-visible)) .ezrent-float-label {
  color: var(--ezrent-fl-border-error);
}

.ezrent-country-combobox-trigger:hover:not(:disabled) {
  color: rgba(0, 0, 0, 0.87);
  background-color: var(--ezrent-fl-bg, #fff);
}

.ezrent-country-combobox-trigger:hover:not(:disabled) .ezrent-country-combobox-value--placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-country-combobox-trigger:focus:not(:focus-visible) {
  outline: none;
  border-color: var(--ezrent-fl-border-focus);
  border-width: 2px;
  padding: calc(8.5px - 1px) calc(14px - 1px);
  padding-right: calc(2.2rem - 1px);
  box-shadow: none;
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-outlined-root .ezrent-country-combobox-trigger:focus:not(:focus-visible) {
  border-color: var(--ezrent-fl-border-focus);
  border-width: 2px;
  padding: calc(var(--ezrent-fl-input-py, 8.5px) - 1px) calc(var(--ezrent-fl-input-px, 14px) - 1px);
  padding-right: calc(2.2rem - 1px);
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-country-combobox-trigger:focus:not(:focus-visible) .ezrent-country-combobox-value--placeholder,
.ezrent-outlined-root .ezrent-country-combobox-trigger:focus:not(:focus-visible) .ezrent-country-combobox-value--placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-country-combobox-trigger:focus:not(:focus-visible):hover:not(:disabled) {
  border-color: var(--ezrent-fl-border-focus);
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-outlined-root .ezrent-country-combobox-trigger:focus:not(:focus-visible):hover:not(:disabled) {
  border-color: var(--ezrent-fl-border-focus);
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-outlined-root.ezrent-field-error .ezrent-country-combobox-trigger:focus:not(:focus-visible) {
  border-color: var(--ezrent-fl-border-error);
}

.ezrent-outlined-root.ezrent-field-error .ezrent-country-combobox-trigger:focus:not(:focus-visible):hover:not(:disabled) {
  border-color: var(--ezrent-fl-border-error);
}

/* Augstāka specifitāte pret tēmas button:hover (balts teksts uz baltā fona) */
.ezrent-form .ezrent-radix-select-trigger:hover:not(:disabled) {
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-form .ezrent-radix-select-trigger[data-placeholder]:hover:not(:disabled) {
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-form .ezrent-country-combobox-trigger:hover:not(:disabled) {
  color: rgba(0, 0, 0, 0.87);
}

.ezrent-form .ezrent-country-combobox-trigger:hover:not(:disabled) .ezrent-country-combobox-value--placeholder {
  color: rgba(0, 0, 0, 0.6);
}

/* Native date + time inputs (browser calendar / time picker) */
.ezrent-datetime-row {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .ezrent-datetime-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ezrent-datetime-field-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: #111827;
}

.ezrent-native-datetime-fields {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: stretch;
  width: 100%;
}

.ezrent-mui-datetime-root {
  width: 100%;
  flex: 1 1 100%;
  min-width: 0;
  min-height: 56px;
  margin-top: 4px;
}

.ezrent-mui-datetime-root .MuiFormControl-root,
.ezrent-mui-datetime-root .MuiTextField-root {
  width: 100%;
}

/* DateTimePicker: ikonas poga bez zilā primary fona (arī pēc izvēles) */
.ezrent-mui-datetime-root .MuiInputAdornment-root .MuiIconButton-root {
  background-color: transparent !important;
  box-shadow: none !important;
}

.ezrent-mui-datetime-root .MuiInputAdornment-root .MuiIconButton-root:hover {
  background-color: rgba(0, 43, 78, 0.06) !important;
}

/* Kalendārs portālā — dienu hover kontrasts (papildus theme) */
.ezrent-datetime-picker-popper .MuiPickersDay-root:not(.Mui-selected):not(.Mui-disabled):hover {
  background-color: rgba(0, 43, 78, 0.16) !important;
  color: #111827 !important;
}

.ezrent-native-datetime-fields .ezrent-input-date {
  flex: 1 1 10rem;
  min-width: 0;
  max-width: 100%;
}

.ezrent-native-datetime-fields .ezrent-input-time {
  flex: 0 1 6.5rem;
  min-width: 5.5rem;
}

.ezrent-native-datetime-fields .ezrent-input-datetime {
  flex: 1 1 100%;
  min-width: 0;
}

.flatpickr-calendar {
  z-index: 10080 !important;
}

textarea.ezrent-input:not(.ezrent-input-outlined) {
  border-radius: 0.25rem;
  height: auto !important;
  min-height: 120px;
}

.ezrent-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Two equal-width options in one row (customer type, payment method) */
.ezrent-checkbox-group.ezrent-choice-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: stretch;
}

.ezrent-checkbox-group.ezrent-choice-row-2 .ezrent-checkbox-label {
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
}

.ezrent-checkbox-group.ezrent-choice-row-2 .ezrent-checkbox-content {
  flex: 1;
  min-width: 0;
}

.ezrent-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}

.ezrent-form .ezrent-checkbox-label {
  display: flex;
  cursor: pointer;
  align-items: center;
  gap: 0.875rem;
  font-weight: 400;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: #fff;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.ezrent-service-item {
  min-height: 56px;
}

.ezrent-service-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ezrent-service-title-row {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.ezrent-service-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.2;
}

.ezrent-service-price-line {
  font-size: 0.9rem;
  color: #1f2937;
  font-weight: 500;
  line-height: 1.2;
}

.ezrent-service-info-btn {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #6b7280;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.ezrent-service-info-btn:hover,
.ezrent-service-info-btn:focus-visible {
  color: var(--ezrent-primary, #4f46e5);
  border: 0;
  background: transparent;
  outline: none;
}

.ezrent-service-info-icon {
  width: 0.875rem;
  height: 0.875rem;
  display: block;
}

.ezrent-service-info-wrap {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
}

.ezrent-service-info-tooltip {
  position: absolute;
  z-index: 10050;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: 0.35rem;
  min-width: 14rem;
  max-width: min(26rem, calc(100vw - 1.25rem));
  max-height: 11rem;
  overflow-y: auto;
  padding: 0.5rem 0.65rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.ezrent-service-info-wrap:hover .ezrent-service-info-tooltip,
.ezrent-service-info-wrap:focus-within .ezrent-service-info-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#ezrent-summary-location-fee-row .ezrent-service-info-tooltip {
  max-height: 16rem;
  max-width: min(28rem, calc(100vw - 1.25rem));
}

#ezrent-summary-location-fee-tip .ezrent-collection-fee-tip {
  text-align: left;
}

#ezrent-summary-location-fee-tip .ezrent-collection-fee-tip-section + .ezrent-collection-fee-tip-section {
  margin-top: 0.65rem;
}

#ezrent-summary-location-fee-tip .ezrent-collection-fee-tip-heading {
  font-weight: 700;
  text-align: left;
  margin-bottom: 0.2rem;
}

#ezrent-summary-location-fee-tip .ezrent-collection-fee-tip-rows {
  text-align: right;
}

#ezrent-summary-location-fee-tip .ezrent-collection-fee-tip-row {
  margin-bottom: 0.12rem;
}

#ezrent-summary-location-fee-tip .ezrent-collection-fee-tip-row:last-child {
  margin-bottom: 0;
}

#ezrent-summary-location-fee-tip .ezrent-collection-fee-tip-value {
  display: inline-block;
  max-width: 100%;
  text-align: right;
  word-break: break-word;
}

.ezrent-form .ezrent-checkbox-label:hover {
  border-color: var(--ezrent-primary, #4f46e5);
  background-color: #f9fafb;
}

.ezrent-form .ezrent-checkbox-label:has(input:checked) {
  border-color: var(--ezrent-primary, #4f46e5);
  background-color: var(--ezrent-primary-light, rgba(79, 70, 229, 0.08));
  box-shadow: 0 0 0 2px var(--ezrent-primary-light, rgba(79, 70, 229, 0.15));
}

.ezrent-form .ezrent-checkbox-label-plain,
.ezrent-form .ezrent-checkbox-label-plain:hover,
.ezrent-form .ezrent-checkbox-label-plain:has(input:checked) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  gap: 0.5rem;
}

.ezrent-legal-consent-wrap {
  margin-top: 0.75rem;
}

.ezrent-form .ezrent-legal-consent-label.ezrent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.ezrent-form .ezrent-legal-consent-label .ezrent-checkbox-content {
  display: block;
  flex: 1;
  min-width: 0;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ezrent-legal-consent-label .ezrent-checkbox-content a {
  color: var(--ezrent-primary, #4f46e5);
  text-decoration: underline;
  white-space: normal;
}

.ezrent-form .ezrent-checkbox-label input[type="checkbox"] {
  margin: 0 8px 0 0 !important;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  align-self: center;
  appearance: none;
  border: 2px solid #9ca3af;
  border-radius: 0.25rem;
  background: #fff;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ezrent-form .ezrent-checkbox-label input[type="checkbox"]:checked {
  border-color: var(--ezrent-primary, #4f46e5);
  background-color: var(--ezrent-primary, #4f46e5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.4 2.8 8l1.1-1.1 2.3 2.3 5.8-5.8L13.1 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.8rem 0.8rem;
}

.ezrent-form .ezrent-checkbox-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--ezrent-primary, #4f46e5);
  outline-offset: 1px;
}

.ezrent-form .ezrent-checkbox-content {
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}

.ezrent-payment-option {
  gap: 0.35rem;
}

.ezrent-payment-note {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.ezrent-payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  font-size: 0.95rem;
  line-height: 1;
}

.ezrent-form .ezrent-checkbox-content .ezrent-price {
  margin-left: 0.25rem;
}

.ezrent-form .ezrent-service-qty-row {
  justify-content: flex-start;
  gap: 0.6rem;
}

.ezrent-service-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.ezrent-service-qty-toggle {
  margin: 0 !important;
}

.ezrent-service-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0;
}

.ezrent-service-qty-btn {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.35rem;
  background: #fff;
  color: var(--ezrent-primary, #4f46e5);
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.ezrent-service-qty-btn:hover {
  border-color: var(--ezrent-primary, #4f46e5);
  background: var(--ezrent-primary, #4f46e5);
  color: #fff;
}

.ezrent-service-qty-btn:focus {
  outline: none;
}

.ezrent-service-qty-btn:focus-visible {
  border-color: var(--ezrent-primary, #4f46e5);
  background: var(--ezrent-primary, #4f46e5);
  color: #fff;
}

@media (hover: none), (pointer: coarse) {
  .ezrent-service-qty-btn:hover {
    border-color: #cbd5e1;
    background: #fff;
    color: var(--ezrent-primary, #4f46e5);
  }
}

.ezrent-service-qty-value {
  min-width: 1.1rem;
  text-align: center;
  font-weight: 600;
  color: #374151;
}

.ezrent-service-qty-active {
  border-color: var(--ezrent-primary, #4f46e5) !important;
  background-color: var(--ezrent-primary-light, rgba(79, 70, 229, 0.08)) !important;
}

.ezrent-price {
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.ezrent-btn {
  cursor: pointer;
  border-radius: 0.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.ezrent-btn-primary {
  background-color: var(--ezrent-primary, #4f46e5);
  color: #fff;
}

.ezrent-btn-primary:hover {
  background-color: var(--ezrent-primary-hover, #4338ca);
  opacity: 0.95;
}

.ezrent-btn:active,
.ezrent-btn-primary:active {
  opacity: 0.8;
}

.ezrent-btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.ezrent-vehicle-cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .ezrent-vehicle-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ezrent-vehicle-card {
  display: block;
  cursor: pointer;
}

.ezrent-vehicle-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.ezrent-vehicle-card-inner {
  border-radius: 0.5rem;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  padding: 1rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.ezrent-vehicle-card-inner:hover {
  --tw-border-opacity: 1;
  border-color: var(--ezrent-primary, #4f46e5);
  background-color: var(--ezrent-primary-light, rgba(79, 70, 229, 0.1));
}

.ezrent-vehicle-card input:checked + .ezrent-vehicle-card-inner {
  --tw-border-opacity: 1;
  border-color: var(--ezrent-primary, #4f46e5);
  background-color: var(--ezrent-primary-light, rgba(79, 70, 229, 0.15));
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: var(--ezrent-primary-light, rgba(79, 70, 229, 0.2));
}

.ezrent-vehicle-card-image {
  margin-bottom: 0.75rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.ezrent-vehicle-card-image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.ezrent-vehicle-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.ezrent-vehicle-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ezrent-vehicle-card-name {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
}

.ezrent-vehicle-card-example {
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.ezrent-vehicle-card-details {
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.ezrent-vehicle-card-price {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: var(--ezrent-primary, #4f46e5);
}

.ezrent-vehicle-card-none .ezrent-vehicle-card-inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: center;
}

.ezrent-vehicle-card-none-text {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.fixed {
  position: fixed;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

/* Wizard layout */
.ezrent-wizard-wrapper {
  margin-left: 0;
  margin-right: auto;
  max-width: 1100px;
  padding: 1.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ezrent-wizard-main {
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  border-radius: 0.375rem;
}

@media (max-width: 767px) {
  .ezrent-wizard-wrapper {
    max-width: 100%;
    width: 100%;
    padding: 0.875rem;
  }
  .ezrent-wizard-main {
    width: 100%;
    padding: 1rem;
  }
}

@media (min-width: 768px) {
  .ezrent-wizard-wrapper {
    padding-left: 0;
  }
}

/* FormBold-style step indicators */
.ezrent-step-indicators {
  margin-bottom: 2rem;
  border-bottom: 1px solid #d1d5db;
  padding-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.ezrent-step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  width: 100%;
}

.ezrent-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  min-width: 8.5rem;
}

.ezrent-step-label {
  line-height: 1.2;
}

@media (max-width: 767px) {
  .ezrent-step-list {
    gap: 0;
    justify-content: space-between;
    width: 100%;
  }
  .ezrent-step-item {
    min-width: 0;
    width: auto;
    flex: 1 1 0;
    gap: 0;
    position: relative;
  }
  .ezrent-step-item:not(:last-child)::after {
    content: "-";
    position: absolute;
    right: -0.2rem;
    top: 0.95rem;
    color: #9ca3af;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
  }
  .ezrent-step-label {
    display: none;
  }
}

.ezrent-step-item:hover {
  color: #374151;
}

.ezrent-step-item.ezrent-step-active {
  color: #111827;
}

.ezrent-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #e5e7eb;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.ezrent-step-item.ezrent-step-active .ezrent-step-num {
  background: var(--ezrent-primary, #4f46e5);
  color: #fff;
}

.ezrent-wizard-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  justify-items: stretch;
  align-items: start;
}

@media (min-width: 768px) {
  .ezrent-wizard-layout {
    grid-template-columns: 1fr 400px;
  }
}

.ezrent-wizard-main {
  min-width: 0;
  width: 100%;
}

.ezrent-wizard-panel {
  display: block;
  /* Offset for scrollIntoView so sticky headers / admin bar overlap less */
  scroll-margin-top: 1rem;
}

.ezrent-wizard-panel.ezrent-panel-hidden {
  display: none;
}

.ezrent-panel-title {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
}

/*
 * Step 1: vienāda vertikālā atstarpe starp virsrakstu, datumu/liku laukiem un
 * pielāgotajām adresēm (dators un mobilais). Izmanto to pašu 1rem kā .ezrent-form-row.
 * Tikai .ezrent-panel-active — citādi ID specifika pārraksta display:none paslēptajam panelim.
 */
#ezrent-rental-form .ezrent-wizard-panel[data-panel="1"].ezrent-panel-active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#ezrent-rental-form .ezrent-wizard-panel[data-panel="1"].ezrent-panel-active > .ezrent-panel-title {
  margin-bottom: 0;
}

.ezrent-wizard-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

/* Step 1: maps sit below Next/Back; hide on other steps (block is outside panel 1). */
#ezrent-rental-form:not([data-form-step="1"]) .ezrent-step1-maps-below-actions {
  display: none !important;
}

.ezrent-location-map-section.ezrent-step1-maps-below-actions {
  margin-top: 1rem;
  padding-top: 1rem;
}

.ezrent-btn-hidden {
  display: none !important;
}

.ezrent-btn-back {
  background: transparent;
  color: var(--ezrent-primary-hover, #312e81);
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.ezrent-btn-back:hover {
  text-decoration: underline;
}

.ezrent-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ezrent-primary, #4f46e5);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ezrent-btn-next:hover {
  background: var(--ezrent-primary-hover, #4338ca);
  opacity: 0.95;
}

.ezrent-btn-arrow {
  width: 1rem;
  height: 1rem;
}

/* Iesniegšana: griežas aplītis aiz teksta, kamēr gaida servera atbildi */
#ezrent-submit-btn.ezrent-btn-next {
  position: relative;
}

.ezrent-submit-btn-text {
  display: inline-block;
}

.ezrent-submit-btn-spinner {
  display: none;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: middle;
  animation: ezrent-submit-spin 0.65s linear infinite;
}

#ezrent-submit-btn.ezrent-btn--loading .ezrent-submit-btn-spinner {
  display: inline-block;
}

#ezrent-submit-btn:disabled.ezrent-btn--loading {
  cursor: wait;
  opacity: 0.92;
}

@keyframes ezrent-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ezrent-submit-btn-spinner {
    animation-duration: 1.4s;
  }
}

.ezrent-btn-secondary {
  background: #6c757d;
  color: #fff;
}

.ezrent-btn-secondary:hover {
  background: #5a6268;
}

/* Vehicle filters */
.ezrent-vehicle-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.625rem;
  background: #f9fafb;
}

/*
 * Vienāds platums abiem filtriem — native <select> citādi maina intrisko platumu pēc izvēles.
 */
.ezrent-filter-group {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}

.ezrent-filter-group .ezrent-outlined-root {
  width: 100%;
  max-width: 100%;
}

.ezrent-filter-group select.ezrent-filter-select.ezrent-input-outlined {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  line-height: 1.2;
  cursor: pointer;
}

.ezrent-outlined-root .ezrent-filter-select.ezrent-input-outlined {
  padding-right: 2.25rem;
}

.ezrent-filter-group select.ezrent-filter-select.ezrent-input-outlined::-ms-expand {
  display: none;
}

.ezrent-filter-select.ezrent-input:not(.ezrent-input-outlined) {
  min-height: 35px;
  height: 35px;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  background-color: #fff;
}

.ezrent-filter-select.ezrent-input:hover {
  border-color: #9ca3af;
}

.ezrent-filter-select.ezrent-input:focus {
  border-color: var(--ezrent-primary, #4f46e5);
  box-shadow: 0 0 0 3px var(--ezrent-primary-light, rgba(79, 70, 229, 0.14));
}

@media (max-width: 640px) {
  .ezrent-vehicle-filters {
    padding: 0.625rem;
  }
  .ezrent-filter-group {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* Vehicle list */
.ezrent-vehicle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.ezrent-form ul.ezrent-vehicle-list {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.ezrent-vehicle-list-item {
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0;
  cursor: pointer;
  transition: all 0.15s;
  width: 100%;
  box-sizing: border-box;
}

.ezrent-vehicle-list-item:hover {
  border-color: var(--ezrent-primary, #4f46e5);
  background: var(--ezrent-primary-light, rgba(79, 70, 229, 0.05));
}

@media (hover: none), (pointer: coarse) {
  .ezrent-vehicle-list-item:hover {
    border-color: #e5e7eb;
    background: transparent;
  }
}

.ezrent-vehicle-list-item.ezrent-selected {
  border-color: var(--ezrent-primary, #4f46e5);
  background: var(--ezrent-primary-light, rgba(79, 70, 229, 0.1));
  box-shadow: 0 0 0 2px var(--ezrent-primary-light, rgba(79, 70, 229, 0.2));
}

/* Shortcode [ezrent_vehicle_pick]: cards as links */
.ezrent-vehicle-pick-shortcode a.ezrent-vehicle-list-item,
.ezrent-vehicle-pick-shortcode a.ezrent-vehicle-pick-link {
  display: block;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.ezrent-vehicle-pick-caption {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #4b5563;
}

.ezrent-vehicle-pick-notice {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #fef3c7;
  border-radius: 0.375rem;
  color: #92400e;
}

.ezrent-vehicle-list-inner {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  align-items: flex-start;
}

.ezrent-vehicle-list-image {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 0.25rem;
  overflow: hidden;
  background: #f3f4f6;
}

.ezrent-vehicle-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ezrent-vehicle-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.ezrent-vehicle-list-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ezrent-vehicle-list-name {
  font-size: 1rem;
  color: #002b4e;
  font-weight: 700 !important;
  line-height: 1.25;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-synthesis: weight;
}

.ezrent-vehicle-list-example {
  font-size: 0.875rem;
  color: #4b5563;
}

.ezrent-vehicle-list-details {
  font-size: 0.75rem;
  color: #6b7280;
}

.ezrent-vehicle-list-price {
  margin-top: 0.25rem;
  font-weight: 500;
  color: var(--ezrent-primary, #4f46e5);
}

.ezrent-vehicle-list-price.ezrent-price-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #6b7280;
  opacity: 0.9;
}

.ezrent-price-spinner {
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid #d1d5db;
  border-top-color: var(--ezrent-primary, #4f46e5);
  border-radius: 9999px;
  animation: ezrent-price-spin 0.7s linear infinite;
}

.ezrent-price-loading-text {
  font-weight: 500;
  font-size: 0.82rem;
}

@keyframes ezrent-price-spin {
  to { transform: rotate(360deg); }
}

.ezrent-empty {
  color: #6b7280;
  font-style: italic;
}

/* Homepage mini catalog cards ([ezrent_vehicle_pick]) */
.ezrent-mini-catalog {
  padding: 8px 0;
  width: 100%;
  max-width: none;
  background: transparent !important;
}

.ezrent-mini-catalog .ezrent-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  grid-auto-rows: 1fr;
  overflow: visible;
  width: 100%;
  max-width: none;
  background: transparent !important;
}

.ezrent-mini-catalog .ezrent-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  height: 100%;
  min-width: 0;
  background: #f8fafc;
  border-radius: 18px;
  overflow: visible;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}

.ezrent-mini-catalog .ezrent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.14);
  z-index: 20;
}

.ezrent-mini-catalog .ezrent-card:focus-within {
  z-index: 25;
}

.ezrent-mini-catalog .ezrent-card__content {
  padding: 20px 20px 8px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.ezrent-mini-catalog .ezrent-card__top {
  min-height: 98px;
  display: flex;
  flex-direction: column;
}

.ezrent-mini-catalog .ezrent-card__title {
  margin: 0;
  color: #133b62;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  min-height: 2.3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ezrent-mini-catalog .ezrent-card__meta {
  margin: 8px 0 0;
  color: #4b6782;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ezrent-mini-catalog .ezrent-card__meta-info-wrap {
  position: relative;
  z-index: 12;
}

.ezrent-mini-catalog .ezrent-card__meta-info-wrap .ezrent-service-info-btn {
  width: 1rem;
  height: 1rem;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.ezrent-mini-catalog .ezrent-card__meta-info-wrap .ezrent-service-info-icon {
  width: 0.78rem;
  height: 0.78rem;
}

.ezrent-mini-catalog .ezrent-card__meta-info-wrap .ezrent-service-info-btn:hover,
.ezrent-mini-catalog .ezrent-card__meta-info-wrap .ezrent-service-info-btn:focus,
.ezrent-mini-catalog .ezrent-card__meta-info-wrap .ezrent-service-info-btn:focus-visible {
  border: 0;
  outline: none;
  box-shadow: none;
}

.ezrent-mini-catalog .ezrent-card__meta-info-wrap .ezrent-service-info-tooltip {
  left: 0;
  right: auto;
  bottom: calc(100% + 6px);
  top: auto;
  transform: none;
  min-width: 14rem;
  max-width: min(23rem, calc(100vw - 1.25rem));
  z-index: 10100;
}

/* Prevent BFCache/back-navigation focus restore flash in mini cards. */
.ezrent-mini-catalog .ezrent-card__meta-info-wrap:focus-within .ezrent-service-info-tooltip {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ezrent-mini-catalog .ezrent-card__meta-info-wrap:hover .ezrent-service-info-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ezrent-mini-catalog .ezrent-card__middle {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.ezrent-mini-catalog .ezrent-card__model {
  margin: 0;
  color: #274968;
  font-size: 15px;
  line-height: 1.5;
  min-height: 3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ezrent-mini-catalog .ezrent-card__model-name {
  font-weight: 700;
}

.ezrent-mini-catalog .ezrent-card__model-suffix {
  font-size: 0.84em;
  color: #5f7489;
  font-weight: 500;
}

.ezrent-mini-catalog .ezrent-card__specs {
  margin-top: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 1px solid #d8e1ea;
  border-bottom: 1px solid #d8e1ea;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.ezrent-mini-catalog .ezrent-card__spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #274968;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
}

.ezrent-mini-catalog .ezrent-card__spec-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.ezrent-mini-catalog .ezrent-card__price-block {
  margin-top: auto;
}

.ezrent-mini-catalog .ezrent-card__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  overflow: hidden;
}

.ezrent-mini-catalog .car-class-from-price {
  margin: 0;
  margin-top: 30px;
  padding-top: 0;
  font-size: 1rem;
  font-weight: 400;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  line-height: 1.1;
}

.ezrent-mini-catalog .car-class-from-price-note {
  margin: 0;
  margin-top: 1px;
  margin-bottom: 10px;
  text-align: left;
}

.ezrent-mini-catalog .car-class-from-price-amount {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
}

.ezrent-mini-catalog .ezrent-card__image-wrap {
  margin-top: 2px;
  padding: 4px 14px 0;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #ffffff;
}

.ezrent-mini-catalog .ezrent-card__image-wrap img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: 132px;
  object-fit: contain;
}

.ezrent-mini-catalog .ezrent-card__placeholder-image {
  opacity: 0.72;
  filter: saturate(0.6);
}

.ezrent-mini-catalog .ezrent-card__footer {
  padding: 12px 20px 18px;
  background: #ffffff;
}

.ezrent-mini-catalog .book-btn {
  display: flex;
  width: 100%;
  min-width: 0 !important;
  justify-content: center;
  text-align: center;
  align-items: center;
  color: #ffffff !important;
}

.ezrent-mini-catalog .ezrent-card__footer .book-btn,
.ezrent-mini-catalog .ezrent-card__footer a.book-btn,
.ezrent-mini-catalog .ezrent-card__footer .book-btn:link,
.ezrent-mini-catalog .ezrent-card__footer a.book-btn:link,
.ezrent-mini-catalog .ezrent-card__footer .book-btn:visited,
.ezrent-mini-catalog .ezrent-card__footer a.book-btn:visited,
.ezrent-mini-catalog .ezrent-card__footer .book-btn:hover,
.ezrent-mini-catalog .ezrent-card__footer a.book-btn:hover,
.ezrent-mini-catalog .ezrent-card__footer .book-btn:focus,
.ezrent-mini-catalog .ezrent-card__footer a.book-btn:focus,
.ezrent-mini-catalog .ezrent-card__footer .book-btn:active,
.ezrent-mini-catalog .ezrent-card__footer a.book-btn:active,
.ezrent-mini-catalog .ezrent-card__footer .book-btn * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

@media (max-width: 1024px) {
  .ezrent-mini-catalog .ezrent-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ezrent-mini-catalog .ezrent-mini-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 2px 6px;
    scrollbar-width: none;
  }
  .ezrent-mini-catalog .ezrent-mini-grid::-webkit-scrollbar {
    display: none;
  }
  .ezrent-mini-catalog .ezrent-card {
    background: #fff;
    flex: 0 0 86%;
    max-width: 86%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .ezrent-mini-catalog .ezrent-card:last-child {
    margin-right: 2px;
  }
  .ezrent-mini-catalog .ezrent-card {
    min-height: 390px;
  }
  .ezrent-mini-catalog .ezrent-card__title {
    font-size: 24px;
  }
  .ezrent-mini-catalog .ezrent-card:hover {
    transform: none;
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.08);
  }
  .ezrent-mini-catalog .ezrent-card__footer .book-btn:hover,
  .ezrent-mini-catalog .ezrent-card__footer .book-btn:focus,
  .ezrent-mini-catalog .ezrent-card__footer .book-btn:active {
    transform: none;
    box-shadow: none;
  }
}

/* Summary block */
.ezrent-wizard-summary {
  position: sticky;
  top: 24px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .ezrent-wizard-summary {
    width: 400px;
    min-width: 400px;
    max-width: 400px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }
}

.ezrent-summary-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.ezrent-summary-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.ezrent-summary-list {
  margin: 0;
  padding: 0;
}

.ezrent-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.875rem;
}

.ezrent-summary-row:last-child {
  border-bottom: none;
}

.ezrent-summary-row dt {
  margin: 0;
  font-weight: 600;
  color: #111827;
}

.ezrent-summary-dt-with-info {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
}

.ezrent-summary-dt-with-info .ezrent-service-info-wrap {
  flex-shrink: 0;
}

.ezrent-summary-row dd {
  margin: 0;
  text-align: right;
}

.ezrent-summary-vehicle-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.ezrent-summary-vehicle-name {
  display: inline-block;
}

.ezrent-summary-vehicle-image {
  width: 128px;
  height: 86px;
  object-fit: cover;
  border-radius: 0.4rem;
  border: 1px solid #e5e7eb;
}

.ezrent-summary-row-no-title {
  display: flex;
  justify-content: flex-end;
}

.ezrent-summary-row-no-title dt {
  display: none;
}

.ezrent-summary-row-no-title dd {
  text-align: right;
}

/* Pickup / return / rental period — label left, stacked data right */
.ezrent-summary-row--periods {
  align-items: flex-start;
}

.ezrent-summary-row--periods dt {
  display: none;
}

.ezrent-summary-row--periods dd {
  flex: 1;
  min-width: 0;
  margin: 0;
  text-align: left;
}

.ezrent-summary-period-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.ezrent-summary-period-block {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.ezrent-summary-period-label {
  flex-shrink: 0;
  max-width: 42%;
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
  line-height: 1.35;
}

.ezrent-summary-period-data {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.ezrent-summary-period-line {
  display: block;
  font-size: 0.875rem;
  line-height: 1.35;
  word-break: break-word;
}

.ezrent-summary-period-datetime {
  font-weight: 500;
  color: #111827;
}

.ezrent-summary-period-location {
  color: #4b5563;
}

.ezrent-summary-period-fee {
  color: #6b7280;
  font-size: 0.8125rem;
}

.ezrent-summary-subline {
  display: block;
  margin-top: 0.12rem;
  color: #6b7280;
  font-size: 0.84rem;
}

.ezrent-summary-subline-gap {
  margin-top: 0.45rem;
}

.ezrent-summary-block-title {
  display: block;
  margin-top: 0.1rem;
  color: #111827;
  font-size: 0.88rem;
  font-weight: 600;
}

.ezrent-summary-block-title-gap {
  margin-top: 0.7rem;
}

.ezrent-summary-days {
  display: block;
  margin-top: 0.55rem;
}

.ezrent-summary-total dt,
.ezrent-summary-total dd {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
}

.ezrent-summary-extras dd {
  color: #6b7280;
}

.ezrent-summary-service-line {
  display: block;
  margin-top: 0.18rem;
}

.ezrent-summary-service-main {
  display: block;
}

.ezrent-summary-service-subline {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.86em;
  color: #6b7280;
}

.ezrent-insurance-note {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.ezrent-insurance-group {
  margin-top: 1.75rem;
}

.ezrent-insurance-options {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.ezrent-insurance-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ezrent-insurance-details {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  row-gap: 0;
}

/* Theme styles often add margin on p — keep Deposit and Excess tight */
.ezrent-insurance-details > .ezrent-insurance-deposit,
.ezrent-insurance-details > .ezrent-insurance-self-risk {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.875rem;
  line-height: 1.3;
  color: #374151;
}

/* Zem „Excess / deductible” — papildu apdrošināšanas apraksts (no data-description) */
.ezrent-insurance-extra-description {
  margin: 0;
  padding: 0.5rem 0.625rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #4b5563;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.ezrent-insurance-extra-description:not(.ezrent-hidden) {
  margin-top: 0.35rem;
}

/* Custom address modal */
.ezrent-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.ezrent-modal-overlay[hidden] {
  display: none !important;
}

.ezrent-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.ezrent-modal {
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 480px;
  width: 100%;
  z-index: 1;
}

.ezrent-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.ezrent-modal-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.ezrent-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem;
}

.ezrent-modal-close:hover {
  color: #111;
}

.ezrent-modal-body {
  padding: 1.25rem;
}

.ezrent-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: flex-end;
}

.ezrent-modal-body .ezrent-form-group {
  position: relative;
}

.ezrent-vehicle-price-breakdown {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.3;
  color: #6b7280;
}

.ezrent-vehicle-price-breakdown-row {
  display: block;
}

/*
 * Dzimšanas datuma lauks ar reālu placeholder dd.mm.YYYY — etiķete paliek “notch” pozīcijā.
 */
.ezrent-wizard-wrapper .ezrent-outlined-root--license-date > .ezrent-float-label {
  max-width: var(--ezrent-fl-label-max-shrink, calc(133% - 32px));
  transform: var(--ezrent-fl-label-shrink, translate(14px, -9px) scale(0.75));
  padding: 0 var(--ezrent-fl-label-inset, 4px);
  margin: 0 calc(-1 * var(--ezrent-fl-label-inset, 4px));
  z-index: 4;
  background: var(--ezrent-fl-bg, #fff);
  background-clip: padding-box;
  color: rgba(0, 0, 0, 0.6);
}

.ezrent-wizard-wrapper .ezrent-outlined-root--license-date .ezrent-input-outlined::placeholder {
  color: #9ca3af;
  opacity: 1;
}

@media (max-width: 767px) {
  .ezrent-form input.ezrent-input:not(.ezrent-input-outlined),
  .ezrent-form select.ezrent-input:not(.ezrent-input-outlined),
  .ezrent-form textarea.ezrent-input:not(.ezrent-input-outlined) {
    font-size: 16px;
  }

  /*
   * iOS Safari: zem 16px fonta izmēra ievades laukiem pie fokusa tiek veikts automātisks zoom.
   * Attiecas uz visiem “outlined” laukiem, teksta laukumiem, valsts combobox un tālruni.
   */
  .ezrent-wizard-wrapper .ezrent-outlined-root .ezrent-input-outlined,
  .ezrent-wizard-wrapper .ezrent-outlined-root select.ezrent-input-outlined,
  .ezrent-wizard-wrapper .ezrent-outlined-root textarea.ezrent-input-outlined {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .ezrent-wizard-wrapper .ezrent-outlined-root--phone .iti .ezrent-input {
    font-size: 16px !important;
  }

  .ezrent-wizard-wrapper .ezrent-country-combobox-trigger,
  .ezrent-wizard-wrapper .ezrent-country-combobox-search {
    font-size: 16px !important;
  }

  /*
   * intl-tel-input: valsts koda meklēšanas lauks (nav .ezrent-input) — zem 16px
   * iOS Safari pie fokusa zoom; līdzīgi kā valsts combobox.
   */
  .ezrent-wizard-wrapper .iti__search-input,
  #ezrent-form-container .iti__search-input {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .ezrent-wizard-wrapper .iti__selected-country,
  #ezrent-form-container .iti__selected-country {
    touch-action: manipulation;
  }

  .ezrent-wizard-wrapper .ezrent-mui-datetime-root .MuiInputBase-input {
    font-size: 16px !important;
  }

  .ezrent-form .ezrent-legal-consent-label .ezrent-checkbox-content {
    font-size: 16px;
  }

  /*
   * Šaurā skatā izmantojam dabisko <select> (bez Radix); 16px mazina iOS automātisko zoom
   * pie fokusa; nedaudz lielāks pieskāriena mērķis.
   */
  .ezrent-outlined-root select.ezrent-input-outlined.ezrent-select-enhanced:not([aria-hidden='true']) {
    font-size: 16px !important;
    min-height: 44px;
    touch-action: manipulation;
  }

  /*
   * Step 1 (mobilais): vienāds lauka augstums — MUI datums/laiks, lokāciju <select>,
   * pielāgotās adreses ievade (t.sk. ar kartes pogu).
   */
  #ezrent-rental-form .ezrent-wizard-panel[data-panel="1"] .ezrent-outlined-root {
    --ezrent-fl-min-height: 48px;
  }

  #ezrent-rental-form .ezrent-wizard-panel[data-panel="1"] .ezrent-outlined-root select.ezrent-input-outlined.ezrent-select-enhanced:not([aria-hidden='true']) {
    min-height: 48px;
  }

  #ezrent-rental-form .ezrent-wizard-panel[data-panel="1"] .ezrent-mui-datetime-root {
    min-height: 48px;
  }

  #ezrent-rental-form .ezrent-wizard-panel[data-panel="1"] .ezrent-mui-datetime-root .MuiOutlinedInput-root {
    min-height: 48px !important;
    align-items: center;
  }
}

/*
 * Dropdown (Radix/country) fokuss: outline, nevis biezāka apmale — nemaina lauka izmēru,
 * tāpēc modal/tīt skrolējams konteiners “neraustās”, kad pārlūks mēģina kompensēt izkārtojumu.
 */
#ezrent-form-container .ezrent-radix-select-trigger:focus,
#ezrent-form-container .ezrent-radix-select-trigger:focus-visible {
  border-width: 1px !important;
  box-shadow: none !important;
  outline: 2px solid var(--ezrent-fl-border-focus, var(--ezrent-primary, #002b4e));
  outline-offset: -1px;
}

#ezrent-form-container .ezrent-radix-select-trigger:focus-visible {
  padding: 8.5px 14px !important;
  padding-right: 2.2rem !important;
}

#ezrent-form-container .ezrent-radix-select-trigger:focus:not(:focus-visible) {
  border-width: 1px !important;
  padding: 8.5px 14px !important;
  padding-right: 2.2rem !important;
  box-shadow: none !important;
  outline: 2px solid var(--ezrent-fl-border-focus, var(--ezrent-primary, #002b4e));
  outline-offset: -1px;
  color: rgba(0, 0, 0, 0.87);
}

#ezrent-form-container .ezrent-radix-select-trigger[data-placeholder]:focus:not(:focus-visible) {
  color: rgba(0, 0, 0, 0.6);
}

#ezrent-form-container .ezrent-outlined-root .ezrent-radix-select-trigger:focus,
#ezrent-form-container .ezrent-outlined-root .ezrent-radix-select-trigger:focus-visible,
#ezrent-form-container .ezrent-outlined-root .ezrent-radix-select-trigger:focus:not(:focus-visible) {
  border-width: 1px !important;
  padding: var(--ezrent-fl-input-py, 8.5px) var(--ezrent-fl-input-px, 14px) !important;
  padding-right: 2.2rem !important;
  box-shadow: none !important;
  outline: 2px solid var(--ezrent-fl-border-focus, var(--ezrent-primary, #002b4e));
  outline-offset: -1px;
}

#ezrent-form-container .ezrent-outlined-root .ezrent-radix-select-trigger[data-placeholder]:focus:not(:focus-visible) {
  color: rgba(0, 0, 0, 0.6);
}

#ezrent-form-container .ezrent-outlined-root.ezrent-field-error .ezrent-radix-select-trigger:focus,
#ezrent-form-container .ezrent-outlined-root.ezrent-field-error .ezrent-radix-select-trigger:focus-visible,
#ezrent-form-container .ezrent-outlined-root.ezrent-field-error .ezrent-radix-select-trigger:focus:not(:focus-visible) {
  outline-color: var(--ezrent-fl-border-error);
}

/* Adrese modal: stabilāks vertikālais skrollieris (retā scrollbar parādīšanās) */
.ezrent-modal-overlay {
  scrollbar-gutter: stable;
}

/* Step 1: Google Maps location cards */
.ezrent-location-map-section {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ezrent-location-map-section-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
}

.ezrent-location-map-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ezrent-location-map-card {
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: linear-gradient(165deg, #ffffff 0%, #f9fafb 100%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 43, 78, 0.06);
  overflow: hidden;
}

.ezrent-location-map-card-title {
  padding: 1rem 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.ezrent-location-map-card-address {
  padding: 0.35rem 1.25rem 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #4b5563;
}

.ezrent-location-map-card-map {
  margin-top: 0.75rem;
  line-height: 0;
  background: #e5e7eb;
}

.ezrent-location-map-card-map--static {
  position: relative;
}

.ezrent-static-map-toolbar {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ezrent-static-map-toolbar button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  background: #fff;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ezrent-static-map-toolbar button:hover:not(:disabled) {
  background: #f3f4f6;
}

.ezrent-static-map-toolbar button:focus-visible {
  outline: 2px solid #2271b1;
  outline-offset: 2px;
}

.ezrent-static-map-toolbar button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ezrent-location-map-card-map img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

/* Step 1: only newly inserted cards animate (existing cards stay static). */
.ezrent-location-map-section--dynamic .ezrent-location-map-card--enter {
  opacity: 0;
  animation: ezrent-location-map-card-in 0.45s ease forwards;
}

.ezrent-location-map-section--dynamic .ezrent-location-map-card--enter ~ .ezrent-location-map-card--enter {
  animation-delay: 0.09s;
}

@keyframes ezrent-location-map-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ezrent-location-map-section--dynamic .ezrent-location-map-card--enter {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Custom address: Google Maps icon inside field (same row height as outlined input) */
#ezrent-form-container .ezrent-outlined-root--custom-address-map .ezrent-location-custom-address-inner {
  position: relative;
  display: block;
  width: 100%;
}

#ezrent-form-container .ezrent-outlined-root--custom-address-map .ezrent-location-custom-address-inner .ezrent-location-custom-address-input {
  padding-right: 2.75rem;
}

.ezrent-custom-address-map-trigger {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease;
}

.ezrent-custom-address-map-trigger:hover {
  background: rgba(0, 43, 78, 0.06);
}

.ezrent-custom-address-map-trigger:focus-visible {
  outline: 2px solid var(--ezrent-primary, #2271b1);
  outline-offset: 1px;
}

.ezrent-custom-address-map-trigger__icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .ezrent-custom-address-map-trigger__icon {
    animation: ezrent-map-icon-pulse 2.4s ease-in-out infinite;
  }
}

@keyframes ezrent-map-icon-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.88;
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ezrent-custom-address-map-trigger__icon {
    animation: none;
    opacity: 1;
  }
}

.ezrent-custom-address-map-trigger:hover .ezrent-custom-address-map-trigger__icon {
  animation: none;
  transform: scale(1.2);
  opacity: 1;
}

.pac-container {
  z-index: 100002 !important;
}

/* Fullscreen map modal */
.ezrent-custom-address-map-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
}

.ezrent-custom-address-map-modal[hidden] {
  display: none !important;
}

.ezrent-custom-address-map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
}

.ezrent-custom-address-map-modal__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  max-width: 100%;
  max-height: 100%;
}

.ezrent-custom-address-map-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.ezrent-custom-address-map-modal__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.ezrent-custom-address-map-modal__close {
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
  padding: 0.25rem 0.5rem;
}

.ezrent-custom-address-map-modal__close:hover {
  color: #111827;
}

.ezrent-custom-address-map-modal__search {
  margin: 0.75rem 1rem 0;
  width: calc(100% - 2rem);
  max-width: 40rem;
  align-self: center;
}

.ezrent-custom-address-map-modal__canvas {
  flex: 1;
  min-height: 200px;
  margin: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.ezrent-custom-address-map-modal__foot {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}

body.ezrent-custom-address-map-modal-open {
  overflow: hidden;
}

/* Vehicle catalog (CPT auto_klase) */
.ezrent-catalog-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

.ezrent-catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.ezrent-catalog-header h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  color: #14365b;
}

.car-class-card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  padding: 22px;
}

.car-class-top {
  padding-bottom: 18px;
  border-bottom: 1px dashed #d5d5d5;
}

.car-class-title {
  margin: 0 0 12px;
  color: #bd2f25;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.15;
  font-weight: 800;
}

.car-class-subtitle,
.car-class-models {
  margin: 0 0 8px;
  color: #14365b;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.car-class-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.car-class-subtitle-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex-shrink: 0;
}

.car-class-models {
  margin-bottom: 0 !important;
  font-weight: 400 !important;
}

.car-class-model-name {
  font-weight: 700 !important;
  font-size: 1.22em !important;
  line-height: 1.15 !important;
}

.car-class-models .car-class-model-name {
  font-size: 1.22em !important;
}

.car-class-model-suffix {
  font-weight: 400 !important;
  font-size: 0.88em;
}

.car-class-image-note {
  margin: 0 !important;
  margin-top: 0 !important;
  color: #6b7686;
  font-size: 0.85rem;
  line-height: 1.35;
  max-width: 52%;
}

.car-class-content {
  display: grid;
  grid-template-columns: minmax(340px, 1.2fr) 1fr;
  gap: 28px;
  margin-top: 20px;
}

.car-class-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid #dde3ea;
}

.car-specs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0 16px;
  border-top: none;
  border-bottom: 1px solid #dde3ea;
  margin-bottom: 12px;
}

.car-spec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #111;
}

.car-spec .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.car-spec .icon img,
.car-spec .car-spec-icon-svg {
  width: 100% !important;
  height: 100% !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  object-fit: contain !important;
  display: block !important;
}

.car-class-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.car-class-description p {
  margin: 0 0 14px;
  color: #14365b;
  line-height: 1.6;
}

.included-link {
  color: #14365b;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 54, 91, 0.35);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.car-class-price-note {
  margin: -2px 0 12px;
  color: #14365b;
  font-size: 0.92rem;
  line-height: 1.4;
}

.price-table th,
.price-table td {
  border: 1px solid #dde3ea;
  padding: 10px 12px;
  text-align: center;
}

.price-table thead th {
  background: #f8fafc;
  color: #14365b;
  font-size: 0.9rem;
}

.price-table tbody td {
  color: #2e66a5;
  font-weight: 700;
}

.price-table tbody td:first-child {
  color: #111;
}

.price-table tbody td:nth-child(3) {
  color: #bd2f25;
}

.price-table .high-season {
  color: #e15b4f;
}

.season-prices h3 {
  margin: 0 0 2px !important;
  font-size: 0.875rem;
  text-align: left;
  color: #14365b;
  letter-spacing: .04em;
  font-weight: 700;
}

.season {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
  color: #4a78b3;
  font-size: 0.95rem;
  line-height: 1.1 !important;
}

.season-prices p.season {
  margin: 0 !important;
  padding: 0 !important;
}

.deposit-note {
  margin: 12px 0 0;
  color: #14365b;
}

.car-class-footer {
  margin-top: 20px;
  display: block;
}

.car-class-from-price {
  margin: 0 0 0;
  color: #14365b;
  font-size: 1.18rem;
  font-weight: 400;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  line-height: 1.1;
}

.car-class-from-price-amount {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
}

.car-class-from-price-note {
  margin: 2px 0 8px;
  color: #6b7686;
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.2;
}

.car-class-footer .car-class-from-price {
  margin: 0 !important;
  text-align: left;
}

.car-class-footer .car-class-from-price-note {
  margin: 0 !important;
  margin-top: 1px !important;
  margin-bottom: 10px !important;
  text-align: left;
}

.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 24px;
  background: #14365b;
  color: #fff;
  text-decoration: none !important;
  border-radius: 4px;
  font-weight: 700;
}

.car-class-footer .book-btn,
.car-class-footer .book-btn:link,
.car-class-footer .book-btn:visited,
.car-class-footer .book-btn:hover,
.car-class-footer .book-btn:focus,
.car-class-footer .book-btn:active,
.car-class-footer .book-btn * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

.book-btn:hover {
  background: #0f2b49;
  color: #fff;
  text-decoration: none !important;
}

.book-btn:focus,
.book-btn:active,
.book-btn:visited {
  text-decoration: none !important;
}

@media (max-width: 1100px) {
  .car-class-content {
    grid-template-columns: 1fr;
  }
  .car-class-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ezrent-catalog-container {
    padding: 14px;
  }
  .car-class-card {
    padding: 14px;
    border-radius: 8px;
  }
  .car-class-top {
    padding-bottom: 12px;
  }
  .car-class-title {
    margin-bottom: 8px;
    font-size: 1.75rem;
    line-height: 1.15;
  }
  .car-class-subtitle,
  .car-class-models {
    font-size: 1rem;
    line-height: 1.35;
  }
  .car-class-content {
    gap: 14px;
    margin-top: 12px;
  }
  .car-class-grid {
    gap: 14px;
  }
  .car-class-info {
    padding-top: 0;
  }
  .car-specs {
    gap: 8px;
    padding: 8px 0 12px;
    margin-bottom: 8px;
  }
  .car-spec {
    font-size: 0.95rem;
  }
  .car-spec .icon {
    font-size: 1rem;
  }

.car-spec .car-spec-icon-svg {
  width: 18px !important;
  min-width: 18px;
  max-width: 18px !important;
  height: 18px !important;
  max-height: 18px !important;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}
  .car-class-description p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .car-class-image-note {
    max-width: 100%;
  }
  .car-class-pricing {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .price-table {
    min-width: 320px;
    margin-bottom: 12px;
  }
  .price-table th,
  .price-table td {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  .season {
    font-size: 0.9rem;
  }
  .deposit-note {
    font-size: 0.92rem;
    line-height: 1.45;
  }
  .car-class-footer {
    margin-top: 14px;
  }
  .book-btn {
    width: 100%;
    min-width: 0;
    padding: 12px 18px;
    font-size: 1rem;
  }
}
