/*
Theme Name: Motorflog
Theme URI: https://www.webpopdesign.com
Description: Motorflog
Author: Webpop Design
Author URI: http://www.webpopdesign.com
Tags: two columns, widgets, CMS, corporate, company
*/

/*--------------------------------------------------*/
/*-- ADDITIONAL CSS --*/
/*--------------------------------------------------*/

#your-valuation-frontend .media-container {
  container: media-container / inline-size;
  padding: 50px 0px 50px 0px;
}

@media (max-width: 991px) {
  #your-valuation-frontend .media-container {
    padding: 135px 0px 50px 0px;
  }
}

#your-valuation-frontend .media-container .reg {
  height: 62px;
  width: 220px;
  border: 2px solid #000;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fcc900;
  margin-bottom: 30px;
}

#your-valuation-frontend .media-container .reg span {
  font-family: "UKNumberPlate";
  color: #000;
  font-size: 38px;
  letter-spacing: 0;
  line-height: 42px;
  text-align: center;
}

#your-valuation-frontend .details-container {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  font-family: Space Grotesk!important;
  place-items: start stretch;
}

@container media-container (max-width: 1240px) {
  #your-valuation-frontend .details-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@container media-container (max-width: 768px) {
  #your-valuation-frontend .details-container {
    grid-template-columns: 1fr;
  }
}

#your-valuation-frontend .details-container .column {
  display: grid;
  gap: 20px;
}

#your-valuation-frontend .details-container .detail-card {
  border-radius: 5px;
  background-color: white;
  border: 1px solid #c3c4c7;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

#your-valuation-frontend .details-container .detail-card .detail-card__header {
  background-color: #b8924a;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

#your-valuation-frontend .details-container .detail-card .detail-card__header h3 {
    margin: 0;
    white-space: wrap;
    text-transform: unset;
    color: #fff;
    font-family: Space Grotesk !important;
    font-size: 20px !important;
}

#your-valuation-frontend .details-container .detail-card .detail-card__header .detail-card__header-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body {
  padding: 10px 15px;
}

#your-valuation-frontend .details-container .detail-card__image {
  width: 100%;
  height: auto;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body table {
  width: 100%;
  border-collapse: collapse;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body table.no-border td {
  border: none;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body table.no-border-bottom tr:last-of-type td {
  border-bottom: none;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body table td {
  border-top: 1px solid #c3c4c7;
  border-bottom: 1px solid #c3c4c7;
  padding: 10px;
  white-space: wrap;
  word-break: break-all;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body table tr:first-child td {
  border-top: 0;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body table tr td:first-child {
  white-space: nowrap;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body table tr td:last-child {
  font-weight: bold;
  text-align: right;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body table tr td:last-child input,
#your-valuation-frontend .details-container .detail-card .detail-card__body table tr td:last-child textarea {
  font-weight: initial;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body .photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin-top: 5px;
  margin-bottom: 10px;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body .photo-grid a {
  display: block;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body .photo-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  height: auto;
}

#your-valuation-frontend .details-container #note-form textarea {
  width: 100%;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body h4 {
  margin-bottom: 0;
  margin-top: 0;
    text-transform: unset;
    font-family: Space Grotesk !important;
    font-size: 18px !important;
}
}

#your-valuation-frontend .details-container .detail-card .detail-card__body hr {
  margin-top: 10px;
  margin-bottom: 10px;
}

#your-valuation-frontend .details-container .detail-card .detail-card__body .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

#your-valuation-frontend .note-container .note-timestamp {
  display: block;
}

#your-valuation-frontend .note-container .note-body {
  margin-top: 0;
  font-weight: bold;
}

#your-valuation-frontend .note-container .note__header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

#your-valuation-frontend .note-container .note button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  display: block;
  margin-bottom: 5px;
  cursor: pointer;
  color: rgb(203, 0, 0);
  text-transform: uppercase;
  font-weight: 600;
}

#your-valuation-frontend .note-container .note button:hover {
  text-decoration: underline;
}

#your-valuation-frontend .inline-form-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#your-valuation-frontend .inline-form {
  display: flex;
  align-items: center;
  gap: 0;
}

#your-valuation-frontend .inline-form label {
  flex-grow: 1;
  line-height: 1;
}

#your-valuation-frontend .inline-form input,
#your-valuation-frontend .inline-form select,
#your-valuation-frontend .inline-form button {
  align-self: stretch;
  margin: 0;
  border-radius: initial;
}

#your-valuation-frontend .inline-form input,
#your-valuation-frontend .inline-form select {
  min-width: 174px !important;
}

#your-valuation-frontend .inline-form button.button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

@media screen and (max-width: 500px) {
  #your-valuation-frontend .inline-form {
    flex-direction: column;
    text-align: left;
    align-items: stretch;
  }

  #your-valuation-frontend .inline-form label {
    padding-top: 5px;
    padding-bottom: 10px;
  }

  #your-valuation-frontend .inline-form input,
  #your-valuation-frontend .input-form select {
    max-width: none;
    min-width: 0;
  }
}

#your-valuation-frontend #quote-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

#your-valuation-frontend #quote-form .actions {
  display: flex;
  justify-content: flex-end;
}

#your-valuation-frontend .quote-list-row {
  background-color: white;
  border: 1px solid #c3c4c7;
  border-right-width: 8px;
  border-left-width: 8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  clear: both;
  margin-bottom: 20px;
}

#your-valuation-frontend .quote-list-row .image-col img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

#your-valuation-frontend .quote-list-row label {
  font-style: italic;
  font-size: 14px;
  display: block;
  margin-bottom: 3px;
}

#your-valuation-frontend .quote-list-row .quote_id {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

#your-valuation-frontend .quote-list-row .reg_no {
  font-weight: 600;
}

#your-valuation-frontend .quote-list-row .make_model {
  font-style: italic;
  text-transform: uppercase;
}

#your-valuation-frontend .quote-list-row .actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 10px;
}

#your-valuation-frontend .quote-list-row .actions > a {
  display: block;
}

@media screen and (max-width: 1024px) {
  #your-valuation-frontend .quote-list-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 900px) {
  #your-valuation-frontend .quote-list-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 500px) {
  #your-valuation-frontend .quote-list-row {
    grid-template-columns: repeat(1, 1fr);
  }

  #your-valuation-frontend .quote-list-row .actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 5px;
  }

  #your-valuation-frontend .quote-list-row .actions button,
  #your-valuation-frontend .quote-list-row .actions a {
    display: block;
    width: 100%;
    text-align: center;
  }
}

#your-valuation-frontend .button.button-danger {
  background: #b32d2e;
  border-color: #b32d2e;
  color: #fff;
  text-decoration: none;
  text-shadow: none;
}

#your-valuation-frontend .button.button-danger:hover,
#your-valuation-frontend .button.button-danger:active,
#your-valuation-frontend .button.button-danger:focus {
  background: #7d1212;
  border-color: #7d1212;
  color: #fff;
}

#your-valuation-frontend .mf-modal .mf-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: grid;
  place-items: center;
}

#your-valuation-frontend .mf-modal .mf-modal__body {
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 5px;
}