/* Contact us (contactus.aspx): same panel as the dashboard / news (style/dashboard.css) */
.ct { margin-top: 18px; }
.ct-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding: 22px 26px 28px; border-top: 1px solid var(--line); background: var(--soft); }
.ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.ct-full { grid-column: 1 / -1; }
.ct-field label { display: block; margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ct-field label span { font-weight: 400; color: var(--muted); margin-left: 4px; }
/* Logged-in users don't see the email boxes (code-behind hides them): hide their labels too */
.ct-field:not(:has(input, textarea)) { display: none; }
.ct .ct-input { display: block; width: 100%; height: 46px; margin: 0; padding: 0 14px; border: 1px solid #dfe5f0; border-radius: 11px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.ct .ct-input::placeholder { color: #a6adbb; }
.ct .ct-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(60,156,240,.12); }
.ct .ct-msg { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.ct-actions { display: flex; justify-content: flex-end; }
.ct .ct-send { width: auto; height: auto; margin: 0; padding: 12px 24px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; box-shadow: none; }
.ct .ct-send:hover { background: #2c2f8f; }

.ct-status:empty { display: none; }
.ct-status { grid-column: 1 / -1; display: block; padding: 11px 14px; border-radius: 11px; font-size: 13.5px; font-weight: 600; background: #eef0ff; color: var(--brand); }
.ct-status.ok { background: #e4f8ed; color: var(--ok); }
.ct-status.err { background: #fdecea; color: #c0392b; }

.ct-side { display: flex; flex-direction: column; gap: 12px; }
.ct-tip { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.ct-tip-ico { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; background: #eef0ff; display: grid; place-items: center; }
.ct-tip-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-tip b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.ct-tip p { margin: 3px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.ct-tip a { color: var(--brand); font-weight: 600; }

@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ct-grid { padding: 14px 10px 18px; gap: 14px; }
  .ct-form { grid-template-columns: 1fr; padding: 16px; }
  .ct .ct-send { width: 100%; }
}
