@font-face {
  font-family: 'vazir';
  src: url(../fonts/ttf/Vazirmatn-Medium.ttf);
}

:root {
  --bg: #000000;
  --text: #e8ebf4;
  --muted: #8e99af;
  --muted-2: #c2cae0;
  --border: #8e99af;
  --green: green;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: 'vazir', sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

.page {
  position: relative;
  margin: 20px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  margin-bottom: 10px;
  min-height: 25px;
  gap: 12px;
}

.topbar-left {
  display: grid;
  justify-content: end;
  align-items: center;
}

.topbar-left h1 {
  height: 20px;
  display: flex;
  margin: 10px 0 6px;
  justify-content: end;
  align-items: center;
  line-height: 1;
}

.date-text {
  font-size: 13px;
  color: var(--muted-2);
  opacity: .85;
}

.topbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 45px;
  font-weight: 900;
  letter-spacing: .2px;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.topbar-right {
  text-align: left;
  color: #c8cedd;
  font-weight: 700;
  opacity: .9;
  white-space: nowrap;
}

.viewer {
  position: relative;
}

.card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid var(--green);
  height: auto;
  background: transparent;
}

.card-glow {
  position: absolute;
  inset: -40px;
  pointer-events: none;
}

.card-inner {
  position: relative;
  display: grid;
  grid-template-columns: .95fr 1.80fr;
  min-height: 620px;
}

.car-info {
  position: relative;
  padding: 25px;
  margin: auto;
  width: 100%;

}

.title-row {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 12px;
  margin-bottom: 15px;
}

.w-100{
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.car-title {
  color: var(--text);
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  word-break: break-word;
  display: flex;
  justify-content: end;

}

.car-model {
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: end;
  margin-top: 2px;
  font-size: 22px;
  font-weight: 400;
}

.specs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec {
  padding: 7px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #8e99af;
}

.spec span {
  color: var(--muted);
  font-size: 15px;
  word-break: break-word;
}

.spec span:last-child {
  text-align: left;
}

.spec-wide {
  width: 100%;
}

.price-row {
  border-top: 1px solid #8e99af;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  gap: 12px;
}

.price-label {
  color: var(--muted);
  font-size: 15px;
}

.car-visual {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.status-pill {
  display: flex;
  align-items: center;
  justify-content: end;
  background: none;
  color: var(--text);
  font-size: 13px;
}

.status-border {
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 6px;
  padding: 6px 16px;
  border: 1px solid green;
  background: rgba(0, 0, 0, .25);
  backdrop-filter: blur(4px);
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: green;
}

.qr-block {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.qr-caption {
  font-size: 13px;
  color: #cdd5e7;
  opacity: .92;
}

.qr-image {
  height: 110px;
  margin-left: 22px;
}

.swiper-button-prev,
.swiper-button-next {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: background-color 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.swiper-button-prev {
  left: 20px;
}
.swiper-button-next {
  right: 20px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-pagination {
  bottom: 20px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.6);
  opacity: 0.8;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: #ffffff;
  opacity: 1;
}

.swiper-pagination-bullet:hover {
  transform: scale(1.2);
}

.btn-loging {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-left: 50%;

}

.btn-loging .auth-btn {
  width: 110px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.2rem;
  color: #fff;
  box-sizing: border-box;
  font-family: 'vazir';
}

.btn-loging .auth-btn:first-child {
  background-color: black;
  border: 2px solid var(--border);
}

.btn-loging .auth-btn:last-child {
  background-color: black;
  border: 2px solid var(--border);
}
.auth-btn i{
  font-size: 16px;
  margin-left: 8px;
  color: #ffffff;
}


.auth-btn:hover {
  opacity: 0.85;
  /*transform: translateY(-3px);*/
  cursor: pointer;
}

.status-border {
  border: 3px solid transparent;
  padding: 9px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.border-green {
  border-color: green;
  background-color: rgba(40, 167, 69, 0.1);
}

.border-orange {
  border-color: orange;
  background-color: rgba(253, 126, 20, 0.1);
}

.border-red {
  border-color: red;
  background-color: rgba(220, 53, 69, 0.1);
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green {
  background-color: green;
  box-shadow: 0 0 5px #28a745;
}

.dot-orange {
  background-color: orange;
  box-shadow: 0 0 5px #fd7e14;
}

.dot-red {
  background-color: red;
  box-shadow: 0 0 5px #dc3545;
}
.status-text {
  font-weight: bold;
  font-size: 0.9em;
}

.border-green .status-text { color: green; }
.border-orange .status-text { color: orange; }
.border-red .status-text { color: red; }


.border-green_card{
  border: 6px solid green;
}

.border-orange_card{
  border: 6px solid orange;
}

.border-red_card{
  border: 6px solid red;
}
.border-green_card i {
  color: green;
  margin-left: 8px;
  width: 20px;
  text-align: center;
}

.border-orange_card i {
  color: orange;
  margin-left: 8px;
  width: 20px;
  text-align: center;
}

.border-red_card i {
  color: red;
  margin-left: 8px;
  width: 20px;
  text-align: center;
}

.border-green_card .price-value {
  font-size: 34px;
  font-weight: 900;
  color: green;
  text-shadow: 0 0 18px rgba(40, 209, 108, .45);
  word-break: break-word;
}

.border-orange_card .price-value {
  font-size: 34px;
  font-weight: 900;
  color: orange;
  text-shadow: 0 0 18px rgba(209, 195, 40, 0.45);
  word-break: break-word;
}

.border-red_card .price-value {
  font-size: 34px;
  font-weight: 900;
  color: red;
  text-shadow: 0 0 18px rgba(209, 40, 40, 0.45);
  word-break: break-word;
}

.vin-green{
  color: green !important;
}

.vin-orange{
  color: orange !important;
}

.vin-red{
  color: red !important;
}