/* DownloadBidSpecs.aspx redesign. Builds on application-redesign.css (.app-redesign); everything here is scoped to .bidspecs-page.
   Revert: restore _backup/2026-10-29-pre-redesign-bidspecs and delete this file. */
.app-redesign.bidspecs-page { max-width: 900px; }

/* ---------- Hero ---------- */
.bidspecs-page .ar-hero { padding: 38px 40px; }
.bidspecs-page .ar-hero::after {
    content: "\f56d"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; right: 30px; top: 18px; font-size: 130px; line-height: 1;
    color: #fff; opacity: .08; pointer-events: none;
}
.bidspecs-page .ar-hero > * { position: relative; z-index: 1; }

/* ---------- Bid summary ---------- */
.bs-bid {
    display: flex; gap: 18px; align-items: flex-start; margin: 0 0 24px; padding: 20px 24px;
    background: var(--sand); border: 1px solid #dbe5e0; border-left: 5px solid var(--gold); border-radius: 16px;
}
.bs-bid-icon {
    flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    background: #fff; color: var(--green-dark); font-size: 21px; border: 1px solid #dbe5e0;
}
.bs-bid-main { min-width: 0; flex: 1; }
.bs-bid-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.bs-bid-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #566678; }
.bs-bid-number { font-size: 22px; font-weight: 800; color: var(--green-dark); letter-spacing: -.01em; }
.bs-bid-desc { margin: 6px 0 0; line-height: 1.55; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.bs-bid-due { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: #3a4a5c; }
.bs-bid-due i { margin-right: 6px; color: var(--green); }
.bs-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.bs-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bs-badge--open { background: #e3f4ea; color: #1c6b43; }
.bs-badge--closed { background: #fff3d6; color: #6b4b00; }

/* ---------- Form card ---------- */
.bidspecs-page .premium-card > .card-body { padding: 32px 36px; }
.bs-required-note { margin: 0 0 18px; font-size: 13px; color: #566678; text-align: right; }
.bs-req { color: #a61e1e; font-weight: 800; margin-left: 2px; }
.bs-optional { font-weight: 500; color: #566678; margin-left: 4px; font-size: 13px; }
.bs-hint { display: block; margin-top: 6px; font-size: 13px; color: #566678; }
.bidspecs-page .ar-card-head { align-items: flex-start; }
.bidspecs-page .ar-card-head h3 { font-size: 21px; }
.bidspecs-page .form-label { margin-bottom: 6px; }
.bidspecs-page #txtState { text-transform: uppercase; }
.bidspecs-page .form-control:user-invalid { border-color: #c9524a; }
.bidspecs-page .form-control:user-invalid:focus { box-shadow: 0 0 0 4px rgba(201,82,74,.18); }
.bidspecs-page .action-area { margin-top: 30px; }
.bidspecs-page #btnSubmit.is-busy { opacity: .7; pointer-events: none; }
.bidspecs-page .bs-privacy { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 14px 18px; border-radius: 12px; background: #f1f8f4; color: #2c3b4d; font-size: 14px; line-height: 1.55; }
.bidspecs-page .bs-privacy i { color: var(--green); margin-top: 3px; }

/* ---------- Messages ---------- */
.bs-alert {
    display: flex; gap: 14px; align-items: flex-start; margin: 0 0 22px; padding: 16px 20px;
    background: #fff6f5; border: 1px solid #e4b4b0; border-left: 5px solid #c9524a; border-radius: 14px; color: #6b2222;
}
.bs-alert > i { margin-top: 3px; font-size: 18px; }
.bs-alert strong { display: block; margin-bottom: 4px; }
.bs-alert ul { margin: 0; padding-left: 20px; }
.bs-alert:focus { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Success + empty states ---------- */
.bs-center { text-align: center; }
.bidspecs-page .premium-card.bs-center > .card-body { padding: 48px 40px 44px; }
.bs-state-icon {
    width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
    font-size: 40px; background: #e3f4ea; color: #1c6b43; box-shadow: 0 0 0 10px #f1f8f4;
}
.bs-state-icon--warn { background: #fff3d6; color: #6b4b00; box-shadow: 0 0 0 10px #fffaf0; }
.bs-state-title { margin: 0 0 10px; font-size: clamp(26px, 4vw, 34px); font-weight: 800; color: var(--green-dark); letter-spacing: -.01em; }
.bs-state-title:focus { outline: none; }
.bs-state-lead { max-width: 56ch; margin: 0 auto; font-size: 17px; line-height: 1.65; color: #2c3b4d; }
.bs-state-lead strong { color: var(--green-dark); overflow-wrap: anywhere; }

.bs-download { max-width: 560px; margin: 30px auto 6px; text-align: left; }
.bs-download a.pdf, .bs-download a.pptx, .bs-download a.xlsx, .bs-download a.docx, .bs-download a.doc-file {
    padding: 22px 52px 22px 78px !important; border: 2px solid var(--green-light) !important; border-radius: 16px !important;
    background: #fff !important; font-size: 18px !important; box-shadow: 0 10px 28px rgba(17,59,40,.10) !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease !important;
}
.bs-download a.pdf::before, .bs-download a.pptx::before, .bs-download a.xlsx::before, .bs-download a.docx::before, .bs-download a.doc-file::before {
    left: 20px !important; width: 44px !important; font-size: 36px !important;
}
.bs-download a.pdf:hover, .bs-download a.pptx:hover, .bs-download a.xlsx:hover, .bs-download a.docx:hover, .bs-download a.doc-file:hover,
.bs-download a.pdf:focus-visible, .bs-download a.pptx:focus-visible, .bs-download a.xlsx:focus-visible, .bs-download a.docx:focus-visible, .bs-download a.doc-file:focus-visible {
    border-color: var(--green) !important; transform: translateY(-3px) !important; box-shadow: 0 16px 36px rgba(17,59,40,.16) !important;
}
.bs-download a small { font-size: 14px !important; margin-top: 4px !important; }
.bs-saved-note { max-width: 56ch; margin: 18px auto 0; font-size: 14px; color: #566678; }
.bidspecs-page .bs-center a.largeButton { margin-top: 34px !important; }

@media (prefers-reduced-motion: no-preference) {
    .bs-state-icon { animation: bs-pop .5s cubic-bezier(.2,1.3,.4,1) both; }
    @keyframes bs-pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
}
@media (max-width: 767px) {
    .bidspecs-page .ar-hero { padding: 28px 22px; }
    .bidspecs-page .ar-hero::after { font-size: 90px; right: 14px; top: 14px; }
    .bidspecs-page .premium-card > .card-body { padding: 24px 18px; }
    .bidspecs-page .premium-card.bs-center > .card-body { padding: 36px 20px 32px; }
    .bs-bid { padding: 16px; gap: 14px; }
    .bs-required-note { text-align: left; }
    .bidspecs-page .action-area .largeButton { width: 100%; }
    .bs-download a.pdf, .bs-download a.pptx, .bs-download a.xlsx, .bs-download a.docx, .bs-download a.doc-file { padding: 18px 40px 18px 64px !important; font-size: 16px !important; }
    .bs-download a.pdf::before, .bs-download a.pptx::before, .bs-download a.xlsx::before, .bs-download a.docx::before, .bs-download a.doc-file::before { left: 14px !important; font-size: 30px !important; width: 38px !important; }
}
