/* Contact page - same style as login (dark panel cards), full width */

.section.account{
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}

.section.account h1{
  margin: 0 0 14px 0;
  font-size: 22px;
  letter-spacing: .2px;
  color: rgba(246,240,226,.96);
}

.account-card{
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.account-card--error{
  border-color: rgba(239,68,68,.35);
}

.account-card--success{
  border-color: rgba(34,197,94,.35);
}

.account-title{
  margin: 0 0 10px 0;
  color: rgba(246,240,226,.92);
}

.account-text{
  margin: 6px 0 0 0;
  color: rgba(246,240,226,.78);
  font-size: 13px;
  line-height: 1.45;
}

.account-errors{
  margin: 0;
  padding-left: 18px;
  color: rgba(246,240,226,.78);
  font-size: 13px;
  line-height: 1.45;
}
.account-errors li{ margin: 4px 0; }

.account-form{
  margin-top: 14px;
}

.account-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.account-label{
  display: block;
}

.account-label span{
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: rgba(246,240,226,.70);
}

.account-label input,
.account-label textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(246,240,226,.92);
  outline: none;
}

.account-label textarea{
  resize: vertical;
  min-height: 130px;
}

.account-label input::placeholder,
.account-label textarea::placeholder{
  color: rgba(246,240,226,.45);
}

.account-label input:focus,
.account-label textarea:focus{
  border-color: rgba(34,197,94,.35);
  box-shadow: 0 0 0 3px rgba(34,197,94,.10);
}

/* allow some labels to span full row on wide screens */
.account-label--full{
  grid-column: 1 / -1;
}

.account-actions{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.account-actions .btn{
  white-space: nowrap;
}

.account-foot{
  margin-top: 14px;
  font-size: 12px;
  color: rgba(246,240,226,.70);
}

/* Honeypot hidden */
.hp-field{
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* wider screens: two columns, but keep full-row fields */
@media (min-width: 820px){
  .account-card{ padding: 18px; }
  .account-grid{
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}
