body {
  font-family: Cairo, sans-serif;
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 400px;
  margin: 0 auto 1rem;
  text-align: center;
  font-family: Arial, sans-serif;
}

.text-custom-brown {
  color: rgb(0, 0, 0);
}

.text-xl {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.font-bold {
  font-weight: 700;
}

p {
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
  text-align: center;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.h-1\.5 {
  height: 0.375rem;
}

.w-1\.5 {
  width: 0.375rem;
}

.rounded-full {
  border-radius: 9999px;
}

.bg-black {
  background-color: #000000;
}

.bg-custom-pink {
  background-color: #e5d5d5;
}

.space-x-1\.5 > :not(:last-child) {
  margin-right: 0.375rem;
}

button {
  background-color: #000000;
  color: #ffffff;
  /* padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem); */
  border-radius: 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  width: 100%;
  height: 50px;
  max-width: 20rem;
  transition: background-color 0.3s ease;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
}

.button-container-accept {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

button:hover {
  background-color: #333333;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.bg-white {
  background-color: #ffffff;
}

.px-6 {
  padding: 0 1.5rem;
}

input {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  width: 17.5rem !important;
  height: 2.5rem !important;
  color: #6b7280;
  font-size: 1.5rem !important;
  font-family: 'Cairo', sans-serif !important;
  background-color: white;
  box-sizing: border-box;
}

input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #000000;
}

input::placeholder {
  font-family: 'Cairo', sans-serif !important;
  font-size: 1.5rem !important;
}

.phone-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

h3 {
  /* text-align: left; */
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #4a2c2a;
  margin: 1.5rem 0 0.5rem;
}

.code-inputs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.code-digit {
  width: 2rem;
  height: 2rem;
  text-align: center;
  font-size: 1.25rem;
  border: 1px solid #1a202c;
  border-radius: 0.25rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #f9fafb;
}

.code-digit:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.booking-container-selectcar {
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0.5rem 0 1rem;
  font-family: "Cairo", sans-serif;
}

h2 {
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin: 0;
}

.service-buttons-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.service-buttons-container::-webkit-scrollbar {
  display: none;
}

.service-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: max-content;
}

.service-btn {
  flex: 0 0 auto;
  width: 200px;
  height: 150px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 30px;
  font-weight: bold;
  font-family: Cairo, sans-serif;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: left;
  padding: 10px;
}

.service-btn-select-car {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 150px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.joborder_info {
  display: flex;
  flex-direction: column;
  background-color: white;
  color: black;
  /* text-align: left; */
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  width: 100%;
  text-decoration: none;
}

.joborder_info span {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

.jobsheet {
  display: flex;
  flex-direction: column;
  background-color: white;
  color: black;
  /* text-align: left; */
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  width: 100%;
  text-decoration: none;
  margin: 0;
  font-weight: bold;
}

.jobsheet span {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-right: 0px;
  margin-bottom: -3px;
  width: 100%;
}

.addcarbtn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: clamp(120px, 30vw, 150px);
  background-color: rgb(170, 179, 172);
  color: white;
  border: none;
  border-radius: 10px;
  padding: clamp(10px, 2vw, 15px);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.5625rem);
}

.service-buttons-select-car {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 45vw, 150px), 1fr));
  gap: clamp(10px, 2vw, 15px);
}

.service-btn:hover {
  background-color: #218838;
}

.service-btn.selected {
  background-color: #218838;
}

.car-device {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  margin-bottom: 0.3125rem;
}

.car-model {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  opacity: 0.9;
}

.info-container {
  display: flex;
  align-items: center;
}

.swap {
  /* margin-left: clamp(10px, 2vw, 20px); */
  margin-top: -0.0625rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.plate_number {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  opacity: 0.9;
}

.car-color {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  opacity: 0.8;
}

.submit-btn {
  width: 100%;
  padding: clamp(10px, 2vw, 15px);
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #218838;
}

.submit-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.min-h-screen {
  min-height: 100vh;
}

.form-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 17.5rem;
  margin: 3rem auto 0;
}

h1 {
  font-family: Cairo, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.select-wrapper {
  position: relative;
  width: 100%;
  max-width: 17.5rem;
}

select {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) 2rem clamp(0.5rem, 1.5vw, 0.75rem) 1rem;
  width: 100%;
  color: #6b7280;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-family: Cairo, sans-serif;
  background-color: white;
  display: block;
  appearance: none;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  top: 40%;
  right: 1rem;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #6b7280;
  pointer-events: none;
}

select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #000000;
}

input::placeholder,
select option[disabled] {
  color: #6b7280;
}

a {
  text-align: left;
  font-family: Cairo, sans-serif;
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  color: #6b7280;
  text-decoration: underline;
  margin-bottom: 1rem;
  display: block;
}

.add-button {
  background-color: #16a34a;
  color: #ffffff;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 0.75rem;
  font-family: Cairo, sans-serif;
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 17.5rem;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.add-button:hover {
  background-color: #15803d;
}

.mb-4 {
  margin-bottom: 1rem;
}

.text-gray-500 {
  color: #6b7280;
}

.text-xs {
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
}

.uppercase {
  text-transform: uppercase;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  padding: clamp(15px, 3vw, 20px);
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.modal-close {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  cursor: pointer;
  color: #6b7280;
  width: 10px;
}

.modal-close:hover {
  color: #000;
}

.booking-container {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  font-family: Cairo, sans-serif;
}

.header {
  margin-bottom: 1.25rem;
}

.header-content {
  display: flex;
  flex-direction: column;
}

.greeting-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.notification-icon {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  filter: grayscale(100%);
}

.joborder-icon {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  /* margin-left: clamp(50px, 15vw, 110px); */
  filter: grayscale(100%);
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.branch-input,
.problem-input {
  width: 100%;
  padding: clamp(8px, 2vw, 10px);
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-family: Cairo, sans-serif;
}

.problem-input {
  height: clamp(80px, 20vw, 100px);
  resize: none;
}

.calendar-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.date-inputs {
  display: flex;
  align-items: center;
  gap: clamp(5px, 1vw, 10px);
}

.date-input {
  width: 100%;
  height: clamp(25px, 6vw, 30px);
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-family: Cairo, sans-serif;
}

/* .date-inputs {
  position: relative;
  display: flex;
  align-items: center;
}

.date-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-size: 1rem;
  color: #1a202c;
  background-color: #fff;
  transition: all 0.2s ease;
} */

.datacar {
  text-align: left;
}

.service-btn span {
  display: block;
}

.booking-success-message {
  color: green;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: bold;
}

.plate {
  width: clamp(120px, 30vw, 150px);
  height: clamp(30px, 9vw, 40px);
  border: solid black;
  border-radius: 5px;
  margin-top: 0.625rem;
  overflow: hidden;
  flex-shrink: 0;
}

.top {
  background-color: #0077c8;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: clamp(0.625rem, 2vw, 0.75rem);
  font-weight: bold;
  text-align: center;
  position: relative;
  height: 40%;
}

.top .left {
  width: 50%;
  text-align: center;
}

.top .right {
  width: 50%;
  text-align: center;
  font-family: "Cairo", sans-serif;
}

.bottom {
  background-color: white;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Cairo", sans-serif;
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: bold;
  position: relative;
  height: 60%;
}

.separator {
  width: 4px;
  height: clamp(50px, 18vw, 80px);
  background-color: black;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.numbers,
.letters {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  flex-direction: column;
}

.enter-btn {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
    max-width: 350px;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .sms-info {
    font-size: 0.85rem;
  }

  .code-digit {
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
  }

  .form-input {
    font-size: 0.85rem;
    padding: 0.65rem;
  }

  .enter-btn {
    font-size: 0.85rem;
    padding: 0.65rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0.75rem;
    max-width: 100%;
  }

  .section-title {
    font-size: 1rem;
  }

  .sms-info {
    font-size: 0.8rem;
    padding: 0 1rem; /* Prevent text from touching edges */
  }

  .code-inputs {
    gap: 0.5rem;
  }

  .code-digit {
    width: 1rem;
    height: 2rem;
    font-size: 1rem;
  }

  .form-input {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  .enter-btn {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}

/* Media Queries */
/* @media (max-width: 768px) {
  .container {
    width: 95%;
  }

  .service-buttons {
    flex-wrap: wrap;
  }

  .service-btn {
    flex: 1 1 45%;
  }

  .jobsheet span {
    margin-right: 0;
  }

  .plate {
    margin-left: 0;
  }
} */

/* @media (max-width: 480px) {


  input {
    padding: 0.5rem;
  }

  .code-inputs input {
    width: 15px;
    height: 25px;
    font-size: 1rem;
  }

  .joborder-icon {
    margin-left: 2rem;
  }
} */