/* Desi Shaadi & Co. — submit your wedding (submit-wedding.html): form state + "submission received" state, side column shared by both */
[data-ic] { display: inline-flex; }
.sw-page { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
.sw-crumbs { font-size: 15px; color: var(--ink); padding: 26px 0 12px; }
.sw-crumbs span { color: var(--mut); }
.sw-crumbs .cur { color: var(--rose); }
.sw-head h1 { font-size: 62px; line-height: 1; }
.sw-head .sub { font-family: var(--serif); font-size: 23px; line-height: 1.35; color: var(--ink-2); margin-top: 10px; }
.sw-head .sub br + * { color: var(--ink-2); }
.sw-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px 22px; margin-top: 26px; }

/* sections */
.sw-sec { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.sw-sec.last { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.sw-sec h2 { font-size: 32px; display: flex; align-items: baseline; gap: 18px; margin-bottom: 16px; }
.sw-sec h2 .n { color: var(--rose); font-size: 28px; }
.sw-sec .frow { gap: 14px 30px; }
.sw-sec .frow + .frow, .sw-sec .field + .frow, .sw-sec .frow + .field { margin-top: 16px; }
.sw-sec .field label { font-size: 15px; font-weight: 400; }
.sw-sec .field label i { margin-left: 2px; }
.sw-sec .field label small { font-size: 15px; color: var(--ink-2); }
.sw-sec .in, .sw-sec .sel { height: 42px; font-size: 15px; }
.sw-sec .ta { min-height: 92px; }
.sw-sec .help { font-size: 13.5px; margin-top: 2px; }
.sw-sec .field.err .in, .sw-sec .field.err .sel, .sw-ck.err i { border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-t); }
.sw-sec .sel:invalid, .sw-sec .sel.empty { color: var(--mut-2); }
.sw-sec .sel option { color: var(--ink); }

/* date: real input, drawn like the mockup (placeholder + calendar at the right) */
.sw-date { position: relative; display: block; }
.sw-date .in { padding-right: 44px; }
.sw-date .in::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.sw-date .in::-webkit-datetime-edit { color: var(--ink); }
.sw-date.empty .in::-webkit-datetime-edit { opacity: 0; }
.sw-date .sw-dph { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--mut-2); font-size: 15px; pointer-events: none; display: none; }
.sw-date.empty .sw-dph { display: block; }
.sw-date .ic { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-2); pointer-events: none; }

/* vendor credits */
.sw-credits:not(:empty) { margin-top: 16px; display: grid; gap: 12px; }
.sw-credit { display: grid; grid-template-columns: 1fr 1fr 42px; gap: 12px; align-items: end; }
.sw-credit .x { height: 42px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; }
.sw-add { display: inline-flex; align-items: center; gap: 12px; border: 0; background: none; color: var(--rose); font-family: var(--serif); font-size: 20px; padding: 0; margin-top: 20px; }
.sw-add .ic { width: 24px; height: 24px; }
.sw-add-help { margin: 2px 0 0 36px; font-size: 13.5px; color: var(--ink-2); }
.sw-ck { font-size: 15px; margin-top: 16px; gap: 14px; align-items: flex-start; }
.sw-ck + .sw-ck { margin-top: 10px; }
.sw-ck i { width: 22px; height: 22px; margin-top: 1px; }
.sw-ck i .ic { width: 13px; height: 13px; }
.sw-guide { display: inline-flex; align-items: center; gap: 8px; color: var(--rose); text-decoration: underline; text-underline-offset: 4px; font-size: 15px; margin-top: 12px; }
.sw-guide .ic { width: 16px; height: 16px; }
.sw-acts { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.sw-acts .btn { height: 48px; padding: 0 40px; font-size: 17px; }
.sw-acts .btn.p { background: var(--rose-d); border-color: var(--rose-d); }
.sw-acts .btn.p:hover { background: var(--rose); border-color: var(--rose); }

/* side column */
.sw-side { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 22px; margin-top: 26px; }
.sw-side .ph { aspect-ratio: 330 / 401; border-radius: 4px; }
.sw-side h2 { font-size: 34px; margin-top: 26px; }
.sw-side h2.big { font-size: 40px; line-height: 1.05; }
.sw-side .sub { font-size: 17.5px; margin-top: 6px; }
.sw-inc { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; }
.sw-inc li { display: flex; align-items: flex-start; gap: 20px; }
.sw-inc .ring { width: 56px; height: 56px; border-radius: 50%; background: var(--blush-2); color: var(--rose); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sw-inc .ring .ic { width: 26px; height: 26px; }
.sw-inc b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; margin-top: 2px; }
.sw-inc p { font-size: 15.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }
.sw-side hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.sw-next { font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--ink-2); margin-top: 10px; }
.sw-mail { display: flex; align-items: flex-start; gap: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.sw-mail .ic { width: 30px; height: 30px; color: var(--rose); flex: none; }
.sw-thanks { font-family: var(--serif); font-size: 23px; line-height: 1.4; color: var(--ink-2); margin-top: 20px; }
.sw-side h3 { font-size: 24px; }
.sw-fix { font-size: 16px; color: var(--ink-2); margin-top: 6px; }
.sw-contact { display: inline-flex; align-items: center; gap: 8px; color: var(--rose); font-family: var(--serif); font-size: 22px; text-decoration: underline; text-underline-offset: 5px; margin-top: 18px; }
.sw-contact .ic { width: 18px; height: 18px; }

/* success state */
.sw-done { padding: 40px 40px 36px; text-align: center; }
.sw-done .ring { width: 128px; height: 128px; border-radius: 50%; background: var(--blush-2); color: var(--rose); display: inline-flex; align-items: center; justify-content: center; }
.sw-done .ring .ic { width: 54px; height: 54px; stroke-width: 1.2; }
.sw-done h1 { font-size: 58px; margin-top: 22px; line-height: 1.05; }
.sw-done .sub { font-family: var(--serif); font-size: 24px; margin-top: 10px; }
.sw-pill { display: inline-flex; align-items: center; height: 54px; padding: 0 40px; border-radius: 999px; background: var(--blush); color: var(--rose); font-family: var(--serif); font-size: 21px; margin-top: 22px; }
.sw-sample { display: flex; align-items: center; gap: 12px; margin-top: 34px; text-align: left; color: var(--rose); font-family: var(--serif); font-size: 19px; }
.sw-sample span:last-child { text-decoration: underline; text-underline-offset: 5px; }
.sw-sample .ic { width: 26px; height: 26px; }
.sw-recap { text-align: left; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 24px 26px 26px; margin-top: 16px; }
.sw-recap h3 { font-size: 40px; }
.sw-recap dl { margin: 18px 0 0; display: grid; gap: 14px; }
.sw-recap dl > div { display: flex; align-items: flex-start; gap: 18px; }
.sw-recap dl .ic { width: 28px; height: 28px; color: var(--rose); flex: none; margin-top: 2px; }
.sw-recap dt { font-size: 17px; color: var(--ink); }
.sw-recap dd { margin: 2px 0 0; font-size: 17px; color: var(--ink-2); line-height: 1.4; max-width: 300px; }
.sw-done hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0 28px; }
.sw-done h2 { font-size: 46px; text-align: left; }
.sw-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 22px; text-align: left; }
.sw-steps li { display: flex; align-items: center; gap: 26px; }
.sw-steps b { width: 60px; height: 60px; border-radius: 50%; background: var(--blush-2); color: var(--rose); font-family: var(--serif); font-weight: 400; font-size: 26px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sw-steps h3 { font-size: 24px; }
.sw-steps p { font-size: 16px; color: var(--ink-2); margin-top: 2px; }
.sw-note { margin-top: 0; font-size: 16px; padding: 18px 22px; }
.sw-note .ic { color: var(--rose); }
.sw-done .sw-acts { margin-top: 24px; }

@media (max-width: 1080px) {
  .sw-page { grid-template-columns: 1fr; }
  .sw-side { margin-top: 20px; }
  .sw-head h1 { font-size: 48px; }
  .sw-done h1 { font-size: 44px; }
}
@media (max-width: 820px) {
  .sw-crumbs { padding-top: 16px; }
  .sw-head h1 { font-size: 38px; }
  .sw-head .sub { font-size: 19px; }
  .sw-card { padding: 18px 16px; margin-top: 18px; }
  .sw-sec h2 { font-size: 26px; }
  .sw-sec h2 .n { font-size: 22px; }
  .sw-credit { grid-template-columns: 1fr 42px; }
  .sw-credit .field:nth-child(2) { grid-column: 1 / -1; }
  .sw-acts { gap: 10px; }
  .sw-acts .btn { width: 100%; padding: 0 16px; }
  .sw-side { padding: 14px 14px 18px; }
  .sw-side h2 { font-size: 28px; }
  .sw-side h2.big { font-size: 32px; }
  .sw-done { padding: 28px 18px 24px; }
  .sw-done .ring { width: 96px; height: 96px; }
  .sw-done .ring .ic { width: 40px; height: 40px; }
  .sw-done h1 { font-size: 36px; }
  .sw-done .sub { font-size: 19px; }
  .sw-done h2 { font-size: 34px; }
  .sw-recap { padding: 18px; }
  .sw-recap h3 { font-size: 32px; }
  .sw-steps li { align-items: flex-start; gap: 14px; }
  .sw-steps b { width: 48px; height: 48px; font-size: 20px; }
}
