/* Static-site helpers for pages that came from the Gatsby site: things the React runtime did with inline styles.
   Carousels (Swiper): slides per view were measured on the live site at 390px (--spv-sm) and 1440px (--spv-lg). */
.swiper[data-crio-swiper] { --spv: var(--spv-sm); --gap: var(--gap-sm); }
@media (min-width: 768px) { .swiper[data-crio-swiper] { --spv: var(--spv-lg); --gap: var(--gap-lg); } }
.swiper[data-crio-swiper] > .swiper-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; }
.swiper[data-crio-swiper].swiper-free-mode > .swiper-wrapper { scroll-snap-type: none; }
.swiper[data-crio-swiper] > .swiper-wrapper::-webkit-scrollbar { display: none; }
.swiper[data-crio-swiper] > .swiper-wrapper > .swiper-slide { width: calc((100% - (var(--spv) - 1) * max(var(--gap), 0px)) / var(--spv)); margin-right: max(var(--gap), 0px); scroll-snap-align: start; }
/* coverflow carousels (mentors): the live 3D effect overlaps slides (negative gap) and dims all but the active one;
   in the static row each card keeps its own width, side by side, at full strength */
.swiper[data-crio-swiper].swiper-coverflow > .swiper-wrapper > .swiper-slide { width: min(700px, 88%); margin-right: 24px; opacity: 1; }
.swiper[data-crio-swiper] .swiper-pagination:empty { display: none; }
/* the phones' floating "Apply & Start for free" / "Book Your Trial, Now" bar: the page files were recorded with it
   showing; live renders it only after 600 px of scrolling, so it stays hidden (and takes no taps) until crio.js
   floatingCta() adds .crio-float-on; then it comes up from 100 px below, fading in (live's framer-motion) */
.fixed.bottom-5.w-3\/4.md\:hidden:not([data-crio-own] *) { opacity: 0 !important; transform: translateY(100px) !important; visibility: hidden; pointer-events: none; transition: opacity .3s, transform .3s, visibility 0s .3s; }
.fixed.bottom-5.w-3\/4.md\:hidden.crio-float-on { opacity: 1 !important; transform: none !important; visibility: visible; pointer-events: auto; transition: opacity .3s, transform .3s; }
/* MUI accordions opened by crio.js */
.crio-open > .MuiCollapse-root { height: auto !important; visibility: visible !important; overflow: visible; }
/* curriculum accordions: the live app re-styles an open one (a different emotion class) so its region isn't height 0 */
.crio-open > .MuiCollapse-root > .MuiCollapse-wrapper > .MuiCollapse-wrapperInner > .MuiAccordion-region { height: auto !important; }
/* lead form result message */
.crio-form-note { margin-top: 8px; font-family: Manrope, sans-serif; font-size: 14px; font-weight: 600; }
.crio-form-note.ok { color: #07634c; }
.crio-form-note.err { color: #b42318; }
.MuiDialog-root .crio-form-note.ok { color: #2df8c5; }
.MuiDialog-root .crio-form-note.err { color: #ffb4a8; }
/* "Book Your Trial" pop-up (src/partials/trial-dialog.html): its step bar and consent checkbox, as on the live site */
.w-\[50\%\] { width: 50%; }
.css-1hjzrmm { padding: 9px; color: rgba(0, 0, 0, 0.6); }
.css-1hjzrmm.Mui-checked { color: rgb(45, 248, 197); }
.css-1hjzrmm .MuiSvgIcon-root { font-size: 20px; }
/* the pop-ups on phones (crio-forms.js phoneDialog): full screen, as live's mobile view (MUI Dialog fullScreen) */
.crio-dlg-phone .MuiDialog-paper { margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: none; border-radius: 0; }
.crio-dlg-phone .crio-dlg-full { display: block; width: 100vw; height: 100vh; height: 100dvh; overflow-y: auto; padding: 24px 20px; }
.crio-dlg-logo img { width: 80px; height: 30px; object-fit: contain; }
/* MUI checkboxes (the consent box in the lead forms and pop-ups): the hidden native input fills the checkbox, not the
   whole form; without this it covered the pop-up, so its "Next" and close buttons got the checkbox's clicks */
.PrivateSwitchBase-root { position: relative; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
/* a closed MUI accordion (FAQ, curriculum modules, Assured Referrals): its content was captured while open and keeps
   the open state's emotion class, so the closed state is set here; crio.js removes MuiCollapse-hidden on open */
.MuiCollapse-root.MuiCollapse-hidden { height: 0 !important; min-height: 0 !important; overflow: hidden !important; visibility: hidden !important; }
/* Swiper grids (two rows of tool / company logos): crio.js lays the wrapper out as a grid that scrolls sideways */
.swiper[data-crio-swiper].swiper-grid > .swiper-wrapper { flex-wrap: nowrap; }
.swiper[data-crio-swiper].swiper-grid > .swiper-wrapper > .swiper-slide { width: auto; margin: 0 !important; }
/* pagination dots crio.js adds where the live slider had them (/launch/) */
.swiper-pagination.crio-dots { position: static; display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.crio-dots .swiper-pagination-bullet { width: 8px; height: 8px; border-radius: 50%; background: #000; opacity: 0.2; cursor: pointer; display: inline-block; }
.crio-dots .swiper-pagination-bullet-active { opacity: 1; }
/* lead form fields crio-forms.js adds (graduation year | are you working?, side by side as live; stacked on phones) */
.crio-field-row { display: grid; grid-template-columns: 45% auto; column-gap: 12px; }
@media (max-width: 767px) { .crio-field-row { grid-template-columns: 1fr; row-gap: 14px; } }
.crio-field-row > * { min-width: 0; }
/* "You're All Set!" (affiliate pages, after Confirm Your Seat) and the Gen AI page's toast */
.crio-allset { position: fixed; inset: 0; z-index: 1400; display: flex; align-items: center; justify-content: center; }
.crio-allset-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.crio-allset-card { position: relative; width: 950px; max-width: calc(100dvw - 2rem); background: #fff; border-radius: 21px; padding: 64px; text-align: center; font-family: Manrope, sans-serif; }
.crio-allset-card h1 { margin-bottom: 16px; font-size: 36px; font-weight: 800; color: #0a2540; }
.crio-allset-sub { margin-bottom: 32px; font-size: 20px; color: #4a5568; }
.crio-allset-note { margin: 0 auto 32px; max-width: 800px; border: 1px solid #b9cfca; border-radius: 8px; padding: 32px; font-weight: 500; color: #4a5568; font-size: 18px; }
.crio-allset-code { color: #009378; text-transform: capitalize; }
.crio-allset-end { font-size: 20px; color: #4a5568; }
.crio-allset-x { position: absolute; top: 24px; right: 32px; font-size: 32px; line-height: 1; background: none; border: 0; cursor: pointer; color: #000; }
@media (max-width: 767px) { .crio-allset-card { padding: 32px 20px; } .crio-allset-card h1 { font-size: 24px; } .crio-allset-sub, .crio-allset-end, .crio-allset-note { font-size: 16px; } .crio-allset-note { padding: 16px; } }
.crio-toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 1500; background: #fff; color: #000; border-radius: 8px; padding: 12px 18px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); font-family: Rubik, sans-serif; font-size: 14px; }
/* checkbox FAQs (recruit, projects, Crio Winter of Doing): live hides the answer, a <p>, while the box is checked; the
   recorded pages hold the answer in a <div> (a <p> cannot hold blocks), so the same rule for the answer <div> */
[class*="-module--accordion--"] > ul > li > input[type="checkbox"] ~ div ~ div { overflow: hidden; max-height: 4000px; transition: all 0.25s ease-in-out; }
[class*="-module--accordion--"] > ul > li > input[type="checkbox"]:checked ~ div ~ div { margin-top: 0; max-height: 0; opacity: 0; }

/* MUI's helper text under a field (the open form's field errors, public/js/crio-fields.js; live's emotion class) */
.css-v7esy { color: rgba(0, 0, 0, 0.6); font-family: Roboto, Helvetica, Arial, sans-serif; font-weight: 400; font-size: 0.75rem; line-height: 1.66; letter-spacing: 0.03333em; text-align: left; margin: 3px 14px 0px; }
/* the page's own lead form (live's open form): its "Phone" label is grey like the other labels (#7A8B87), red while
   the number is wrong (live sets --phone-input-color per form; one shared value left it green here) */
.react-tel-input.lead-form.open-form .special-label { color: #7a8b87 !important; }
.react-tel-input.lead-form.open-form.crio-tel-error .special-label { color: #f3736a !important; }
/* /recruit/'s hire form: the same grey "Phone" label (live sets --phone-input-color to #7A8B87 on that page too) */
.react-tel-input.hire-from-crio-form .special-label { color: #7a8b87 !important; }
/* an H1 drawn as a section heading (live: Manrope 32px, 28px on phones): the SkillQ pages' "How Crio SkillQ Stands
   Apart", which live renders inside its section's empty <h2> (an <h1> can't sit in an <h2> in HTML) */
.crio-h-section { font-size: 2rem; }
@media (max-width: 767px) { .crio-h-section { font-size: 1.75rem; } }
/* /crio-winter-of-doing/: a closed FAQ answer lets its content box's 20px top margin through, as live's <p> does
   (rows ~64px apart, not 44px); the schedule stages' details in live's light grey with 1.8rem lines (live's
   "#content > p" rule; the recorded <p> is a <div>, as it holds a list) */
.CrioWinterOfDoing-module--accordion--34c09 > ul > li > input[type="checkbox"]:checked ~ div ~ div { overflow: visible; }
#CrioWinterOfDoing-module--content--f2737 > div { color: #bdcad7; line-height: 1.8rem; }
/* "What are tech externships?": live's React sets this block's margin-bottom to -150px only from 768px wide (0 below,
   measured 24 Nov), so on phones the wave and a clear gap come before "Startup Externships" (ours overlapped it) */
@media (max-width: 767px) {
  .CrioWinterOfDoing-module--dark--285e9 > .container[style*="margin-bottom: -150px"] { margin-bottom: 0 !important; }
}
/* /hall-of-fame/ phone category tabs: live's Swiper slidesPerView "auto", 5px apart */
.swiper[data-crio-swiper].crio-hof-tabs > .swiper-wrapper > .swiper-slide { width: auto; margin-right: 5px; }
/* the 2-column FAQs (/fellowship-program-system-design/): live (FAQSection) shows one full-width list on phones */
@media (max-width: 767px) { .crio-faq-2col { flex-direction: column; } }
/* a looping carousel drawn as a ring (crio.js coverflow: /about-us/, /recruit/, the program pages' mentor sliders, the
   /testimonials/ "Developers agree…" row on desktop): the row slides under a fixed middle, moved by --crio-tx */
.swiper[data-crio-swiper].crio-ring { overflow: hidden; }
.swiper[data-crio-swiper].crio-ring > .swiper-wrapper { overflow: visible; scroll-snap-type: none; transform: translate3d(var(--crio-tx, 0px), 0, 0) !important; transition: transform 0.3s ease; }
/* live's coverflow look there: 700px cards overlapping by 100px, the side ones a little smaller and faded; one card on
   phones */
.swiper[data-crio-swiper].crio-cover > .swiper-wrapper > .swiper-slide { flex-shrink: 0; width: min(700px, 80%); margin-right: -100px; opacity: 0.4; transform: scale(0.966); transition: opacity 0.3s, transform 0.3s; }
.swiper[data-crio-swiper].crio-cover > .swiper-wrapper > .swiper-slide.swiper-slide-active { opacity: 1; transform: none; z-index: 1; }
/* live's Swiper pushes the side cards back under a 1200px perspective centred on the row, which also draws them about
   21px nearer the middle (desktop: a side card's left edge at -197px, not -218px, with the active card at 370px) */
.swiper[data-crio-swiper].crio-cover > .swiper-wrapper > .swiper-slide.crio-cover-prev { transform: translateX(21px) scale(0.966); }
.swiper[data-crio-swiper].crio-cover > .swiper-wrapper > .swiper-slide.crio-cover-next { transform: translateX(-21px) scale(0.966); }
@media (max-width: 767px) {
  .swiper[data-crio-swiper].crio-cover > .swiper-wrapper > .swiper-slide { width: 100%; margin-right: 0; }
  .swiper[data-crio-swiper].crio-cover > .swiper-wrapper > .swiper-slide.crio-cover-prev { transform: translateX(4%) scale(0.96); }
  .swiper[data-crio-swiper].crio-cover > .swiper-wrapper > .swiper-slide.crio-cover-next { transform: translateX(-4%) scale(0.96); }
}
