/*
Theme Name: RentalCars MK
Theme URI: https://rentalcars.mk.ua/
Author: ПП «Данченко»
Author URI: https://rentalcars.mk.ua/
Description: Офіційна сучасна преміум-тема автопрокату RentalCars у місті Миколаїв (Stitch Apex Mobility Design System).
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: rentalcars
*/

@layer base {
  html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
  }
  body {
    overscroll-behavior: none;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
  }
  main > :first-child {
    margin-top: 0 !important;
  }
  main > :last-child {
    margin-bottom: 0 !important;
  }
}

::-webkit-scrollbar {
  display: none;
}

/* Bulletproof reset for phone inputs from @tailwindcss/forms or browser user-agent */
.phone-field,
.phone-field:focus,
.phone-field:active,
.phone-field:hover,
input[type="tel"].phone-field,
input[type="tel"]#contactPhone,
input[type="tel"]#clientPhone,
#contactPhone,
#clientPhone,
.phone-input-group input,
.phone-input-group input[type="tel"] {
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  outline-width: 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  --tw-ring-color: transparent !important;
  --tw-ring-shadow: none !important;
  --tw-shadow: 0 0 #0000 !important;
  background-color: transparent !important;
  background: transparent !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
}

/* Global anchor scroll padding & margin for fixed header (96px height) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

#avtopark,
#umovy,
#poslugy,
#kontakty,
section[id] {
  scroll-margin-top: 32px;
}

/* Reset & bulletproof styling for phone input fields */
.phone-input-group {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 44px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.5rem !important;
  overflow: hidden !important;
}
.phone-input-group:focus-within {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 1px #f59e0b !important;
}
.phone-input-group input.phone-field,
.phone-input-group input[type="tel"],
input#contactPhone,
input#clientPhone {
  border: 0 none transparent !important;
  border-width: 0 !important;
  border-style: none !important;
  outline: none 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 0.5rem !important;
  width: 100% !important;
  height: 100% !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  color: #0f172a !important;
}
