/* /gift-card-pilot/ : extends /holiday-gift-cards/gift-cards.css (all .gc-* tokens live there). */

/* Pilot offer */
.gc-pilot { margin: 0 0 1.25rem; padding: 1.15rem 1.2rem 1.2rem; border-radius: var(--gc-radius); background: var(--gc-navy); color: #fff; box-shadow: 0 14px 34px rgba(9, 64, 132, .22); }
.gc-pilot-tag { margin: 0; font-family: var(--gc-display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gc-green); }
.gc-pilot-price { margin: .2rem 0 .6rem; font-family: var(--gc-display); font-weight: 700; line-height: 1; }
.gc-pilot-price s { font-size: 1.35rem; color: #bfd3ec; margin-right: .35rem; }
.gc-pilot-price strong { font-size: 2.6rem; color: #fff; }
.gc-pilot-list { margin: 0; padding-left: 1.15rem; list-style: disc; font-size: .98rem; line-height: 1.45; color: #e6eef8; }
.gc-pilot-list li { display: list-item; margin: .3rem 0; }
.gc-pilot-list li::marker { color: var(--gc-green); }
.gc-pilot-list strong { color: #fff; }
.gc-pilot-addons { margin: .75rem 0 0; font-size: .9rem; line-height: 1.45; color: #bfd3ec; }
.gc-pilot-deadline { margin: .75rem 0 0; font-weight: 600; font-size: .96rem; color: var(--gc-green); }
.gc-pilot-fine { margin: .35rem 0 0; font-size: .88rem; color: #bfd3ec; }

/* Questions built from GC.FORM */
.gc-page .gc-q { margin: 0 0 .45rem; font-weight: 600; font-size: .95rem; line-height: 1.35; color: var(--gc-ink); }
.gc-page .gc-req { color: var(--gc-red); }
.gc-page .gc-field input[type="file"] { padding: .35rem 0; }
.gc-page .gc-field > label.gp-pull { margin-top: .4rem; font-weight: 400; font-size: .95rem; }
.gc-page .gc-field .gc-choices { margin-bottom: 0; }

/* Date matches the other inputs (browsers draw a tiny native control otherwise) */
.gc-page input[type="date"] {
  width: 100%; min-height: 50px; margin: 0; padding: .7rem .85rem;
  font-family: var(--gc-body); font-size: 16px; line-height: 1.4; color: var(--gc-ink);
  background: #fff; border: 1.5px solid var(--gc-line); border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease; -webkit-appearance: none; appearance: none;
}
.gc-page input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }

/* Address row: town, state and ZIP share a line on wider screens */
.gp-fields { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.gp-fields > .gc-field { flex: 1 1 100%; }
@media (min-width: 640px) {
  .gp-fields > .gp-half { flex: 2 1 0; }
  .gp-fields > .gp-quarter { flex: 1 1 0; }
}

/* File pickers: a real button instead of the browser's grey default */
.gc-page input[type="file"] { width: 100%; font-family: var(--gc-body); font-size: .95rem; color: var(--gc-muted); }
.gc-page input[type="file"]::file-selector-button {
  margin-right: .8rem; min-height: 44px; padding: .55rem 1.1rem; border: 1.5px solid var(--gc-navy); border-radius: 999px;
  background: #fff; color: var(--gc-navy); font-family: var(--gc-display); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.gc-page input[type="file"]::file-selector-button:hover { background: var(--gc-navy); color: #fff; }

/* File pickers: the native box is hidden; files picked so far are listed with previews */
.gc-page input.gp-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.gc-page .gc-field > label.gp-file-add { align-self: flex-start; margin-top: .35rem; cursor: pointer; font-family: var(--gc-display); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.gc-page input.gp-file-input:focus-visible + .gp-files + label.gp-file-add { outline: 3px solid rgba(9, 64, 132, .4); outline-offset: 3px; }
.gp-files { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .5rem; }
.gp-files:empty { display: none; }
.gp-files li { display: flex; align-items: center; gap: .75rem; padding: .5rem .6rem; border: 1.5px solid var(--gc-teal); border-radius: 10px; background: #f1faf4; }
.gp-file-thumb { flex: none; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #fff; border: 1px solid var(--gc-line); display: grid; place-items: center; font-family: var(--gc-display); font-weight: 600; font-size: .7rem; color: var(--gc-navy); }
.gp-file-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.gp-file-name { font-weight: 600; font-size: .95rem; color: var(--gc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-file-ok { font-size: .85rem; color: var(--gc-teal); }
.gp-file-ok::before { content: "\2713\00a0"; }
.gp-file-ok.is-bad { color: var(--gc-red); }
.gp-file-ok.is-bad::before { content: ""; }
.gc-page .gp-file-rm { flex: none; min-height: 40px; padding: .4rem .8rem; border: 0; background: none; color: var(--gc-muted); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; }
.gc-page .gp-file-rm:hover { color: var(--gc-red); }
