.c-page-not-found {
  padding: 0 0 60px;
  border-bottom: 1px solid #ececec;
}

.c-page-not-found__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}

@media (width >= 768px) {
  .c-page-not-found__grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.c-page-not-found__content {
  text-align: center;
  display: flex;
  flex-direction: column;
}

@media (width >= 768px) {
  .c-page-not-found__content {
    text-align: left;
    padding-left: 10%;
  }
}

.c-page-not-found__title {
  color: #888;
  font-family: "MMC_Bold", sans-serif;
  font-size: 40px;
  line-height: 44px;
  margin-bottom: 10px;
}

.c-page-not-found__subtitle {
  font-family: "MMC_Bold", sans-serif;
  font-size: 28px;
  line-height: 36px;
  color: #003865;
  margin: 0;
}

.c-page-not-found__illustration {
  margin-top: auto;
  margin-left: auto;
}

.c-page-not-found__illustration img {
  width: 100%;
  height: 300px;
  display: block;
}

.c-page-not-found__form-wrapper {
  display: flex;
  justify-content: center;
}

.c-page-not-found__form-card {
  background: #fff;
  padding: 30px;
  box-shadow: 1px 3px 6px -1px #b9b8b8;
  border-radius: 5px;
  width: 100%;
  max-width: 555px;
}

.c-page-not-found__form-title {
  margin: 0;
  font-family: "MMC_Bold", sans-serif;
  font-size: 28px;
  line-height: 36px;
  color: #003865;
  margin-bottom: 15px;
}

.c-page-not-found__form-desc {
  font-size: 16px;
  line-height: 20px;
  color: #868d95;
  font-weight: 400;
  margin-bottom: 20px;
}

/* Form Styles */
.c-page-not-found__webform .form-item {
  margin-top: 0 !important;
  margin-bottom: 0;
  padding: 20px 0 0 !important;
  position: relative;
}

.c-page-not-found__webform label {
  font-size: 0;
  color: transparent;
  margin-bottom: 0;
  display: block;
  position: absolute;
  top: 28px;
  left: 0;
  pointer-events: none;
}

.c-page-not-found__webform input[type="text"],
.c-page-not-found__webform input[type="email"],
.c-page-not-found__webform input[type="tel"],
.c-page-not-found__webform select {
  width: 100%;
  border: none;
  border-bottom: 1px solid #b9bfc7;
  border-radius: 0;
  background: transparent;
  padding: 4px 0 8px 22px;
  margin: 0;
  font-size: 14px;
  color: #333;
  box-shadow: none;
  outline: none;
  height: auto;
  line-height: normal;
}

.c-page-not-found__webform input::placeholder,
.c-page-not-found__webform textarea::placeholder {
  color: #b9bfc7;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
}

.c-page-not-found__webform input[type="text"]:focus,
.c-page-not-found__webform input[type="email"]:focus,
.c-page-not-found__webform input[type="tel"]:focus,
.c-page-not-found__webform select:focus {
  border-bottom: 2px solid #00a859;
  outline: none;
}

.c-page-not-found__webform textarea:focus {
  border-color: #00a859;
  outline: none;
}

.c-page-not-found__webform input:focus::placeholder,
.c-page-not-found__webform textarea:focus::placeholder {
  color: #00a859;
}

.c-page-not-found__webform textarea {
  width: 100%;
  border: 1px solid #b9bfc7;
  border-radius: 4px;
  padding: 10px;
  font-size: 14px;
  color: #333;
  resize: vertical;
  min-height: 80px;
  box-shadow: none;
  outline: none;
}

.c-page-not-found__webform .form-item-consent label,
.c-page-not-found__webform .form-type-checkbox label {
  text-transform: none;
  font-size: 14px;
  font-weight: normal;
  display: inline-block;
  position: static;
  pointer-events: auto;
  color: #666;
}

/* Button */
.c-page-not-found__webform .form-submit {
  background: linear-gradient(45deg, #009de0, #00ac41);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 30px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 10px;
}

.c-page-not-found__webform .form-submit:hover {
  background: linear-gradient(45deg, #00ac41, #009de0);
}

/* 2-column layout for webform fields */
.c-page-not-found__webform .webform-submission-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.c-page-not-found__webform .form-item-email-address,
.c-page-not-found__webform .form-item-requirement,
.c-page-not-found__webform .form-item-consent,
.c-page-not-found__webform .form-actions {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Form label icons */
.c-page-not-found__webform .form-item-email-address label::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>')
    no-repeat center;
  background-size: contain;
  vertical-align: text-top;
}

.c-page-not-found__webform .form-item-name label::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>')
    no-repeat center;
  background-size: contain;
  vertical-align: text-top;
}

.c-page-not-found__webform .form-item-phone-no label::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg>')
    no-repeat center;
  background-size: contain;
  vertical-align: text-top;
}

.c-page-not-found__webform .form-item-job-role label::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><path d="M7 3h10v4H7z"></path><path d="M9 7l2 10-1 4h4l-1-4 2-10"></path></svg>')
    no-repeat center;
  background-size: contain;
  vertical-align: text-top;
}

.c-page-not-found__webform .form-item-company label::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><rect x="4" y="2" width="16" height="20" rx="2" ry="2"></rect><path d="M9 22v-4h6v4"></path><path d="M8 6h.01"></path><path d="M16 6h.01"></path><path d="M12 6h.01"></path><path d="M12 10h.01"></path><path d="M12 14h.01"></path><path d="M16 10h.01"></path><path d="M16 14h.01"></path><path d="M8 10h.01"></path><path d="M8 14h.01"></path></svg>')
    no-repeat center;
  background-size: contain;
  vertical-align: text-top;
}

.c-page-not-found__disclaimer {
  font-size: 11px;
  line-height: 14px;
  color: #888;
  margin-top: 20px;
  text-align: left;
}
