/* Surveys (Module 4) — public Surveys page. Light, airy look (not the Careers hero): pastel hero, accent cards, tile answers. */
body:has(.svp) .main_menu_hdr { background: #1b1530; box-shadow: 0 2px 12px rgba(0, 0, 0, .22); }
.svp, .svp-hero { font-family: Figtree, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: #1b1530; --ink: #1b1530; --muted: #6b6785; --brand: #643271; --brand2: #8a4a9c; --teal: #0e9f9a; --amber: #e8912d; --rose: #e5484d; --green: #1f9d57; }
.svp *, .svp-hero * { font-family: inherit; }

/* hero */
.svp-hero { position: relative; overflow: hidden; padding: 150px 0 64px; background: radial-gradient(900px 380px at 12% 0%, #efe3fa 0%, transparent 60%), radial-gradient(700px 360px at 95% 20%, #d9f4f1 0%, transparent 62%), linear-gradient(180deg, #faf7ff, #f6f4fb); }
.svp-hero::before, .svp-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.svp-hero::before { width: 200px; height: 200px; right: -50px; top: 70px; background: linear-gradient(135deg, #f3c985, #f0a8b8); }
.svp-hero::after { width: 120px; height: 120px; left: -30px; bottom: 40px; background: linear-gradient(135deg, #b9a3e8, #8fd8d2); }
.svp-hero .container { position: relative; z-index: 1; }
.svp-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 99px; padding: 6px 14px 6px 8px; font-weight: 700; font-size: 13px; color: var(--brand); box-shadow: 0 4px 14px rgba(100, 50, 113, .12); margin-bottom: 18px; }
.svp-eyebrow i { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.svp-hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 14px; color: var(--ink); max-width: 760px; }
.svp-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svp-hero p { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0; line-height: 1.5; }
.svp-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.svp-chips span { background: #fff; border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: 14px; box-shadow: 0 4px 14px rgba(40, 20, 70, .08); display: inline-flex; gap: 8px; align-items: center; }
.svp-chips i { color: var(--brand2); }

/* page + cards */
.svp { background: #f6f4fb; padding: 10px 0 80px; min-height: 30vh; }
.svp .container { position: relative; }
.svp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin-top: 8px; }
.svp-card { background: #fff; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(40, 20, 70, .05), 0 14px 34px rgba(40, 20, 70, .08); transition: transform .18s, box-shadow .18s; position: relative; overflow: hidden; }
.svp-card:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(40, 20, 70, .06), 0 22px 46px rgba(40, 20, 70, .15); color: var(--ink); }
.svp-card .blob { width: 54px; height: 54px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; box-shadow: 0 8px 18px rgba(40, 20, 70, .2); }
.svp-card:nth-child(4n+1) .blob { background: linear-gradient(135deg, #8a4a9c, #c07ad2); } .svp-card:nth-child(4n+2) .blob { background: linear-gradient(135deg, #0e9f9a, #4fd1c5); }
.svp-card:nth-child(4n+3) .blob { background: linear-gradient(135deg, #e8912d, #f6c067); } .svp-card:nth-child(4n+4) .blob { background: linear-gradient(135deg, #3b6fe0, #78a0f5); }
.svp-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.25; }
.svp-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svp-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed #e8e2f2; }
.svp-when { font-size: 13px; color: var(--muted); display: inline-flex; gap: 7px; align-items: center; font-weight: 600; }
.svp-go { width: 42px; height: 42px; border-radius: 50%; background: #f1e8f8; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s, transform .15s; }
.svp-card:hover .svp-go { background: var(--brand); color: #fff; transform: translateX(3px); }
.svp-empty { text-align: center; padding: 70px 20px; background: #fff; border-radius: 28px; box-shadow: 0 14px 34px rgba(40, 20, 70, .08); }
.svp-empty .big { width: 96px; height: 96px; border-radius: 32px; margin: 0 auto 18px; background: linear-gradient(135deg, #f1e8f8, #def5f3); color: var(--brand2); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.svp-empty h3 { font-weight: 800; } .svp-empty p { color: var(--muted); margin: 0; }

/* survey page */
.svp-back { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; text-decoration: none; margin-bottom: 18px; }
.svp-back:hover { color: var(--brand2); }
.svp-hero.small { padding: 140px 0 80px; }
.svp-hero.small h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.svp-sheet { background: #fff; border-radius: 30px; padding: 32px; max-width: 820px; margin: -46px auto 0; position: relative; z-index: 2; box-shadow: 0 2px 4px rgba(40, 20, 70, .05), 0 24px 60px rgba(40, 20, 70, .14); }
@media (max-width: 575px) { .svp-sheet { padding: 20px 16px; border-radius: 24px; } .svp-hero { padding-top: 120px; } .svp-hero.small { padding-top: 120px; } }
.svp-note { color: var(--muted); font-size: 14px; margin-top: 6px; }
.svp-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 8px; padding-top: 22px; border-top: 1px dashed #e8e2f2; }
.svp-btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 16px; padding: 14px 30px; font-weight: 800; font-size: 16px; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; box-shadow: 0 10px 24px rgba(100, 50, 113, .32); transition: transform .12s, box-shadow .12s; }
.svp-btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 30px rgba(100, 50, 113, .4); }
.svp-thanks { text-align: center; padding: 36px 10px; }
.svp-thanks .big { width: 104px; height: 104px; border-radius: 50%; background: #e5f6ec; color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 46px; }
.svp-thanks h2 { font-weight: 800; }
.svp-closed { text-align: center; padding: 36px 10px; color: var(--muted); }
.svp-closed .big { width: 96px; height: 96px; border-radius: 32px; background: #fff1de; color: #a45d10; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 40px; }

/* shared answer controls (the same partial renders in the PMA and here) */
.sv-input, .sv-select, .sv-textarea { width: 100%; border: 1.5px solid #e4dcf0; background: #fff; border-radius: 16px; padding: 13px 16px; font-size: 16px; color: var(--ink); transition: border-color .12s, box-shadow .12s; }
.sv-input:focus, .sv-select:focus, .sv-textarea:focus { outline: 0; border-color: var(--brand2); box-shadow: 0 0 0 4px rgba(138, 74, 156, .14); }
.sv-input.is-invalid { border-color: var(--rose); }
.sv-help { color: var(--muted); font-size: 13px; margin-top: 6px; }
.sv-err { color: var(--rose); font-size: 14px; margin-top: 8px; font-weight: 600; }
.sv-req { color: var(--rose); margin-left: 3px; }
.sv-fq { background: #faf8fd; border-radius: 22px; padding: 22px; margin-bottom: 16px; border: 2px solid transparent; }
.sv-fq.has-error { border-color: #f0b5b7; background: #fffafa; }
.sv-fq-title { font-weight: 800; font-size: 18px; display: flex; gap: 12px; margin-bottom: 16px; line-height: 1.35; }
.sv-fq-title label { margin: 0; font-weight: inherit; }
.sv-fq-title .n { width: 32px; height: 32px; border-radius: 11px; background: #efe3f8; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: 0 0 auto; }
.sv-opts { display: grid; gap: 10px; }
.sv-tile { display: flex; align-items: center; gap: 12px; border: 2px solid #ebe6f4; border-radius: 16px; padding: 14px 16px; cursor: pointer; font-weight: 600; font-size: 16px; transition: border-color .12s, background .12s; background: #fff; margin: 0; }
.sv-tile:hover { border-color: #cdb7dd; }
.sv-tile input { position: absolute; opacity: 0; pointer-events: none; }
.sv-tile .mark { background: #fff !important; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #cfc6e0; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; color: transparent; font-size: 12px; transition: all .12s; }
.sv-tile.multi .mark { border-radius: 8px; }
.sv-tile:has(input:checked) { border-color: var(--brand2); background: #f8effc; }
.sv-tile:has(input:checked) .mark { background: var(--brand2) !important; border-color: var(--brand2); color: #fff; }
.sv-tile:has(input:focus-visible) { outline: 3px solid rgba(138, 74, 156, .35); outline-offset: 2px; }
.sv-yn { display: flex; gap: 12px; } .sv-yn .sv-tile { flex: 1; justify-content: center; font-size: 17px; }
.sv-stars { display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.sv-stars input { position: absolute; opacity: 0; width: 0; height: 0; }
.sv-stars label { font-size: 44px; line-height: 1; color: #ddd5ea; cursor: pointer; transition: color .1s, transform .1s; margin: 0; }
.sv-stars label:hover { transform: scale(1.12); }
.sv-stars label:hover, .sv-stars label:hover ~ label, .sv-stars input:checked ~ label { color: #f5a623; }
.sv-stars input:focus-visible + label { outline: 3px solid rgba(138, 74, 156, .35); border-radius: 8px; }
.svp .sv-textarea { min-height: 120px; }
.svp .sv-select { appearance: auto; }

/* shared confirm modal */
.rc-confirm-modal, .rc-confirm-modal * { font-family: Figtree, system-ui, sans-serif; }
.rc-confirm-modal .modal-content { border: 0; border-radius: 24px; box-shadow: 0 24px 60px rgba(30, 10, 60, .28); }
.rc-confirm-modal .modal-header { border: 0; padding: 22px 24px 4px; } .rc-confirm-modal .modal-title { font-weight: 800; font-size: 19px; }
.rc-confirm-modal .modal-body { padding: 6px 24px 8px; color: #6b6785; } .rc-confirm-modal .modal-footer { border: 0; padding: 12px 24px 22px; gap: 8px; }
.rc-confirm-modal .modal-footer .btn { padding: .6rem 1.3rem; border-radius: 13px; font-weight: 700; border: 0; }
.rc-confirm-modal .btn-light { background: #f1eef7; color: #3d2a47; } .rc-confirm-modal .btn-danger { background: #e5484d; color: #fff; }
.rc-confirm-modal .btn-primary { background: linear-gradient(135deg, #643271, #8a4a9c); color: #fff; }
