body {
  font-family: "Volvo Novum", sans-serif;
  margin-right: 20px;
  margin-left: 20px;
  padding-bottom: 4rem;
}

h1 {
  font-weight: 300;
}

h2 {
  font-weight: 500;
}

p {
  font-weight: 400;
}

strong {
  font-weight: 500;
}


.title-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
#vain-ladattavat {
  user-select: none;
}
#vain-ladattavat:hover {
  cursor: pointer;
}
.hinnasto-title {
  margin-bottom: 20px;
}
.header-logo {
  margin: 0 auto;
  max-width: 100px;
  padding: 1rem 0 2rem 0;
}
.header-logo svg {
  width: 100%;
  height:auto;
}
table {
  font-size: 0.75rem;
}
.table-container {
  width: 100%;
  max-width: 1440px;
  margin: 12px auto 0;
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th {
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  padding-bottom: 1rem;
  padding-right: 1rem;
}
th::after {
  content: '';
}
th.dir-d::after {
  content: '▲';
}
th.dir-u::after {
  content: '▼';
}
tr:nth-child(even) {
  background: #f1f1f1;
}
tr > td:first-of-type {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
tr > td:not(:first-of-type) {
  padding-right: 0.5rem;
}
tr > td:not(:nth-child(1)):not(:nth-child(2)) {
  white-space: nowrap;
}
td {
  padding: 0.5rem 0;
}
.disclaimer-container {
  width: 100%;
  max-width: 1440px;
  margin-top: 20px;
  border-top: 1px black solid;
  overflow: auto;
  font-size: 14px;
}

.disclaimer-container > p {
  margin-top: 20px;
}

@media (min-width: 762px){

  .title-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }  

  .delivery-disclaimer {
    display: block;
    padding-right: 40px;
  }

  table {
    font-size: 1rem;
  }
  .coth {
    min-width: 100px;
  }
  .title-container {
    width: 100%;
  }
  .header-logo {
    max-width: 200px;
    padding: 2rem 0 4rem 0;
  }
  .disclaimer-container {
    margin: 0 auto;
    margin-top: 20px;
  }
}
.disabled {
  display: none;
}

@media (min-width: 1440px) {
  body {
    margin-right: 0;
    margin-left: 0;
  }
}

/* Recall styles */

.recall-title-container {
  max-width: 846px;
  margin: 80px auto 80px;
}

.recall-instructions {
  display: none;
  max-width: 846px;
  margin: 80px auto 80px;
}

.recall-back-to-volvocars {
  width: fit-content;
  margin: 80px auto;
}

p {
  font-family: "Volvo Novum", sans-serif;
  font-size: 18px;
  line-height: 24px;
}

.visible {
  display: block !important;
}

.vin-checker-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  line-height: 22px;
  margin-bottom: 24px;
}

input#vin-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

button#check-vin-btn {
  background-color: #003057;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

button#check-vin-btn:hover {
  background-color: #00477e;
}

.result-message {
  padding: 15px;
  border-radius: 4px;
  margin-top: 20px;
  display: none;
}

.result-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.result-message.warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.result-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
