.trust-box { max-width: 760px; }

.trust-lead { font-size: 1.05rem; margin-bottom: 20px; }

.trust-form { display: flex; flex-direction: column; gap: 18px; }

.trust-step {
  border: 0;
  margin: 0;
  padding: 18px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trust-step legend {
  float: left;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #222;
}
.trust-step legend + * { clear: both; }

.trust-num {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: #0080ff;
  color: #fff;
  font-size: 0.95rem;
}

.trust-req { color: #c62828; }

.trust-options { display: flex; flex-wrap: wrap; gap: 10px; }

.trust-option { margin: 0; cursor: pointer; }
.trust-option input { position: absolute; width: 0; height: 0; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.trust-option > span {
  display: inline-block;
  padding: 9px 16px;
  border: 2px solid #0080ff;
  border-radius: 6px;
  color: #0080ff;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.2s, color 0.2s;
}
.trust-option:hover > span { background: rgba(0, 128, 255, 0.08); }
.trust-option input:checked + span { background: #0080ff; color: #fff; }
.trust-option input:focus-visible + span { outline: 3px solid #ffbf00; outline-offset: 2px; }

.trust-form textarea,
.trust-form input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #b5c7d9;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
}
.trust-form textarea { resize: vertical; min-height: 260px; }
.trust-form textarea:focus,
.trust-form input[type="text"]:focus {
  outline: 0;
  border-color: #0080ff;
  box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.2);
}

.trust-hint { margin: 8px 0 0; font-size: 0.9rem; color: #666; }

.trust-reply { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.trust-reply[hidden] { display: none; }
.trust-field { display: block; margin: 0; font-size: 14px; font-weight: bold; }
.trust-field small { font-size: 14px; font-weight: normal; color: #666; }
.trust-field input { margin-top: 4px; font-weight: normal; }

.trust-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.trust-submit {
  align-self: flex-start;
  padding: 12px 32px;
  border: 0;
  border-radius: 6px;
  background: #0080ff;
  color: #fff;
  font-size: 1.05rem;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.2s;
}
.trust-submit:hover { background: #006ad1; }
.trust-submit:disabled { opacity: 0.6; cursor: default; }

.trust-status { min-height: 1.4em; font-size: 14px; font-weight: bold; }
.trust-status.is-ok { color: #1a7f37; }
.trust-status.is-error { color: #c62828; }

.trust-privacy {
  margin-top: 20px;
  padding: 12px 16px;
  border-left: 4px solid #0080ff;
  background: #f0f7ff;
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
}

/* Stretch the page card to the full height of the left menu column */
.layout-main:has(.trust-box) { display: flex; flex-direction: column; }
.layout-main:has(.trust-box) #dle-content { display: flex; flex-direction: column; flex: 1 1 auto; }
.layout-main:has(.trust-box) .short { flex: 1 1 auto; }
.layout-main:has(.trust-box) .short .cntm { flex: 1 1 auto; }
