/* 
one-time.css
*/

:root {
  --navy: #09275a;
  --blue-light: #eaf3ff;
  --green-light: #edf9f1;
  --border: #cdd9e8;
  --text: #10264f;
  --muted: #52647f;
  --surface: #ffffff;
  --page: #f5f9fe;
  --focus: #ffbf47;
}

.one-time .content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
}

.one-time .workflow-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.one-time .workflow-header h2, .one-time .workflow-header p { margin: 0; }

.one-time .numbered-heading div { width: 100%; }

.one-time .workflow-card > .form-section { border: 1px solid var(--border); border-radius: 7px; padding: 22px; margin-top: 16px; background: #fff; }
.one-time .workflow-card > .form-section.is-locked { opacity: 0.55; }
.one-time .workflow-card > .form-section[aria-disabled="true"] { pointer-events: none; }
.one-time .section-heading { margin-bottom: 18px; text-align: left; }
.one-time .section-heading h2, .one-time .section-heading h3, .one-time .section-heading p { margin: 0; }
.one-time .numbered-heading { display: flex; gap: 12px; align-items: flex-start; }
.one-time .section-number { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; }
.one-time .section-number-success { background: var(--green); }
.one-time .section-number-review { background: var(--purple); }
.one-time .compact-heading { margin-top: 26px; }

.one-time .action-status { margin: 18px 0 10px; }
.one-time .action-status[hidden] { display: none; }

.one-time .verification-options { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 54px 1fr; gap: 18px; }
.one-time .verification-column h3 { margin-top: 0; font-size: 1rem; }
.one-time .or-divider { display: flex; justify-content: center; align-items: center; position: relative; }
.one-time .or-divider::before { content: ""; width: 1px; height: 100%; background: var(--border); position: absolute; }
.one-time .or-divider span { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 999px; width: 42px; height: 42px; display: grid; place-items: center; font-weight: 700; }

.one-time .password-field { position: relative; }
.one-time .password-field input { padding-right: 64px; }
.one-time .show-hide { position: absolute; top: 5px; right: 5px; height: 34px; border: 0; background: transparent; color: var(--blue); font-weight: 700; }

.one-time .security-inline { display: flex; gap: 12px; background: var(--blue-light); border: 1px solid #c8dcf7; border-radius: 5px; padding: 14px; margin-top: 20px; }
.one-time .security-inline p { margin: 2px 0 0; }
.one-time .security-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.one-time .security-list li { display: flex; gap: 10px; }
.one-time .security-list li span:first-child { color: var(--green); font-weight: 800; }

.one-time .upload-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.one-time .drop-zone { display: grid; justify-items: center; gap: 12px; min-height: 145px; padding: 24px 20px; border: 2px dashed #98b0ce; border-radius: 6px; background: #fbfdff; text-align: center; }
.one-time .drop-zone.is-dragover { border-color: var(--blue); background: var(--blue-light); }
.one-time .drop-zone p { margin: 0; color: var(--text); font-weight: 700; }
.one-time .file-select-button { width: auto; min-width: 140px; padding: 10px 18px; }
.one-time .file-list:empty { display: none; }

.one-time .upload-success { margin-top:20px; padding:18px 20px; border:1px solid #b8d8c4; border-radius:8px; background:#f4faf6; }
.one-time .upload-success-heading { display:flex; align-items:center; gap:8px; font-size:1.05rem; }
.one-time .upload-success-icon { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:50%; font-weight:700; }
.one-time .upload-success > p { margin:8px 0 0; }
.one-time .uploaded-file-list { margin:14px 0 0; padding:0; list-style:none; }
.one-time .uploaded-file { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-top:1px solid #d8e4dc; }
.one-time .uploaded-file-info { display:flex; flex-direction:column; gap:2px; }
.one-time .uploaded-file-name { font-weight:600; }
.one-time .uploaded-file-type { color:#44546f; font-size:.95rem; }

.one-time .action-status { margin:18px 0 10px; padding:14px 16px; border:1px solid #b8dec5; border-radius:6px; background:var(--green-light); color:#0c5e34; font-weight:600; }
.one-time .action-status[data-kind="error"] { border-color:var(--error-border); background:var(--error-bg); color:var(--error); }
.one-time .action-status[hidden] { display:none; }

.one-time .confirmation-success-icon { display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; border-radius:50%; background:var(--green); color:#fff; font-size:1.5rem; font-weight:800; }
.one-time .confirmation-file-details { display:flex; flex-direction:column; gap:2px; }
.one-time .confirmation-warning p { margin:4px 0 0; }

@media (max-width: 800px) {
	.one-time .upload-grid { grid-template-columns: 1fr; gap: 20px; }
}

.one-time .file-list { margin: 12px 0 0; padding: 0; list-style: none; }
.one-time .file-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #d9e0ea; }
.one-time .file-info { min-width: 0; flex: 1; }
.one-time .file-name { display: block; overflow-wrap: anywhere; font-weight: 600; }
.one-time .file-size { color: #46536b; font-size: 0.9rem; }
.one-time .remove-file { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #9e1b1b; border-radius: 4px; background: #fff; color: #9e1b1b; font-weight: 600; cursor: pointer; }
.one-time .remove-file:hover,
.one-time .remove-file:focus { background: #9e1b1b; color: #fff; }

.one-time .certify { border: 0; padding: 0; margin-top: 18px; }
.one-time .certify legend { font-weight: 700; margin-bottom: 8px; }
.one-time .review-content { background: #f8fbff; border: 1px solid var(--border); padding: 16px; border-radius: 5px; }
.one-time .review-content dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 0; }
.one-time .review-content dt { font-weight: 700; }
.one-time .review-content dd { margin: 0; word-break: break-word; }
.one-time .status-message { padding: 14px 16px; margin-bottom: 16px; border-radius: 4px; background: var(--green-light); border: 1px solid #b8dec5; color: #0c5e34; font-weight: 700; }

.one-time .confirmation-success { padding: 8px 0 0; }
.one-time .confirmation-success-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.one-time .confirmation-success-header h2 { margin: 0 0 4px; }
.one-time .confirmation-lead { margin: 0; font-size: 1.05rem; }
.one-time .confirmation-number-panel { margin-bottom: 24px; padding: 20px; background: var(--blue-light); border: 1px solid var(--line); border-radius: 8px; }
.one-time .confirmation-number-panel h3 { margin: 0 0 8px; }
.one-time .confirmation-number { margin: 0 0 8px; font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.one-time .confirmation-section { padding: 22px 0; border-top: 1px solid var(--line); }
.one-time .confirmation-section h3 { margin: 0 0 12px; }
.one-time .confirmation-warning { margin-top: 8px; padding: 18px 20px; background: var(--error-bg); border: 1px solid var(--error-light); border-radius: 8px; }
.one-time .confirmation-next-steps { margin: 0; padding-left: 22px; }
.one-time .confirmation-next-steps li + li { margin-top: 8px; }
.one-time .confirmation-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.one-time .confirmation-files { margin: 0; padding: 0; list-style: none; }
.one-time .confirmation-file-check { position: relative; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); }
.one-time .confirmation-file-check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.one-time .confirmation-files li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.one-time .confirmation-files li:last-child { border-bottom: 0; }
.one-time .confirmation-file-details { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.one-time .confirmation-file-details strong { color: var(--ink); }
.one-time .confirmation-file-size { color: #52627a; font-size: .9rem; }

@media (max-width: 760px) {
	.one-time .confirmation-actions { display: grid; }
	.one-time .confirmation-actions .btn { width: 100%; }
}

@media (max-width: 1200px) {
  .one-time .content-container.content-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .one-time.content-shell { grid-template-columns: 1fr; }
  .one-time .side-column { order: 2; }
  .one-time .workflow-header { flex-direction: column; }
  .one-time .merp-stepper { width: 100%; }
}

@media (max-width: 680px) {
  .one-time .workflow-card { padding: 12px; }
  .one-time .form-section { padding: 16px; }
  .one-time .form-grid, .one-time .verification-options { grid-template-columns: 1fr; }
  .one-time .or-divider { min-height: 44px; }
  .one-time .or-divider::before { width: 100%; height: 1px; }
  .one-time .account-actions .btn { width: 100%; }

  .one-time .step { min-width: 0; font-size: 0.72rem; }
  .one-time .review-content dl { grid-template-columns: 1fr; }
  .one-time .review-content dd { margin-bottom: 8px; }
}

/* Accessibility enhancements */
.one-time [hidden] { display: none !important; }
.one-time .required-text, .one-time .optional-text { font-weight: 400; color: var(--muted); }
.one-time .verification-method { border: 0; padding: 0; margin: 0 0 20px; }
.one-time .verification-method legend { font-weight: 700; margin-bottom: 10px; }
.one-time .radio-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.one-time .radio-card { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; min-height: 48px; padding: 12px; border: 2px solid var(--border); border-radius: 6px; cursor: pointer; }
.one-time .radio-card:has(input:checked) { border-color: var(--blue); background: var(--blue-light); }
.one-time .radio-card input { width: 22px; min-height: 22px; margin: 0; }
.one-time .verification-panel { border-top: 1px solid var(--border); padding-top: 18px; }
.one-time .verification-panel h3 { margin-top: 0; }
.one-time .security-icon { display: inline-grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; }
.one-time .status-message[data-kind="error"] { background: var(--error-bg); border-color: var(--error-border); color: var(--error); }
.one-time .phone-number { display: inline-block; min-height: 44px; padding: 8px 0; }

@media (max-width: 680px) {
  .one-time .radio-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (forced-colors: active) {
  .one-time .btn, .one-time .radio-card, .one-time input, .one-time select, .one-time textarea, .one-time .form-section, .one-time .workflow-card, .one-time .sidebar-card { forced-color-adjust: auto; }
  .one-time .step-number, .one-time .section-number, .one-time .security-icon { border: 1px solid ButtonText; }
}


/* Online form selection */
.one-time .online-form-list { margin-top: 24px; }
.one-time .online-form-card { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); overflow: hidden; }
.one-time .online-form-card-main { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: 24px; }
.one-time .online-form-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 10px; background: var(--blue-light); color: var(--blue); }
.one-time .online-form-icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.one-time .online-form-card-content { min-width: 0; }
.one-time .online-form-card-content h3 { margin: 2px 0 4px; color: var(--text); font-size: 1.3rem; }
.one-time .online-form-program { margin: 0; color: var(--text); font-weight: 500; }
.one-time .online-form-description { max-width: 620px; margin: 16px 0; color: var(--text); line-height: 1.55; }
.one-time .online-form-badge { display: inline-block; padding: 5px 12px; border-radius: 6px; background: var(--blue-light); color: var(--blue); font-size: .9rem; font-weight: 700; }
.one-time .online-form-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 24px; padding: 18px 0 20px; border-top: 1px solid var(--border); }
.one-time .online-form-estimate { display: flex; align-items: center; gap: 10px; color: var(--text); }
.one-time .online-form-estimate svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.one-time .online-form-estimate strong { margin-right: 6px; }
.one-time .online-form-start { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.one-time .button-chevron { width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.one-time .online-form-availability-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; color: var(--text); }
.one-time .online-form-availability-note p { margin: 0; }
.one-time .online-form-info-icon { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; border: 2px solid var(--blue); border-radius: 50%; color: var(--blue); font-size: .75rem; font-weight: 800; line-height: 1; }

@media (max-width: 680px) {
	.one-time .online-form-card-main { grid-template-columns: 1fr; padding: 18px; }
	.one-time .online-form-icon { width: 60px; height: 60px; }
	.one-time .online-form-icon svg { width: 34px; height: 34px; }
	.one-time .online-form-card-footer { align-items: stretch; flex-direction: column; margin: 0 18px; }
	.one-time .online-form-start { justify-content: center; width: 100%; }
}

/* Before You Begin */
.one-time .before-begin-card { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); overflow: hidden; }
.one-time .before-begin-header { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border-bottom: 1px solid var(--border); }
.one-time .before-begin-header h2 { margin: 0 0 6px; font-size: 24px; }
.one-time .before-begin-header p { margin: 0; }
.one-time .before-begin-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 10px; background: var(--blue-light); color: var(--blue); }
.one-time .before-begin-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.one-time .before-begin-prep { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.6fr); gap: 28px; padding: 24px; }
.one-time .before-begin-estimate { display: flex; align-items: flex-start; gap: 12px; padding-right: 28px; border-right: 1px solid var(--border); }
.one-time .before-begin-detail-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--blue-light); color: var(--blue); }
.one-time .before-begin-detail-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.one-time .before-begin-prep h3 { margin: 0 0 7px; font-size: 16px; }
.one-time .before-begin-estimate p { margin: 0; font-weight: 700; }
.one-time .before-begin-needs ul { margin: 0; padding-left: 20px; }
.one-time .before-begin-needs li { margin: 0 0 6px; }
.one-time .before-begin-needs li:last-child { margin-bottom: 0; }
.one-time .before-begin-notice { display: flex; align-items: flex-start; gap: 14px; margin: 0 24px 16px; padding: 16px 18px; border: 1px solid #c8e1d1; border-radius: 8px; background: var(--green-light); }
.one-time .before-begin-notice-icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #dcf3e3; }
.one-time .before-begin-notice-icon img { width: 21px; height: 21px; }
.one-time .before-begin-notice h3 { margin: 0 0 4px; font-size: 16px; }
.one-time .before-begin-notice p { margin: 0; }
.one-time .before-begin-security { display: flex; align-items: flex-start; gap: 14px; margin: 0 24px 20px; padding: 16px 18px; border: 1px solid #c8e1d1; border-radius: 8px; background: var(--green-light); }
.one-time .before-begin-security-icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #dcf3e3; }
.one-time .before-begin-security-icon img { width: 21px; height: 21px; }
.one-time .before-begin-security p { margin: 0; }
.one-time .before-begin-security strong { display: block; margin-bottom: 4px; }
.one-time .before-begin-notice { display: flex; align-items: flex-start; gap: 14px; margin: 0 24px 16px; padding: 16px 18px; border: 1px solid #cfe0f5; border-radius: 8px; background: var(--blue-light); }
.one-time .before-begin-actions { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px; border-top: 1px solid var(--border); background: #fbfcfe; }

@media (max-width: 680px) {
	.one-time .before-begin-prep { grid-template-columns: 1fr; gap: 20px; }
	.one-time .before-begin-estimate { padding-right: 0; padding-bottom: 20px; border-right: 0; border-bottom: 1px solid var(--border); }
	.one-time .before-begin-actions { flex-direction: column-reverse; }
	.one-time .before-begin-actions .btn { width: 100%; justify-content: center; }
}