.table-container {
  overflow-x: auto;
  margin: 20px 0;
}

img.scan {
  position: absolute;
  max-height: calc(100% - 10px);
  margin-top: 5px;
  right: 90px;
  width: auto;
}

#car-details-form input {
    border-radius: 0;
}

.status-text {
    font-weight: 600;
}

.activate-warranty {
    margin-top: 15px;
}

.iti .iti__selected-dial-code {
    color: black;
}

.iti__country {
    color: black;
}

.iti {
    width: 100%;
}

.scan-popup {
  position: absolute;
  background: #f0c760;
  right: -2px;
  top: -50px;
  padding: 10px;
  font-size: 20px;
  color: white;
  border-radius: 20px;
  cursor: pointer;
}

.scan-popup::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 20px;
  border-width: 10px;
  border-style: solid;
  border-color: #f0c760 transparent transparent transparent;
}

#car-details-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
}

.submit-warranty {
    margin-top: 15px;
}

.span-2 {
    grid-column: span 2;
}

#qr-scanner-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Dark background */
}

.modal-content {
  position: relative;
  margin: auto;
  margin-top: 50px;
  width: 80%;
  max-width: 600px;
  max-height: 100vh;
  background: white;
  padding: 0px;
  text-align: center;
  border-radius: 0;
}

#qr-scanner {
  width: 100%;
  height: auto;
  min-height: 300px;
}

.close-btn {
  background-color: #f0c760;
  color: white;
  padding: 10px;
  cursor: pointer;
  border: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}
th {
  background-color: #f4f4f4;
}
@media (max-width: 768px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }
  th,
  td {
    box-sizing: border-box;
    width: 100%;
  }
  th {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  td {
    border: none;
    position: relative;
  }
  td:before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    padding-left: 10px;
    font-weight: bold;
    white-space: nowrap;
  }
}

.search-varification {
  display: flex;
  padding: 0;
}

.spinner {
    position: relative;
}
.spinner::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    border-radius: 50%;
    border: 5px solid #f0c760;
    animation: prixClipFix 2s linear infinite;
    height: 50px;
    width: 50px;
    top: 150px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.spinner::before {
    background: hsl(0deg 0% 0% / 58%);
    inset: 0;
    position: absolute;
    content: "";
    z-index: 1;
}

@keyframes rotate {
  100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}

.product-result table tr:nth-child(even) {
    background: #4e452d;
}

.product-result table tr:nth-child(odd) {
    background: #866a1f;
}

.product-result {
  padding: 20px 10px;
  color: white;
}

.search-varification .button {
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
  padding: 10px 20px;
  min-width: max-content;
}

.search-varification [type="text"] {
  border-bottom-right-radius: 0 !important;
  border-top-right-radius: 0 !important;
}
@media (max-width: 850px){
    	.search-varification {
    font-size: 12px;
}
.product-verification h2 {
    font-size: 29px;
}
}