.plate-form {
  position: relative;
  margin: 0 auto;
  display: grid;
  border: 2px solid #000;
  border-radius: 5px;
  background: #000;
  grid-gap: 2px;
}
.plate-form .plate-form__digits {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 4px;
  gap: 0.35rem;
}
.plate-form .plate-form__digits select {
  font-weight: normal;
  display: block;
  min-height: 1.2em;
  padding: 0px 2px 1px;
  white-space: nowrap;
  vertical-align: baseline;
}
.plate-form .plate-form__region {
  background: #fff;
  border-radius: 4px;
  color: #000;
  line-height: 1em;
  padding: 0.25rem;
  height: 98px;
}
.plate-form .plate-form__region .region {
  font-weight: normal;
  display: block;
  padding: 0px 2px 1px;
  white-space: nowrap;
}
.plate-form .plate-form__region .region select {
  font-weight: normal;
  display: block;
  padding: 0px 2px 1px;
  white-space: nowrap;
  height: 100%;
  line-height: 1.2em;
}
.plate-form .plate-form__region .country-flag {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}
.plate-form select {
  display: block;
  width: 100%;
  background-color: transparent;
  background-image: none;
  border: 0 !important;
  border-radius: 1rem;
  font-family: "Motor4F", Sans-serif !important;
  cursor: pointer;
  padding: 0;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  vertical-align: baseline;
}

.plate-form-xxs {
  max-width: 150px;
  height: 28px;
  grid-template-columns: 1fr 38px;
}
.plate-form-xxs .plate-form__digits {
  height: 26px;
}
.plate-form-xxs .plate-form__digits select {
  font-size: 26px;
}
.plate-form-xxs .plate-form__digits select[name=plate_0], .plate-form-xxs .plate-form__digits select[name=plate_4], .plate-form-xxs .plate-form__digits select[name=plate_5] {
  font-size: 24px;
}
.plate-form-xxs .plate-form__digits select[name=plate_1], .plate-form-xxs .plate-form__digits select[name=plate_2], .plate-form-xxs .plate-form__digits select[name=plate_3] {
  font-size: 32px;
}
.plate-form-xxs .plate-form__region {
  height: 26px;
}
.plate-form-xxs .plate-form__region .region {
  font-size: 23px;
  height: 20px;
}
.plate-form-xxs .plate-form__region .region select {
  font-size: 23px;
}
.plate-form-xxs .plate-form__region .country-flag > .country {
  font-size: 0.6rem;
}
.plate-form-xxs .plate-form__region .country-flag > img {
  width: 11px;
}
.plate-form-xxs select {
  font-size: 26px;
}

.plate-form-sm {
  max-width: 270px;
  height: 56px;
  grid-template-columns: 1fr 60px;
}
.plate-form-sm .plate-form__digits {
  height: 52px;
}
.plate-form-sm .plate-form__digits select {
  font-size: 40px;
}
.plate-form-sm .plate-form__digits select[name=plate_0], .plate-form-sm .plate-form__digits select[name=plate_4], .plate-form-sm .plate-form__digits select[name=plate_5] {
  font-size: 36px;
}
.plate-form-sm .plate-form__digits select[name=plate_1], .plate-form-sm .plate-form__digits select[name=plate_2], .plate-form-sm .plate-form__digits select[name=plate_3] {
  font-size: 48px;
}
.plate-form-sm .plate-form__region {
  height: 52px;
}
.plate-form-sm .plate-form__region .region {
  font-size: 34px;
  height: 31px;
}
.plate-form-sm .plate-form__region .region select {
  font-size: 34px;
}
.plate-form-sm .plate-form__region .country-flag > .country {
  font-size: 0.875rem;
}
.plate-form-sm .plate-form__region .country-flag > img {
  width: 34px;
}
.plate-form-sm select {
  font-size: 40px;
}

.plate-form-md {
  max-width: 340px;
  height: 58px;
  grid-template-columns: 1fr 93px;
}
.plate-form-md .plate-form__digits {
  height: 56px;
}
.plate-form-md .plate-form__digits select {
  font-size: 34px;
}
.plate-form-md .plate-form__digits select[name=plate_0], .plate-form-md .plate-form__digits select[name=plate_4], .plate-form-md .plate-form__digits select[name=plate_5] {
  font-size: 31px;
}
.plate-form-md .plate-form__digits select[name=plate_1], .plate-form-md .plate-form__digits select[name=plate_2], .plate-form-md .plate-form__digits select[name=plate_3] {
  font-size: 41px;
}
.plate-form-md .plate-form__region {
  height: 56px;
}
.plate-form-md .plate-form__region .region {
  font-size: 29px;
  height: 30px;
}
.plate-form-md .plate-form__region .region select {
  font-size: 29px;
}
.plate-form-md .plate-form__region .country-flag > .country {
  font-size: 11px;
}
.plate-form-md .plate-form__region .country-flag > img {
  width: 23px;
}
.plate-form-md select {
  font-size: 34px;
}

.plate-form-lg {
  max-width: 550px;
  height: 94px;
  grid-template-columns: 1fr 151px;
}
.plate-form-lg .plate-form__digits {
  height: 90px;
}
.plate-form-lg .plate-form__digits select {
  font-size: 55px;
}
.plate-form-lg .plate-form__digits select[name=plate_0], .plate-form-lg .plate-form__digits select[name=plate_4], .plate-form-lg .plate-form__digits select[name=plate_5] {
  font-size: 50px;
}
.plate-form-lg .plate-form__digits select[name=plate_1], .plate-form-lg .plate-form__digits select[name=plate_2], .plate-form-lg .plate-form__digits select[name=plate_3] {
  font-size: 66px;
}
.plate-form-lg .plate-form__region {
  height: 90px;
}
.plate-form-lg .plate-form__region .region {
  font-size: 47px;
  height: 48px;
}
.plate-form-lg .plate-form__region .region select {
  font-size: 47px;
}
.plate-form-lg .plate-form__region .country-flag > .country {
  font-size: 18px;
}
.plate-form-lg .plate-form__region .country-flag > img {
  width: 37px;
}
.plate-form-lg select {
  font-size: 55px;
}
.plate-form-lg.plate-form-lg .plate-form__region {
  padding: 0 !important;
  margin: 0;
}

@media (max-width: 767.98px) {
  .plate-form-sm {
    max-width: 100%;
    margin: 0;
  }
  .plate-form-sm select {
    font-size: 32px;
  }
  .plate-form-sm .plate-form__region .region {
    font-size: 32px;
  }
  .plate-form-sm .plate-form__region .region select {
    font-size: 28px;
  }
  .plate-form-sm .plate-form__region .country-flag > img {
    width: 28px;
  }
  body {
    padding-bottom: 60px;
  }
  .plate-card {
    background-color: #F5F9FC;
    cursor: pointer;
  }
  #__replain_widget {
    bottom: 0px !important;
    right: 0px !important;
  }
  .d-md-none.fixed-bottom .container > .d-flex {
    gap: 8px;
  }
  .d-md-none.fixed-bottom .btn-sell-pill {
    margin-left: -8px;
  }
  .mobile-contact-buttons {
    gap: 5px !important;
    margin-right: 64px;
    margin-left: -4px;
  }
  #an__logo-plate .logo-plate {
    margin-left: -8px;
  }
  .an__logo > h2 {
    font-size: 2.5em;
    margin-bottom: 0.5rem;
  }
  .an__center-col {
    max-width: 100%;
    padding: 0 1rem;
  }
  .form-check-label {
    font-size: 0.9rem;
  }
  .btn-group {
    flex-wrap: wrap;
  }
  .btn-group .btn {
    min-width: 100px;
  }
  .container.filters {
    padding: 0;
  }
  .tab-content {
    padding: 0 0.5rem;
  }
  .footer .nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer .nav-item {
    text-align: center;
  }
}
#an__logo-plate {
  width: auto;
  margin-top: 0;
}

#an__logo-plate .logo-plate {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  background: transparent;
  padding: 0;
  gap: 12px;
}

#an__logo-plate .logo-plate__text {
  font-size: 28px;
  font-weight: 300;
  font-family: "Motor4F", Sans-serif;
  color: #000;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1;
  display: flex;
  align-items: center;
}

#an__logo-plate .logo-plate__region {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 2px solid #000;
  padding-left: 12px;
}

#an__logo-plate .logo-plate__region .region {
  font-size: 20px;
  font-family: "Motor4F", Sans-serif;
  font-weight: 700;
  color: #000;
  line-height: 1;
  margin-bottom: -2px;
}

#an__logo-plate .logo-plate__region .country-flag {
  display: flex;
  align-items: center;
  gap: 3px;
}

#an__logo-plate .logo-plate__region .country-flag .country {
  font-size: 10px;
  font-weight: 600;
  color: #000;
}

#an__logo-plate .logo-plate__region .country-flag img {
  width: 12px;
  height: auto;
}

.an__center-col {
  max-width: 800px;
}

.an__center-col-md {
  max-width: 600px !important;
}

#mobileFilters .offcanvas-body {
  padding-bottom: 100px;
}

#mobileFilters .mt-auto {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: #fff;
  border-top: 1px solid #dee2e6;
}

.filter-pill {
  border-radius: 50px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.filter-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-check:checked + .filter-pill {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: white;
}

.btn-check:focus + .filter-pill {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-sell-pill {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-sell-pill:hover {
  background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  color: white;
}

.btn-sell-pill:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.btn-filters-pill {
  background-color: #E8EFF5;
  color: #212529;
  border: 1px solid #212529;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-filters-pill:hover {
  background-color: #D8E5EF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: #212529;
  border-color: #212529;
}

.btn-filters-pill:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.mobile-contact-buttons .btn {
  width: 56px;
  height: 56px;
  background-color: white;
  border: 1px solid #dee2e6;
  color: #212529;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.mobile-contact-buttons .btn i {
  font-size: 1.5rem;
}

.mobile-contact-buttons .btn:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.mobile-contact-buttons .btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.d-md-none.fixed-bottom .btn-sell-pill {
  height: 56px;
  padding: 0 2rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sell-page-container {
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
}

.lk-sidebar {
  position: sticky;
  top: 80px;
}

.lk-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #212529;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.lk-nav-link:hover {
  background-color: #e9ecef;
  color: #212529;
}

.lk-nav-link.active {
  text-decoration: underline;
  color: #212529;
}

.lk-nav-link.active:hover {
  background-color: #e9ecef;
  color: #212529;
}

.lk-nav-link-danger {
  color: #dc3545;
}

.lk-nav-link-danger:hover {
  background-color: rgba(220, 53, 69, 0.062745098);
  color: #dc3545;
}

.form-check-input:checked {
  background-color: #6c757d;
  border-color: #6c757d;
}

.form-check-input:focus {
  border-color: #6c757d;
  box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25);
}

.admin-crown {
  font-size: 0.75rem;
}

.nav-header {
  backdrop-filter: blur(10px);
}

.editable-cell {
  cursor: text;
  position: relative;
}

.editable-cell::after {
  content: "\f4ca";
  font-family: "bootstrap-icons";
  font-size: 0.75rem;
  color: #6c757d;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
}

.editable-cell:focus {
  outline: none;
}

.editable-cell:focus::after {
  opacity: 0;
}

.table-bordered-vertical td,
.table-bordered-vertical th {
  border-left: 1px solid #dee2e6;
}

.table-bordered-vertical td:first-child,
.table-bordered-vertical th:first-child {
  border-left: none;
}

.btn-logout-circle {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-submit-pill {
  background-color: transparent;
  color: #0d6efd;
  border: 1px solid #0d6efd;
  border-radius: 50px;
  padding: 0.375rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease-in-out;
}

.btn-submit-pill:hover {
  background-color: #0d6efd;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-submit-pill:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-cancel-pill {
  background-color: transparent;
  color: #6c757d;
  border: 1px solid #6c757d;
  border-radius: 50px;
  padding: 0.375rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  display: inline-block;
}

.btn-cancel-pill:hover {
  background-color: #6c757d;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-cancel-pill:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.btn-add-pill {
  background-color: transparent;
  color: #198754;
  border: 1px solid #198754;
  border-radius: 50px;
  padding: 0.375rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-add-pill:hover {
  background-color: #198754;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-add-pill:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.table tbody .dropdown-menu {
  font-family: var(--bs-body-font-family);
}

.form-check-input {
  clear: left;
}

.an__required:after {
  content: "* ";
  color: red;
}

@font-face {
  font-family: Motor4F;
  src: url("/static/fonts/Motor4F.woff");
}
.not-selected-text {
  color: #e3e2e2;
}

.selected-text {
  color: black;
}

/* Plates */
.plate {
  display: grid;
  grid-template-columns: 1fr 60px;
  grid-gap: 2px;
  width: 100%;
  height: 56px;
  position: relative;
  border: 2px solid #000;
  border-radius: 5px;
  background-color: #000;
  max-width: 270px;
}
.plate .plate__numbers {
  background: #fff;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  height: 52px;
}
.plate .plate__numbers .letter {
  font-family: "Motor4F", sans-serif;
  color: #000;
  font-size: 45px;
  line-height: 1;
  margin-bottom: 0;
  position: relative;
  top: 6.5px;
}
.plate .plate__numbers .digit {
  font-size: 60px;
  font-family: "Motor4F", sans-serif;
  color: #000;
  line-height: 1;
}
.plate .reg {
  background: #fff;
  border-radius: 4px;
  color: #000;
  line-height: 1;
  padding: 0 0.25rem;
  height: 52px;
}
.plate .region {
  font-size: 34px;
  font-family: "Motor4F", Sans-serif !important;
  text-align: center;
  margin-bottom: -2px;
  line-height: 1;
  vertical-align: baseline;
}
.plate .country-flag {
  display: flex;
  justify-content: center;
  gap: 0.15rem;
  align-items: center;
}
.plate .country-flag .country {
  font-size: 0.875rem;
  font-weight: 600;
}
.plate .country-flag img {
  width: 20px;
  height: auto;
}

.plate-md {
  display: grid;
  grid-template-columns: 1fr 68px;
  grid-gap: 2px;
  width: 100%;
  height: 59px;
  position: relative;
  border: 2px solid #000;
  border-radius: 5px;
  background-color: #000;
  max-width: 340px;
}
.plate-md .plate__numbers {
  background: #fff;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  height: 55px;
}
.plate-md .plate__numbers .letter {
  font-family: "Motor4F", sans-serif;
  color: #000;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 0;
  position: relative;
  top: calc(5.5px - 0.11rem);
}
.plate-md .plate__numbers .digit {
  font-size: 43px;
  font-family: "Motor4F", sans-serif;
  color: #000;
  line-height: 1;
}
.plate-md .reg {
  background: #fff;
  border-radius: 4px;
  color: #000;
  line-height: 1;
  padding: 0 0.25rem;
  height: 55px;
}
.plate-md .region {
  font-size: 34px;
  font-family: "Motor4F", Sans-serif !important;
  text-align: center;
  margin-bottom: -2px;
  line-height: 1;
  vertical-align: baseline;
}
.plate-md .country-flag {
  display: flex;
  justify-content: center;
  gap: 0.15rem;
  align-items: center;
}
.plate-md .country-flag .country {
  font-size: 0.68rem;
  font-weight: 600;
}
.plate-md .country-flag img {
  width: 23px;
  height: auto;
}

.plate-lg {
  display: grid;
  grid-template-columns: 1fr 120px;
  grid-gap: 2px;
  width: 100%;
  height: 102px;
  position: relative;
  border: 2px solid #000;
  border-radius: 5px;
  background-color: #000;
  max-width: 600px;
}
.plate-lg .plate__numbers {
  background: #fff;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
  height: 98px;
}
.plate-lg .plate__numbers .letter {
  font-family: "Motor4F", sans-serif;
  color: #000;
  font-size: 57px;
  line-height: 1;
  margin-bottom: 0;
  position: relative;
  top: calc(9.5px - 0.2rem);
}
.plate-lg .plate__numbers .digit {
  font-size: 76px;
  font-family: "Motor4F", sans-serif;
  color: #000;
  line-height: 1;
}
.plate-lg .reg {
  background: #fff;
  border-radius: 4px;
  color: #000;
  line-height: 1;
  padding: 0 0.25rem;
  height: 98px;
}
.plate-lg .region {
  font-size: 60px;
  font-family: "Motor4F", Sans-serif !important;
  text-align: center;
  margin-bottom: -2px;
  line-height: 1;
  vertical-align: baseline;
}
.plate-lg .country-flag {
  display: flex;
  justify-content: center;
  gap: 0.15rem;
  align-items: center;
}
.plate-lg .country-flag .country {
  font-size: 1.2rem;
  font-weight: 600;
}
.plate-lg .country-flag img {
  width: 40px;
  height: auto;
}

#plates-search-form .form-check-label {
  margin-top: 4px;
  margin-left: 5px;
}

.nav-link {
  margin: 3px;
}

@media (max-width: 400px) {
  .d-md-none.fixed-bottom .btn-sell-pill {
    height: 48px;
    padding: 0 1.5rem;
    font-size: 0.9rem;
  }
  .mobile-contact-buttons .btn {
    width: 48px;
    height: 48px;
  }
  .mobile-contact-buttons .btn i {
    font-size: 1.25rem;
  }
  .mobile-contact-buttons {
    gap: 4px !important;
    margin-right: 52px !important;
  }
  .d-md-none.fixed-bottom .container > .d-flex {
    gap: 6px;
  }
  #__replain_widget {
    transform: scale(0.85);
    transform-origin: bottom right;
  }
}
@media (max-width: 575.98px) {
  .an__logo > h2 {
    font-size: 2em;
  }
  .plates-ops-nav {
    margin: 0 -0.5rem;
  }
  .plates-ops-nav .nav-item {
    margin: 0 0.5rem;
  }
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-group .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .form-check {
    margin-bottom: 0.75rem;
  }
  .reset-filters {
    width: 100%;
    margin-top: 1rem;
  }
  .card {
    border-radius: 0.5rem;
    overflow: hidden;
  }
  .card .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  .pagination {
    justify-content: center;
    gap: 0.25rem;
  }
  .pagination .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  .plate {
    transform: scale(0.8);
  }
  .plate .plate__numbers {
    gap: 0.5rem;
  }
  .plate .letter,
  .plate .digit {
    font-size: 1.2rem;
  }
  .plate .reg .region {
    margin-top: 0.1rem;
    font-size: 2.2rem;
  }
  .plate .country-flag img {
    width: 16px;
  }
}
/* Extra extra small plate */
.plate-xxs {
  display: grid;
  grid-template-columns: 1fr 38px;
  grid-gap: 1px;
  width: 100%;
  height: 28px;
  position: relative;
  border: 1px solid #000;
  border-radius: 3px;
  background-color: #000;
  max-width: 150px;
}
.plate-xxs .plate__numbers {
  background: #fff;
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.19rem;
  height: 26px;
}
.plate-xxs .plate__numbers .letter {
  font-family: "Motor4F", sans-serif;
  color: #000;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 0;
  position: relative;
  top: 2px;
}
.plate-xxs .plate__numbers .digit {
  font-size: 26px;
  font-family: "Motor4F", sans-serif;
  color: #000;
  line-height: 1;
}
.plate-xxs .reg {
  background: #fff;
  border-radius: 2px;
  color: #000;
  line-height: 1;
  padding: 0 0.14rem;
  height: 26px;
}
.plate-xxs .region {
  font-size: 19px;
  font-family: "Motor4F", Sans-serif !important;
  text-align: center;
  margin-bottom: -2px;
  line-height: 1;
  vertical-align: baseline;
}
.plate-xxs .country-flag {
  display: flex;
  justify-content: center;
  gap: 0.09rem;
  align-items: center;
}
.plate-xxs .country-flag .country {
  font-size: 0.6rem;
  font-weight: 600;
}
.plate-xxs .country-flag img {
  width: 11px;
  height: auto;
}

/* Extra small plate */
.plate-xs {
  display: grid;
  grid-template-columns: 1fr 40px;
  grid-gap: 1px;
  width: 100%;
  height: 32px;
  position: relative;
  border: 1px solid #000;
  border-radius: 3px;
  background-color: #000;
  max-width: 160px;
}
.plate-xs .plate__numbers {
  background: #fff;
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  height: 30px;
}
.plate-xs .plate__numbers .letter {
  font-family: "Motor4F", sans-serif;
  color: #000;
  font-size: 21px;
  line-height: 1;
  margin-bottom: 0;
  position: relative;
  top: 2.5px;
}
.plate-xs .plate__numbers .digit {
  font-size: 28px;
  font-family: "Motor4F", sans-serif;
  color: #000;
  line-height: 1;
}
.plate-xs .reg {
  background: #fff;
  border-radius: 2px;
  color: #000;
  line-height: 1;
  padding: 0 0.15rem;
  height: 30px;
}
.plate-xs .region {
  font-size: 20px;
  font-family: "Motor4F", Sans-serif !important;
  text-align: center;
  margin-bottom: -2px;
  line-height: 1;
  vertical-align: baseline;
}
.plate-xs .country-flag {
  display: flex;
  justify-content: center;
  gap: 0.1rem;
  align-items: center;
}
.plate-xs .country-flag .country {
  font-size: 0.65rem;
  font-weight: 600;
}
.plate-xs .country-flag img {
  width: 12px;
  height: auto;
}

.plate-sm {
  display: grid;
  grid-template-columns: 1fr 50px;
  grid-gap: 1px;
  width: 100%;
  height: 40px;
  position: relative;
  border: 1px solid #000;
  border-radius: 3px;
  background-color: #000;
  max-width: 200px;
}
.plate-sm .plate__numbers {
  background: #fff;
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  height: 38px;
}
.plate-sm .plate__numbers .letter {
  font-family: "Motor4F", sans-serif;
  color: #000;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 0;
  position: relative;
  top: calc(4.5px - 0.12rem);
}
.plate-sm .plate__numbers .digit {
  font-size: 35px;
  font-family: "Motor4F", sans-serif;
  color: #000;
  line-height: 1;
}
.plate-sm .reg {
  background: #fff;
  border-radius: 2px;
  color: #000;
  line-height: 1;
  padding: 0 0.2rem;
  height: 38px;
}
.plate-sm .region {
  font-size: 25px;
  font-family: "Motor4F", Sans-serif !important;
  text-align: center;
  margin-bottom: -2px;
  line-height: 1;
  vertical-align: baseline;
}
.plate-sm .country-flag {
  display: flex;
  justify-content: center;
  gap: 0.1rem;
  align-items: center;
}
.plate-sm .country-flag .country {
  font-size: 0.8rem;
  font-weight: 600;
}
.plate-sm .country-flag img {
  width: 15px;
  height: auto;
}
