/* Quick registration — visual language of the supplied 0.jpg design */
.quick-page {
  min-height: 100vh;
  background: #fff;
  color: #142433;
  position: relative;
  overflow-x: hidden;
}
.quick-page::before {
  content: ""; position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background: url('/img/quick-shamse-jahad.jpg') center top / cover no-repeat;
}
.quick-page::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.08) 42%, rgba(255,255,255,.48) 100%);
}
.quick-shamse-fade {
  display: none;
}
.quick-network-mirror {
  display: none;
}
.quick-page > header,
.quick-page > main,
.quick-page > footer,
.quick-page > .toast { position: relative; z-index: 1; }

/* Header */
.quick-header { position: relative; z-index: 3; max-width: 1320px; margin: 0 auto; padding: 10px 20px 0; }
.quick-header-top { position: relative; min-height: 82px; display: flex; justify-content: center; align-items: center; }
.quick-brand { display: flex; flex-direction: column; align-items: center; gap: 1px; color: #0a3768; }
.quick-brand img { width: 56px; height: 56px; object-fit: contain; display: block; }
.quick-brand span { font-size: 28px; font-weight: 900; letter-spacing: -.9px; line-height: 1.2; white-space: nowrap; }
.quick-header-actions { position: absolute; top: 9px; left: 0; display: flex; align-items: center; gap: 8px; }
.quick-login-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px;
  background: #0b9a91; color: #fff; border-radius: 7px; font-size: 11px; font-weight: 700;
  box-shadow: 0 7px 16px rgba(11,154,145,.18); white-space: nowrap;
}
.quick-login-btn:hover { background: #077f78; color: #fff; }
.quick-login-btn .icon { width: 15px; height: 15px; }
.quick-login-btn--secondary {
  background: rgba(255,255,255,.92);
  color: #0a3768;
  border: 1px solid #c9dde5;
  box-shadow: 0 5px 14px rgba(10,55,104,.08);
}
.quick-login-btn--secondary:hover { background: #fff; color: #0a3768; }
.quick-edit-link { color: #477087; font-size: 9.5px; white-space: nowrap; }
.quick-edit-link:hover { color: #0b7f78; }

.quick-nav {
  display: flex; align-items: stretch; justify-content: stretch;
  min-height: 44px; background: #fff; border: 1px solid #c7dce9; border-radius: 9px;
  overflow: hidden; box-shadow: 0 3px 10px rgba(10,55,104,.045);
}
.quick-nav a {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  flex: 1 1 0; min-width: 0; padding: 8px 12px; color: #0a3768;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.quick-nav a .icon { width: 15px; height: 15px; flex: 0 0 auto; }
.quick-nav a:hover { background: #eef8f8; }
.quick-nav a.is-active { background: #0a3768; color: #fff; font-weight: 800; border-radius: 0 7px 7px 0; }
.quick-nav a.is-active:hover { background: #082d57; }

/* Layout: form on the right, portrait panel on the left */
.quick-register-wrap { position: relative; z-index: 3; max-width: 1320px; margin: 0 auto; padding: 9px 20px 18px; }
.quick-admin-edit {
  position: relative; z-index: 4; margin-bottom: 12px; padding: 14px 16px;
  background: #fff; border: 1px solid #2b6fa5; border-radius: 8px;
  box-shadow: 0 10px 24px rgba(10,55,104,.08);
}
.quick-admin-edit h3 { font-size: 14px; color: #0a3768; }
.quick-register-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 24px; align-items: start; }
.quick-form-column { min-width: 0; }
.quick-form-card {
  position: relative; background: #fff; border: 1px solid #2b6fa5; border-radius: 9px;
  box-shadow: 0 17px 42px rgba(10,55,104,.075); padding: 14px 18px 10px;
}
.quick-form-card::before {
  content: ""; position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
  width: 68px; height: 4px; background: #ef7b25; border-radius: 0 0 4px 4px;
}
.quick-form { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 17px; }
.quick-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.quick-field.quick-full { grid-column: 1 / -1; }
.quick-two { display: contents; }
.quick-field label, .quick-photos-title {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 4px;
  color: #0a3768; font-size: 11px; font-weight: 700; line-height: 1.6;
}
.quick-field label > span { color: #d85b2d; }
.label-icon { width: 13px; height: 13px; flex: 0 0 auto; color: #0a3768; }
.quick-form .input, .quick-form .select, .quick-form .textarea {
  width: 100%; background: #fff; border: 1px solid #b8cee0; border-radius: 4px;
  min-height: 33px; padding: 5px 11px; font-size: 11.5px; color: #142433;
}
.quick-form .textarea { resize: none; min-height: 98px; }
.quick-form .input:focus, .quick-form .select:focus, .quick-form .textarea:focus {
  outline: 2px solid rgba(11,154,145,.13); border-color: #0b9a91;
}
.quick-form .validation { color: #b42318; font-size: 8.8px; line-height: 1.45; }
.quick-alert {
  grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start;
  background: #fff1ef; color: #9d2d22; border: 1px solid #f3c9c3;
  border-radius: 6px; padding: 8px 10px; font-size: 10px; line-height: 1.8;
}
.quick-alert .icon { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 2px; }

/* Notes and document upload side by side */
.quick-notes-doc { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 17px; align-items: stretch; }
.quick-notes { min-width: 0; }
.quick-notes .textarea { min-height: 64px; }
.quick-doc { min-width: 0; }
.quick-doc .validation { min-height: 0; }
.quick-upload {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 76px; border: 1px dashed #a9c4d8; border-radius: 5px; background: #fff;
  color: #0a3768; text-align: center; cursor: pointer; padding: 7px 6px;
}
.quick-upload:hover { border-color: #0b9a91; background: #f5fcfb; }
.quick-upload--document { min-height: 64px; gap: 2px; border-style: solid; border-color: #a9c4d8; }
.quick-doc-image { display: none; position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: cover; border-radius: 4px; z-index: 1; }
.quick-upload--document.is-selected .quick-doc-image[src]:not([src=""]) { display: block; }
.quick-upload--document.is-selected .upload-visual,
.quick-upload--document.is-selected .upload-caption,
.quick-upload--document.is-selected small { display: none; }
.quick-doc-name {
  display: none; position: absolute; inset-inline: 5px; bottom: 5px; z-index: 2;
  align-items: center; gap: 3px; padding: 3px 4px; background: rgba(255,255,255,.92);
  border-radius: 3px; color: #0a3768; font-size: 7.5px; font-weight: 700;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.quick-upload--document.is-selected .quick-doc-name { display: flex; }
.quick-doc-name .icon { width: 10px; height: 10px; flex: 0 0 auto; }
.upload-visual { position: relative; display: inline-flex; align-items: center; justify-content: center; color: #0a3768; }
.upload-visual > .icon { width: 27px; height: 27px; }
.upload-dot {
  position: absolute; right: -4px; bottom: -4px; width: 13px; height: 13px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 50%; background: #ef7b25; color: #fff;
  border: 1.5px solid #fff;
}
.upload-dot .icon { width: 9px; height: 9px; }
.upload-label { position: absolute; top: 7px; right: 9px; color: #0a3768; font-size: 9px; font-weight: 700; }
.quick-upload--document .upload-visual > .icon { width: 31px; height: 31px; }
.upload-caption { color: #0a3768; font-size: 9.5px; font-weight: 700; }
.quick-upload small { color: #8a9ba7; font-size: 8px; line-height: 1.4; }
.quick-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.quick-file-chip { display: inline-flex; align-items: center; gap: 4px; color: #0b7f78; font-size: 8.5px; margin-top: 2px; }
.quick-file-chip .icon { width: 11px; height: 11px; }
.quick-upload-preview {
  display: none; position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px);
  object-fit: cover; border-radius: 4px; z-index: 2;
}
.quick-upload.has-preview .quick-upload-preview { display: block; }
.quick-upload.has-preview > span,
.quick-upload.has-preview > small,
.quick-upload.has-preview > .upload-label { opacity: 0; }

/* Old / new photo boxes */
.quick-photos { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 5px; }
.quick-photos-title { cursor: default; }
.quick-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.quick-photo-grid .quick-upload { min-height: 56px; }
.quick-photos .validation { margin-top: -2px; }

.quick-terms { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 6px; color: #5d7080; font-size: 8.8px; line-height: 1.7; cursor: pointer; margin-top: 1px; }
.quick-terms input { margin-top: 2px; accent-color: #0b9a91; }
.quick-terms a { color: #0b7f78; text-decoration: underline; }

/* Orange submit line, like the supplied design */
.quick-submit-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding-top: 5px; }
.quick-rule { flex: 1 1 auto; height: 1px; background: #b9cfe0; }
.quick-ornament { color: #ef7b25; display: inline-flex; align-items: center; justify-content: center; }
.quick-ornament .icon { width: 27px; height: 27px; }
.quick-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 180px; padding: 9px 22px; border: 0; border-radius: 7px;
  background: #ef7b25; color: #fff; font-family: inherit; font-size: 12px; font-weight: 800;
  cursor: pointer; box-shadow: 0 7px 15px rgba(239,123,37,.18);
}
.quick-submit:hover { background: #d96714; }
.quick-submit .icon { width: 15px; height: 15px; }

/* Hero and the three portrait cards */
.quick-gallery-column { min-width: 0; padding-top: 4px; }
.quick-hero { text-align: right; margin-bottom: 12px; }
.quick-hero h1 {
  margin: 0 0 11px; color: #0a3768; font-size: clamp(29px, 3vw, 38px);
  font-weight: 900; line-height: 1.5; letter-spacing: -.8px;
}
.quick-hero p { margin: 0; color: #234762; font-size: 11.2px; line-height: 2; }
.quick-people-panel {
  background: rgba(240,249,252,.78); border: 1px solid #2b6fa5; border-radius: 9px;
  padding: 10px 10px 12px;
}
.quick-people-panel h2 { margin: 0 0 8px; text-align: center; color: #0a3768; font-size: 16px; font-weight: 900; }
.quick-people-rail { position: relative; overflow: hidden; min-width: 0; padding: 0 18px; }
.quick-people-track {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none;
  padding: 1px 0;
}
.quick-people-track::-webkit-scrollbar { display: none; }
.quick-person-card {
  flex: 0 0 calc((100% - 20px) / 3); display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: #f8fbfd; border: 1px solid #2b6fa5; border-radius: 7px; color: #0a3768;
  scroll-snap-align: start;
}
.quick-person-card:hover { box-shadow: 0 7px 18px rgba(10,55,104,.12); }
.quick-person-card > img { width: 100%; height: 113px; object-fit: cover; display: block; border-bottom: 1px solid #d1e1ec; }
.quick-person-body { display: flex; flex-direction: column; gap: 4px; padding: 7px 6px 8px; }
.quick-person-name {
  display: flex; align-items: center; gap: 3px; color: #0a3768;
  font-size: 10.5px; font-weight: 800; line-height: 1.6;
}
.quick-person-name .icon { width: 12px; height: 12px; flex: 0 0 auto; }
.quick-person-meta { display: flex; flex-direction: column; gap: 0; color: #1b4b78; font-size: 8.6px; line-height: 1.65; }
.quick-person-meta-label { display: inline-flex; align-items: center; gap: 3px; color: #477087; font-size: 8px; }
.quick-person-meta-label .icon { width: 10px; height: 10px; color: #0a3768; flex: 0 0 auto; }
.quick-person-meta-value { display: inline-flex; align-items: center; gap: 4px; }
.quick-person-meta-value .icon { width: 11px; height: 11px; color: #0a3768; flex: 0 0 auto; }
.quick-people-arrow {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #9bbbd1; border-radius: 50%; background: rgba(255,255,255,.94);
  color: #0a3768; cursor: pointer; box-shadow: 0 3px 8px rgba(10,55,104,.12);
}
.quick-people-arrow:hover { background: #0a3768; color: #fff; border-color: #0a3768; }
.quick-people-arrow .icon { width: 12px; height: 12px; }
.quick-people-arrow--prev { right: 0; }
.quick-people-arrow--prev .icon { transform: rotate(180deg); }
.quick-people-arrow--next { left: 0; }
.quick-people-dots { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 9px; margin-top: 7px; }
.quick-people-dots button {
  width: 5px; height: 5px; padding: 0; border: 0; border-radius: 9px;
  background: #b9d1df; cursor: pointer; transition: width .2s, background .2s;
}
.quick-people-dots button.is-active { width: 15px; background: #0b9a91; }
.quick-people-rail.is-static .quick-people-arrow,
.quick-people-rail.is-static + .quick-people-dots { display: none; }

/* Footer: the simple centered bar from the design */
.quick-footer { position: relative; z-index: 3; max-width: 1320px; margin: 0 auto; padding: 2px 20px 17px; text-align: center; }
.quick-footer-title { display: flex; align-items: center; justify-content: center; gap: 9px; color: #0a3768; font-size: 11px; font-weight: 700; }
.quick-footer-title span { color: #ef7b25; font-size: 17px; line-height: 1; }
.quick-footer-bar {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 15px;
  margin-top: 7px; padding: 6px 18px; border: 1px solid #91b6d1; border-radius: 22px;
  background: rgba(255,255,255,.5); color: #0a3768; font-size: 9px;
}
.quick-footer-bar > a, .quick-footer-bar > span { display: inline-flex; align-items: center; gap: 4px; color: #0a3768; }
.quick-footer-bar .icon { width: 13px; height: 13px; flex: 0 0 auto; }

/* Tall desktop: follow the breathing room and proportions of 0.jpg. */
@media (min-width: 1200px) and (min-height: 768px) {
  .quick-header, .quick-register-wrap, .quick-footer { max-width: 1340px; padding-inline: 10px; }
  .quick-header-top { min-height: 190px; align-items: flex-start; padding-top: 12px; }
  .quick-brand img { width: 68px; height: 68px; }
  .quick-brand span { font-size: 33px; }
  .quick-header-actions { top: 112px; }
  .quick-register-wrap { padding-top: 10px; }
  .quick-hero { padding-top: 14px; margin-bottom: 46px; }
  .quick-form-card { padding: 8px 18px 6px; }
  .quick-form { gap: 2px 17px; }
  .quick-form .input, .quick-form .select, .quick-form .textarea { min-height: 31px; padding: 4px 10px; }
  .quick-notes .textarea, .quick-upload--document { min-height: 56px; }
  .quick-photo-grid .quick-upload { min-height: 50px; }
  .quick-submit-row { padding-top: 1px; }
  .quick-register-layout { grid-template-columns: minmax(0, 1.66fr) minmax(0, 1fr); gap: 96px; }
}

/* Responsive */
@media (max-width: 980px) {
  .quick-shamse-fade { left: 0; right: 0; }
  .quick-header { padding-inline: 12px; }
  .quick-brand img { width: 47px; height: 47px; }
  .quick-brand span { font-size: 22px; }
  .quick-header-top { min-height: 68px; }
  .quick-nav { overflow-x: auto; justify-content: flex-start; min-height: 40px; }
  .quick-nav a { flex: 0 0 auto; padding: 7px 11px; font-size: 10px; }
  .quick-nav a .icon { width: 13px; height: 13px; }
  .quick-register-wrap { padding: 8px 12px 16px; }
  .quick-register-layout { grid-template-columns: 1fr; gap: 14px; }
  .quick-form-column { order: 1; }
  .quick-gallery-column { order: 2; padding-top: 0; }
  .quick-people-rail { padding-inline: 15px; }
  .quick-people-track { gap: 8px; }
  .quick-person-card { flex-basis: calc((100% - 16px) / 3); }
  .quick-person-card > img { height: 150px; }
  .quick-person-body { padding: 8px 7px 9px; }
  .quick-person-name { font-size: 11px; }
  .quick-person-meta { font-size: 9px; }
  .quick-hero h1 { font-size: 24px; }
  .quick-hero p { font-size: 10px; }
  .quick-footer { padding-inline: 12px; }
}

@media (min-width: 981px) and (max-height: 760px) {
  .quick-form-card { padding-top: 10px; padding-bottom: 6px; }
  .quick-form { gap: 6px 17px; }
  .quick-notes .textarea, .quick-upload--document { min-height: 64px; }
  .quick-photo-grid .quick-upload { min-height: 58px; }
  .quick-submit-row { padding-top: 3px; }
}

@media (max-width: 700px) {
  .quick-header-actions { flex-direction: column; align-items: flex-start; gap: 4px; }
  .quick-login-btn--secondary { padding: 4px 7px; font-size: 8.2px; }
  .quick-header-top { min-height: 62px; }
  .quick-brand img { width: 40px; height: 40px; }
  .quick-brand span { font-size: 19px; }
  .quick-header-actions { top: 5px; }
  .quick-login-btn { padding: 6px 10px; font-size: 9.5px; }
  .quick-login-btn .icon { width: 13px; height: 13px; }
  .quick-edit-link { display: none; }
  .quick-nav { min-height: 37px; }
  .quick-nav a { gap: 4px; padding: 6px 9px; font-size: 9.2px; }
  .quick-nav a .icon { width: 12px; height: 12px; }
  .quick-register-wrap { padding-inline: 9px; }
  .quick-form-card { padding: 13px 11px 10px; }
  .quick-form { gap: 8px 10px; }
  .quick-field label { font-size: 9.2px; gap: 3px; }
  .label-icon { width: 11px; height: 11px; }
  .quick-form .input, .quick-form .select, .quick-form .textarea { min-height: 33px; padding: 5px 8px; font-size: 10px; }
  .quick-two { display: contents; }
  .quick-name-grid { gap: 5px; }
  .quick-notes-doc { grid-template-columns: 1fr; gap: 8px; }
  .quick-notes .textarea { min-height: 54px; }
  .quick-upload--document { min-height: 54px; }
  .quick-photo-grid { gap: 8px; }
  .quick-photo-grid .quick-upload { min-height: 52px; }
  .upload-visual > .icon { width: 23px; height: 23px; }
  .upload-label { font-size: 8.4px; }
  .upload-caption { font-size: 8.8px; }
  .quick-upload small { font-size: 7.4px; }
  .quick-terms { font-size: 8.1px; }
  .quick-submit-row { gap: 6px; }
  .quick-rule { min-width: 8px; }
  .quick-ornament .icon { width: 22px; height: 22px; }
  .quick-submit { min-width: 150px; padding: 8px 16px; font-size: 10.5px; }
  .quick-hero h1 { font-size: 22px; }
  .quick-people-panel { padding: 8px 7px 9px; }
  .quick-people-rail { padding-inline: 12px; }
  .quick-people-track { gap: 5px; }
  .quick-person-card { flex-basis: calc((100% - 10px) / 3); }
  .quick-person-card > img { height: 92px; }
  .quick-person-body { gap: 2px; padding: 5px 4px; }
  .quick-person-name { font-size: 8.2px; gap: 2px; }
  .quick-person-name .icon { width: 9px; height: 9px; }
  .quick-person-meta { font-size: 7.3px; line-height: 1.5; }
  .quick-person-meta-label { font-size: 7.1px; }
  .quick-person-meta-label .icon { width: 8px; height: 8px; }
  .quick-footer { padding: 0 9px 12px; }
  .quick-footer-title { font-size: 9.5px; gap: 5px; }
  .quick-footer-bar { gap: 5px 9px; padding: 5px 10px; font-size: 8px; border-radius: 14px; }
  .quick-footer-bar .icon { width: 11px; height: 11px; }
}

@media (max-width: 380px) {
  .quick-brand span { font-size: 16.5px; }
  .quick-nav a { padding-inline: 7px; font-size: 8.6px; }
  .quick-form { grid-template-columns: 1fr; }
  .quick-two { display: flex; flex-direction: column; gap: 8px; grid-column: 1; }
  .quick-field.quick-full { grid-column: auto; }
  .quick-notes-doc, .quick-photos { grid-column: 1; }
  .quick-name-grid { grid-template-columns: 1fr 1fr; }
}
