/* Course styles and tokens belong to the course content, not the shared layout. */
.fc-page {
    --tarcc-blue-dark: #0b1f54;
    --tarcc-blue-primary: #0642d8;
    --tarcc-blue-soft: #eef2ff;
    --tarcc-red: #b41423;
    --tarcc-red-dark: #94131e;
    --tarcc-red-gradient: linear-gradient(165deg, #d32635, #ae1221);
    --fc-surface: #fff;
    --fc-border: #dfe7f5;
    --fc-text-main: #081943;
    --fc-text-muted: #596d96;
    --fc-radius-sm: 10px;
    --fc-radius-md: 14px;
    --fc-radius-lg: 20px;
    --fc-radius-xl: 22px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.fc-page { position: relative; min-height: calc(100vh - 122px); padding: 20px 0 48px; overflow: clip; background: radial-gradient(ellipse at 50% 30%, #fff, #f3f7fd 80%); color: var(--fc-text-main); font-weight: 400; }
.fc-page *, .fc-page *::before, .fc-page *::after { box-sizing: border-box; }
.fc-page :is(h1,h2,h3,h4,p,button,input,select,textarea) { font-family: inherit; }
.fc-page :is(p,button) { line-height: 1.5; }
.fc-container { position: relative; z-index: 1; width: min(1250px, calc(100% - 40px)); margin: auto; }
.fc-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; font-size: 12px; line-height: 18px; }
.fc-breadcrumb a { color: var(--fc-text-muted); text-decoration: none; }
.fc-breadcrumb-home { display: inline-grid; width: 18px; height: 18px; place-items: center; position: relative; color: #4e6fa9 !important; }
.fc-breadcrumb-home::before { content: ''; position: absolute; inset: -9px; border-radius: 8px; }
.fc-breadcrumb-home:hover::before { background: #eaf1ff; }
.fc-breadcrumb-home svg { width: 17px; height: 17px; position: relative; }
.fc-breadcrumb-sep { color: #7384a7; }
.fc-breadcrumb-current { color: #003fd2; font-weight: 800; overflow-wrap: anywhere; }
.fc-layout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 22px; align-items: start; }
.fc-layout-grid > *, .fc-hero-copy, .fc-card-header > div, .fc-teacher-profile > div { min-width: 0; }
.fc-left-col, .fc-right-col { display: flex; flex-direction: column; gap: 18px; }
.fc-right-col { position: sticky; top: 20px; }
.fc-box { background: rgba(255,255,255,.97); border: 1px solid var(--fc-border); border-radius: 20px; box-shadow: 0 8px 24px rgba(31,57,102,.065); overflow: hidden; }

/* The dynamic course banner fills the hero; a soft shade keeps its labels readable. */
.fc-hero { border-radius: 20px; overflow: hidden; background: #142d71; box-shadow: 0 10px 28px rgba(25,48,101,.14); }
.fc-hero-content { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 32px 38px; min-height: 350px; background: linear-gradient(155deg, #203f96, #0b1e4b); color: white; }
.fc-hero-content::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(5,15,43,.76), transparent 47%), linear-gradient(180deg, rgba(5,19,54,.28), transparent 30%); }
.fc-hero-image-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fc-hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.fc-hero-top { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 58px; }
.fc-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 2px; }
.fc-pill-type, .fc-pill-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 30px; font-size: 12px; line-height: 18px; font-weight: 700; }
.fc-pill-type { background: #f9fbff; color: #0734b1; box-shadow: inset 0 0 0 2px #e2eaff; }
.fc-pill-status { background: rgba(9,28,73,.58); border: 1px solid rgba(255,255,255,.19); color: #fff; }
.fc-pill-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2bdd91; }
.fc-price-card { position: relative; flex-shrink: 0; max-width: 100%; margin: -10px -14px 0 0; padding: 10px 20px 12px; border-radius: 15px; background: #fff; text-align: center; box-shadow: 0 7px 24px rgba(5,18,55,.28); }
.fc-price-kicker { font-size: 10px; letter-spacing: .04em; font-weight: 800; line-height: 15px; text-transform: uppercase; color: #6679a3; }
.fc-price-num { display: flex; align-items: center; justify-content: center; gap: 7px; color: #003fdc; font-size: 29px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.fc-price-tag-icon { width: 21px; height: 21px; color: #ffd524; flex: 0 0 auto; }
.fc-hero-body { position: relative; z-index: 2; margin-top: auto; }
.fc-hero-copy { max-width: min(76%, 640px); }
.fc-hero-title { color: white; margin: 0; font-size: clamp(31px, 3vw, 46px); font-weight: 800; letter-spacing: -.045em; line-height: 1.12; overflow-wrap: anywhere; text-shadow: 0 3px 14px rgba(2,12,33,.6); }
.fc-hero--long-title .fc-hero-title { font-size: clamp(29px, 2.7vw, 41px); }
.fc-hero-subtitle { margin: 7px 0 0; color: #f3f6ff; font-size: 13px; line-height: 1.5; text-shadow: 0 2px 8px rgba(2,12,33,.65); }
.fc-hero-summary { position: relative; z-index: 3; display: flex; align-items: stretch; margin-top: -14px; padding: 21px 14px; border-radius: 18px 18px 0 0; background: #fff; }
.fc-hero-summary-item { display: flex; align-items: center; flex: 1 1 0; min-width: 0; gap: 11px; padding: 0 16px; color: #0642d8; }
.fc-hero-summary-item + .fc-hero-summary-item { border-left: 1px solid #d5e0f5; }
.fc-hero-summary-item > svg { width: 27px; height: 27px; flex: 0 0 auto; }
.fc-summary-icon { width: 27px; height: 27px; flex: 0 0 auto; color: #0642d8; line-height: 1; }
.fc-hero-summary-item > div { min-width: 0; }
.fc-hero-summary-label { display: block; color: #344b79; font-size: 11px; line-height: 1.35; }
.fc-hero-summary-item strong { display: block; color: #0a1b43; font-size: 12px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }

/* Compact cards, with circular icons and consistent text alignment. */
.fc-section-card { padding: 20px; }
.fc-card-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 14px; }
.fc-header-icon-box { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid rgba(18,80,211,.08); border-radius: 50%; background: linear-gradient(145deg,#f1f5ff,#e5edff); color: #1455d9; box-shadow: inset 0 1px 0 #fff, 0 7px 16px rgba(31,78,170,.08); }
.fc-header-icon-box svg { width: 31px; height: 31px; stroke-width: 2.3; }
.fc-header-icon-box .la { font-size: 28px; }
.fc-kicker { margin: 0 0 5px; color: #b2111e; text-transform: uppercase; font-size: 11px; font-weight: 800; line-height: 1.5; letter-spacing: .02em; }
.fc-section-title { margin: 0 0 4px; font-size: 21px; font-weight: 800; line-height: 1.3; letter-spacing: -.035em; color: #091a43; }
.fc-section-desc { margin: 0; font-size: 12px; color: #60739c; line-height: 1.55; font-weight: 400; }
.fc-modules-list { display: flex; flex-direction: column; gap: 10px; margin-left: 82px; }
.fc-module-item { border: 1px solid #e0e7f3; border-radius: 12px; overflow: hidden; background: #fff; }
.fc-module-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; padding: 14px; cursor: pointer; }
.fc-module-summary::-webkit-details-marker { display: none; }
.fc-module-summary:hover { background: #f5f8ff; }
.fc-module-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fc-module-badge { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: #edf2ff; color: #1645b6; font-size: 12px; font-weight: 800; }
.fc-module-title { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.fc-module-chevron { width: 18px; height: 18px; color: #61739d; flex-shrink: 0; transition: transform .2s; }
.fc-module-item[open] .fc-module-chevron { transform: rotate(180deg); }
.fc-module-content { padding: 0 16px 16px 56px; color: #596d96; font-size: 13px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.fc-empty-state { display: flex; align-items: center; gap: 12px; border: 1px dashed #d9e2f4; border-radius: 12px; padding: 14px 16px; font-size: 12px; color: #64769a; background: #fcfdff; }
.fc-empty-state svg { width: 22px; height: 22px; flex-shrink: 0; }
.fc-body-text { margin: 0 0 0 82px; color: #53678f; font-size: 14px; font-weight: 400; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.fc-card-header .fc-body-text { margin: 4px 0 0; font-size: 13px; line-height: 1.45; }
.fc-sidebar-card { padding: 18px; }
.fc-sidebar-card .fc-card-header { gap: 12px; margin-bottom: 17px; }
.fc-sidebar-card .fc-header-icon-box { width: 54px; height: 54px; background: linear-gradient(145deg,#eaf3ff,#dfeaff); color: #0754dc; }
.fc-sidebar-card .fc-header-icon-box svg { width: 25px; height: 25px; }
.fc-sidebar-card .fc-section-title { font-size: 20px; }
.fc-sidebar-card .fc-section-desc { font-size: 12px; }
.fc-detail-rows { margin-bottom: 16px; }
.fc-detail-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 8px; border-bottom: 1px solid #e4ebf7; font-size: 12px; line-height: 1.5; }
.fc-detail-key { display: flex; align-items: center; gap: 11px; flex: 0 0 43%; color: #29447e; font-weight: 500; }
.fc-detail-key svg { width: 19px; height: 19px; flex-shrink: 0; color: #0341d9; }
.fc-detail-val { min-width: 0; text-align: right; color: #0b1c4b; font-weight: 800; overflow-wrap: anywhere; }
.fc-btn-cta { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 51px; padding: 12px 18px; border: 0; border-radius: 13px; background: var(--tarcc-red-gradient); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 5px 14px rgba(173,18,31,.18); transition: filter .2s; }
.fc-btn-cta:hover { filter: brightness(1.08); }
.fc-btn-cta svg { width: 19px; height: 19px; }
.fc-enrollment-guide { margin: 10px 0 0; padding: 14px; border-radius: 12px; background: #f3f6fc; list-style: none; }
.fc-enrollment-guide li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; color: #526993; font-size: 12px; line-height: 1.5; }
.fc-enrollment-guide li:last-child { margin-bottom: 0; }
.fc-enrollment-guide svg { width: 20px; height: 20px; flex-shrink: 0; padding: 4px; border-radius: 50%; background: #ffdc25; color: #10346c; }
.fc-teacher-box { padding: 18px; }
.fc-teacher-profile { display: flex; align-items: center; gap: 14px; }
.fc-teacher-avatar-wrap { width: 74px; height: 74px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: #fce4e5; }
.fc-teacher-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.fc-teacher-avatar-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: #173977; }
.fc-teacher-avatar-fallback svg { width: 34px; height: 34px; }
.fc-teacher-name { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -.03em; overflow-wrap: anywhere; }
.fc-teacher-blurb { margin: 12px 0 0; color: #566b94; font-size: 13px; line-height: 1.6; }
.fc-page :is(button,summary,a,input,select,textarea):focus-visible { outline: 3px solid #e9b817; outline-offset: 3px; }

/* Decorative assets carry no course data. Waves are anchored to the page edge. */
.fc-corner-art { position: absolute; bottom: 0; left: 0; width: 100%; height: 300px; z-index: 0; pointer-events: none; }
.fc-side-art { position: absolute; top: 110px; bottom: 0; width: max(0px, calc((100% - 1250px) / 2)); pointer-events: none; display: none; }
.fc-side-art--left { left: 0; top: 0; }
.fc-side-art--right { right: 0; }
.fc-side-photo { display: block; width: 100%; height: 460px; object-fit: cover; opacity: .17; mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 62%, transparent 100%), linear-gradient(90deg, black 0%, black 50%, transparent 100%); mask-composite: intersect; }
.fc-side-map { position: absolute; width: 320px; height: 390px; right: -165px; top: -70px; object-fit: contain; opacity: .045; }
.fc-side-motto { position: absolute; top: 290px; left: 14px; right: 14px; text-align: center; font-family: 'Allura', cursive !important; font-size: 27px; font-weight: 400; line-height: 1.05 !important; color: #849fd6; transform: rotate(-9deg); }
.fc-side-motto::after { content: ''; display: block; width: 48px; height: 4px; margin: 12px auto; background: #ffe100; transform: rotate(-5deg); }
.fc-side-art--left .fc-side-motto { top: 400px; }
.fc-side-art--right .fc-side-motto { top: 190px; }
@media (min-width: 1480px) { .fc-side-art { display: block; } }
@media (max-width: 1100px) {
    .fc-layout-grid { grid-template-columns: minmax(0,1fr) 340px; gap: 18px; }
    .fc-hero-content { padding: 26px; }
    .fc-hero-title { font-size: 38px; }
    .fc-detail-line { padding-left: 0; padding-right: 0; }
    .fc-hero-summary { padding: 18px 8px; }
    .fc-hero-summary-item { gap: 8px; padding: 0 10px; }
    .fc-hero-summary-item > svg { width: 23px; height: 23px; }
}
@media (max-width: 991px) {
    .fc-layout-grid { grid-template-columns: 1fr; }
    .fc-right-col { position: static; }
    .fc-hero-title { font-size: clamp(31px,4.2vw,42px); }
    .fc-sidebar-card { padding: 22px; }
    .fc-detail-key { flex-basis: 44%; }
}
@media (max-width: 600px) {
    .fc-container { width: calc(100% - 28px); }
    .fc-page { padding-top: 16px; }
    .fc-hero-content { min-height: 330px; padding: 20px; }
    .fc-hero-top { gap: 10px; flex-wrap: wrap; }
    .fc-hero-badges { gap: 6px; }
    .fc-pill-type, .fc-pill-status { padding: 5px 10px; font-size: 10px; }
    .fc-price-card { margin: 0 0 0 auto; padding: 8px 12px; }
    .fc-price-num { font-size: 21px; }
    .fc-hero-content::after { background: linear-gradient(0deg, rgba(5,15,43,.88), rgba(5,15,43,.15) 50%, rgba(5,19,54,.25)); }
    .fc-hero-copy { max-width: 100%; }
    .fc-hero-title, .fc-hero--long-title .fc-hero-title { font-size: clamp(28px,7vw,38px); }
    .fc-hero-subtitle { font-size: 14px; }
    .fc-hero-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; padding: 20px 10px; }
    .fc-hero-summary-item { padding: 0 9px; }
    .fc-hero-summary-item + .fc-hero-summary-item { border-left: 0; }
    .fc-hero-summary-item:nth-child(even) { border-left: 1px solid #d5e0f5; }
    .fc-section-card, .fc-sidebar-card { padding: 18px; }
    .fc-card-header { gap: 12px; }
    .fc-header-icon-box { width: 46px; height: 46px; }
    .fc-header-icon-box svg { width: 23px; height: 23px; }
    .fc-section-title { font-size: 19px; }
    .fc-modules-list, .fc-body-text { margin-left: 0; }
    .fc-module-content { padding-left: 16px; }
    .fc-detail-line { gap: 8px; font-size: 12px; }
    .fc-detail-key { gap: 7px; }
    .fc-teacher-name { font-size: 18px; }
    .fc-corner-art { height: 160px; opacity: .75; }
    .fc-page .fc-form-grid { grid-template-columns: 1fr; }
    .fc-page .fc-modal { padding: 12px; }
    .fc-page .fc-modal-head, .fc-page .fc-modal-body { padding: 20px; }
    .fc-page .fc-form-block { padding: 16px; }
    .fc-page .fc-field { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .fc-page * { transition: none !important; } }

/* Enrollment dialog. The form fields remain the same as the existing flow. */
.fc-modal { --fc-border: #d7e1f2; --fc-text-main: #081943; --fc-text-muted: #596d96; --tarcc-red: #b41423; --tarcc-red-gradient: linear-gradient(165deg, #d32635, #ae1221); position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 20px; overflow: hidden; overflow: clip; background: rgba(7,24,66,.72); backdrop-filter: blur(7px); overscroll-behavior: contain; font-family: 'Plus Jakarta Sans', sans-serif; }
.fc-modal-open, .fc-modal-open body { overflow: hidden; }
.fc-modal.is-open { display: flex; }
.fc-modal-dialog { width: min(1000px,100%); max-height: calc(100dvh - 40px); overflow-x: hidden; overflow-y: auto; border: 1px solid rgba(255,255,255,.75); border-radius: 17px; background: #fff; box-shadow: 0 28px 70px rgba(3,17,52,.4); scrollbar-width: thin; scrollbar-color: #9ba8be transparent; }
.fc-modal-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 18px; padding: 18px 26px; border-bottom: 1px solid #e5ebf6; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.fc-modal-heading-icon { display: grid; width: 56px; height: 56px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(145deg,#263f9f,#10296f); color: #fff; box-shadow: 0 8px 18px rgba(25,54,139,.2); }
.fc-modal-heading-icon svg { width: 31px; height: 31px; }
.fc-modal-heading-copy { min-width: 0; margin-right: auto; }
.fc-modal-title { margin: 0 0 2px; color: #0b296d; font-size: clamp(22px,2.2vw,30px); font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.fc-modal-subtitle { margin: 0; color: #5870ad; font-size: 14px; line-height: 1.45; }
.fc-modal-close { display: grid; width: 42px; height: 42px; place-items: center; flex: 0 0 auto; padding: 0; border: 0; border-radius: 50%; background: #edf2fa; color: #18357f; cursor: pointer; transition: background .2s, transform .2s; }
.fc-modal-close svg { width: 19px; height: 19px; }
.fc-modal-close:hover { background: #dfe7f5; transform: rotate(4deg); }
.fc-modal-body { padding: 16px 24px 20px; }
.fc-modal-body form { display: flex; flex-direction: column; gap: 14px; }
.fc-form-step { padding: 12px; border: 1px solid #d9e3f3; border-radius: 13px; background: linear-gradient(120deg,#fbfdff,#f5f9ff); }
.fc-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.fc-step-head > div { min-width: 0; }
.fc-step-icon { display: grid; width: 42px; height: 42px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(145deg,#2948aa,#132f7f); color: #fff; font-size: 18px; font-weight: 800; box-shadow: 0 5px 12px rgba(22,54,140,.16); }
.fc-step-icon svg { width: 23px; height: 23px; }
.fc-step-icon--payment { background: linear-gradient(145deg,#d51e37,#a90922); }
.fc-form-block-title { margin: 0 0 1px; color: #0c2b72; font-size: 17px; font-weight: 800; line-height: 1.25; }
.fc-form-block-title > span { color: #173d98; }
.fc-form-block-subtitle { margin: 0; color: #657bb0; font-size: 11px; line-height: 1.4; }
.fc-form-grid { display: grid; gap: 10px 14px; }
.fc-form-grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.fc-span-2 { grid-column: span 2; }
.fc-field { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.fc-field label { color: #10285f; font-size: 11px; font-weight: 700; line-height: 1.3; }
.fc-field label > span { color: #e31e36; }
.fc-field input, .fc-field select, .fc-field textarea { width: 100%; min-height: 38px; padding: 8px 11px; border: 1px solid #ccd9ed; border-radius: 7px; outline: 0; background: #fff; color: var(--fc-text-main); font: inherit; font-size: 12px; transition: border-color .2s, box-shadow .2s; }
.fc-field input::placeholder, .fc-field textarea::placeholder { color: #91a1c3; }
.fc-field input:focus, .fc-field select:focus, .fc-field textarea:focus { border-color: #4666bd; box-shadow: 0 0 0 3px rgba(44,76,172,.11); }
.fc-payment-step { border-color: #fac0c9; background: linear-gradient(120deg,#fff9fa,#fff3f5); }
.fc-payment-topline { display: grid; grid-template-columns: minmax(190px,.55fr) 1.45fr; gap: 10px; }
.fc-payment-price, .fc-payment-alert { min-height: 56px; margin: 0; padding: 9px 13px; border: 1px solid #f3c4cc; border-radius: 9px; background: rgba(255,255,255,.82); }
.fc-payment-price { display: flex; flex-direction: column; justify-content: center; }
.fc-payment-price span { color: #6b7898; font-size: 10px; }
.fc-payment-price strong { color: #b71329; font-size: 21px; line-height: 1.15; }
.fc-payment-alert { display: flex; align-items: center; gap: 10px; color: #a5182b; font-size: 10px; font-weight: 700; line-height: 1.45; }
.fc-payment-alert svg { width: 24px; height: 24px; flex: 0 0 auto; }
.fc-payment-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.fc-payment-card { min-width: 0; min-height: 242px; overflow: hidden; border: 1px solid #d7e1f0; border-radius: 11px; background: rgba(255,255,255,.92); box-shadow: 0 4px 12px rgba(26,50,101,.04); }
.fc-payment-card-head { display: flex; min-height: 50px; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #e5ebf4; }
.fc-payment-card-head h4 { margin: 0; color: #102b73; font-size: 16px; font-weight: 800; line-height: 1.25; }
.fc-payment-card-head p { margin: 1px 0 0; color: #6276a5; font-size: 9px; line-height: 1.4; }
.fc-payment-method-icon { display: grid; width: 34px; height: 34px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(145deg,#7f149c,#5e087b); color: #fff; }
.fc-payment-method-icon--bank { background: linear-gradient(145deg,#264aa7,#153379); }
.fc-payment-method-icon svg { width: 19px; height: 19px; }
.fc-yape-logo { width: 56px; height: 42px; margin-left: auto; object-fit: contain; }
.fc-yape-content { display: flex; min-height: 190px; align-items: center; justify-content: center; gap: 20px; padding: 10px 18px; }
.fc-yape-qr { width: 165px; height: 165px; flex: 0 0 auto; border-radius: 9px; object-fit: contain; }
.fc-yape-content p { display: flex; flex-direction: column; margin: 0; text-align: center; color: #102b73; }
.fc-yape-content p span { font-size: 10px; }
.fc-yape-content p strong { font-size: 17px; line-height: 1.2; }
.fc-bcp-content { display: grid; min-height: 190px; grid-template-columns: minmax(150px,.85fr) 1.15fr; align-items: center; gap: 12px; padding: 12px; }
.fc-bcp-logo { display: block; width: 100%; max-width: 205px; height: auto; border-radius: 5px; object-fit: contain; }
.fc-bank-details { min-width: 0; }
.fc-bank-owner { display: flex; flex-direction: column; margin: 0 0 9px; padding: 8px; border-radius: 8px; background: #eef3fb; color: #17336f; font-size: 9px; line-height: 1.4; }
.fc-bank-owner span { color: #6c80aa; }
.fc-bank-owner strong { overflow-wrap: anywhere; }
.fc-bank-details dl { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.fc-bank-details dl div { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 5px; color: #183476; font-size: 10px; line-height: 1.35; }
.fc-bank-details dt { font-weight: 800; }
.fc-bank-details dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.fc-bank-details dl div:last-child dd { color: #d3132b; }
.fc-upload-row { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
.fc-upload-zone { position: relative; display: flex; min-height: 68px; align-items: center; justify-content: center; gap: 14px; padding: 10px 16px; overflow: hidden; border: 1.5px dashed #7896d4; border-radius: 10px; background: #f9fbff; color: #173d98; cursor: pointer; transition: border-color .2s, background .2s; }
.fc-upload-zone:hover, .fc-upload-zone.is-dragging { border-color: #1745ad; background: #eef4ff; }
.fc-upload-zone svg { width: 34px; height: 34px; flex: 0 0 auto; }
.fc-upload-zone span { display: flex; min-width: 0; flex-direction: column; }
.fc-upload-zone strong { font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.fc-upload-zone small { color: #7184ad; font-size: 10px; }
.fc-upload-input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.fc-upload-zone:has(.fc-upload-input:focus-visible) { outline: 3px solid rgba(23,69,173,.22); outline-offset: 2px; border-color: #1745ad; }
.fc-upload-help { margin: 0 3px; color: #7182a4; font-size: 10px; line-height: 1.45; text-align: center; }
.fc-btn-submit { display: flex; width: 100%; min-height: 47px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 8px; background: var(--tarcc-red-gradient); color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 7px 18px rgba(178,15,35,.2); transition: filter .2s, transform .2s; }
.fc-btn-submit:hover { filter: brightness(1.07); transform: translateY(-1px); }
.fc-btn-submit svg { width: 21px; height: 21px; }
.fc-error-list { display: flex; flex-direction: column; gap: 2px; margin: 0 0 14px; padding: 11px 14px; border: 1px solid #f1c6c7; border-radius: 10px; background: #fff3f3; color: #8d1f23; font-size: 11px; }

/* Short transition between the enrollment form and its confirmation receipt. */
.fc-loading-modal { background: rgba(5,22,61,.78); }
.fc-loading-dialog { position: relative; width: min(440px,100%); overflow: hidden; padding: 44px 38px 34px; border: 1px solid rgba(255,255,255,.78); border-radius: 22px; background: linear-gradient(145deg,#ffffff,#f3f7ff); color: #0d2d79; text-align: center; box-shadow: 0 28px 70px rgba(3,17,52,.42); }
.fc-loading-dialog::before { position: absolute; top: 0; right: 0; left: 0; height: 6px; content: ''; background: linear-gradient(90deg,#bf1529,#e52e42,#f2cc37,#23469f); }
.fc-loading-orbit { position: relative; width: 106px; height: 106px; margin: 0 auto -90px; border: 1px solid rgba(32,75,170,.14); border-radius: 50%; animation: fc-loading-orbit 3.2s linear infinite; }
.fc-loading-orbit span { position: absolute; display: block; width: 11px; height: 11px; border-radius: 50%; background: #d92137; box-shadow: 0 3px 8px rgba(195,20,42,.25); }
.fc-loading-orbit span:nth-child(1) { top: -5px; left: 47px; }
.fc-loading-orbit span:nth-child(2) { right: 3px; bottom: 17px; width: 8px; height: 8px; background: #f0c925; }
.fc-loading-orbit span:nth-child(3) { bottom: 12px; left: 10px; width: 7px; height: 7px; background: #2851af; }
.fc-loading-icon { position: relative; z-index: 1; display: grid; width: 76px; height: 76px; margin: 0 auto 21px; place-items: center; border-radius: 50%; background: linear-gradient(145deg,#284cab,#112e7b); color: #fff; box-shadow: 0 12px 24px rgba(21,51,133,.24); animation: fc-loading-pulse 1.7s ease-in-out infinite; }
.fc-loading-icon svg { width: 39px; height: 39px; }
.fc-loading-dialog h2 { margin: 0 0 7px; color: #0d2d79; font-size: 23px; font-weight: 800; line-height: 1.25; letter-spacing: -.035em; }
.fc-loading-dialog > p { margin: 0; color: #6077aa; font-size: 13px; line-height: 1.5; }
.fc-loading-progress { display: flex; min-height: 52px; align-items: center; gap: 12px; margin-top: 22px; padding: 11px 14px; border: 1px solid #d4dff2; border-radius: 11px; background: rgba(255,255,255,.82); text-align: left; }
.fc-loading-progress strong { color: #173c91; font-size: 12px; line-height: 1.4; }
.fc-loading-spinner { width: 21px; height: 21px; flex: 0 0 auto; border: 2.5px solid #d6e0f3; border-top-color: #cf1d35; border-radius: 50%; animation: fc-loading-spin .8s linear infinite; }
.fc-loading-help { margin-top: 13px !important; color: #8292b2 !important; font-size: 10px !important; }
@keyframes fc-loading-spin { to { transform: rotate(360deg); } }
@keyframes fc-loading-orbit { to { transform: rotate(360deg); } }
@keyframes fc-loading-pulse { 50% { transform: scale(1.045); box-shadow: 0 15px 30px rgba(21,51,133,.3); } }
@media (max-width: 820px) {
    .fc-form-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .fc-payment-topline, .fc-payment-methods { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .fc-modal { padding: 8px; }
    .fc-modal-dialog { max-height: calc(100dvh - 16px); border-radius: 14px; }
    .fc-modal-head { gap: 11px; padding: 14px; }
    .fc-modal-heading-icon { width: 44px; height: 44px; }
    .fc-modal-heading-icon svg { width: 24px; height: 24px; }
    .fc-modal-title { font-size: 20px; }
    .fc-modal-subtitle { font-size: 11px; }
    .fc-modal-close { width: 38px; height: 38px; }
    .fc-modal-body { padding: 12px; }
    .fc-form-step { padding: 11px; }
    .fc-step-icon { width: 38px; height: 38px; }
    .fc-form-grid--4 { grid-template-columns: 1fr; }
    .fc-span-2 { grid-column: span 1; }
    .fc-yape-content { flex-direction: column; gap: 8px; }
    .fc-bcp-content { grid-template-columns: 1fr; }
    .fc-bcp-logo { margin: 0 auto; }
    .fc-loading-dialog { padding: 38px 22px 27px; }
    .fc-loading-dialog h2 { font-size: 21px; }
}

/* Submission receipt shown after the external enrollment request finishes. */
.fc-result-dialog { position: relative; width: min(900px,100%); padding: 20px 26px 24px; color: #0b286b; }
.fc-result-close { position: sticky; top: 0; z-index: 5; float: right; margin: 0 -8px -42px 0; }
.fc-result-hero { display: flex; align-items: center; flex-direction: column; padding: 0 50px 17px; text-align: center; }
.fc-result-hero-icon { display: grid; width: 86px; height: 86px; place-items: center; margin-bottom: 7px; border-radius: 50%; background: #ddf5ec; color: #08744f; box-shadow: 0 8px 22px rgba(8,116,79,.1); }
.fc-result-hero-icon svg { width: 57px; height: 57px; }
.fc-result-dialog.is-error .fc-result-hero-icon { background: #ffebee; color: #b8172a; box-shadow: 0 8px 22px rgba(184,23,42,.1); }
.fc-result-title { margin: 0 0 2px; color: #102d81; font-size: clamp(25px,3vw,34px); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; }
.fc-result-dialog.is-error .fc-result-title { color: #a91527; }
.fc-result-subtitle { margin: 0; color: #5e72a5; font-size: 15px; line-height: 1.5; }
.fc-result-content { display: flex; flex-direction: column; gap: 13px; }
.fc-result-status { display: flex; min-width: 0; align-items: center; gap: 15px; padding: 13px 15px; border: 1px solid #a9ddca; border-radius: 11px; background: linear-gradient(105deg,#effbf7,#e8f7f2); color: #0b6549; }
.fc-result-status-icon { display: grid; width: 46px; height: 46px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(145deg,#148962,#056744); color: #fff; box-shadow: 0 6px 13px rgba(6,105,71,.17); }
.fc-result-status-icon svg { width: 25px; height: 25px; }
.fc-result-status strong { display: block; margin-bottom: 1px; color: #0d3441; font-size: 17px; font-weight: 800; }
.fc-result-status p { margin: 0; color: #476d86; font-size: 12px; line-height: 1.45; }
.fc-result-dialog.is-error .fc-result-status { border-color: #efb4bd; background: linear-gradient(105deg,#fff6f7,#ffedef); color: #b3162b; }
.fc-result-dialog.is-error .fc-result-status-icon { background: linear-gradient(145deg,#d7283f,#a91025); box-shadow: 0 6px 13px rgba(169,16,37,.17); }
.fc-result-dialog.is-error .fc-result-status strong { color: #861122; }
.fc-result-dialog.is-error .fc-result-status p { color: #8f5360; }
.fc-result-email-note { margin: -3px 0 0; padding: 9px 13px; border-radius: 8px; font-size: 11px; line-height: 1.45; text-align: center; }
.fc-result-email-note.is-sent { border: 1px solid #c2e4d7; background: #f0faf6; color: #176b50; }
.fc-result-email-note.is-pending { border: 1px solid #f0d39b; background: #fff9ea; color: #7b5911; }
.fc-result-datetime { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: hidden; border: 1px solid #cad9f3; border-radius: 11px; background: linear-gradient(110deg,#f7faff,#f0f5ff); }
.fc-result-datetime-item { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 15px; padding: 13px 20px; }
.fc-result-datetime-item + .fc-result-datetime-item { border-left: 1px solid #c2d2f0; }
.fc-result-soft-icon { display: grid; width: 48px; height: 48px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #dfe9fd; color: #1142aa; }
.fc-result-soft-icon svg { width: 25px; height: 25px; }
.fc-result-datetime-item div { min-width: 0; }
.fc-result-datetime-item span:not(.fc-result-soft-icon) { display: block; color: #6074a5; font-size: 11px; }
.fc-result-datetime-item strong { display: block; color: #092979; font-size: 16px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.fc-result-section { padding: 11px; border: 1px solid #d0dcf0; border-radius: 11px; background: linear-gradient(110deg,#fbfdff,#f4f8ff); }
.fc-result-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.fc-result-section-icon { display: grid; width: 42px; height: 42px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(145deg,#294aac,#13317f); color: #fff; box-shadow: 0 5px 12px rgba(20,50,130,.14); }
.fc-result-section-icon svg { width: 23px; height: 23px; }
.fc-result-section-head h3 { margin: 0 0 1px; color: #0d2c76; font-size: 17px; font-weight: 800; line-height: 1.25; }
.fc-result-section-head p { margin: 0; color: #667bac; font-size: 11px; line-height: 1.4; }
.fc-result-course-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin: 0; }
.fc-result-course-grid div { min-width: 0; padding: 8px 11px; border: 1px solid #cad8ef; border-radius: 7px; background: #fff; }
.fc-result-course-grid dt { margin-bottom: 3px; color: #173877; font-size: 10px; font-weight: 700; }
.fc-result-course-grid dd { margin: 0; color: #0d2d7d; font-size: 13px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.fc-result-data-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 16px; margin: 0; }
.fc-result-data-grid div { display: grid; min-width: 0; grid-template-columns: 135px minmax(0,1fr); overflow: hidden; border: 1px solid #d3def0; border-radius: 7px; background: #fff; }
.fc-result-data-grid dt, .fc-result-data-grid dd { min-width: 0; margin: 0; padding: 7px 10px; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.fc-result-data-grid dt { background: #f1f5fb; color: #24417e; font-weight: 700; }
.fc-result-data-grid dd { color: #0d2d7d; font-weight: 600; }
.fc-result-voucher-section .fc-result-section-head { margin-bottom: 8px; }
.fc-result-file { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 9px 11px; border: 1px solid #cfdbef; border-radius: 8px; background: #fff; }
.fc-result-file-icon { display: grid; width: 33px; height: 33px; place-items: center; flex: 0 0 auto; border-radius: 7px; background: #fff0f2; color: #d2162f; }
.fc-result-file-icon svg { width: 21px; height: 21px; }
.fc-result-file strong { min-width: 0; color: #112f78; font-size: 12px; overflow-wrap: anywhere; }
.fc-result-file-state { display: flex; align-items: center; gap: 6px; margin-left: auto; padding: 6px 10px; border-radius: 20px; background: #e2f6ee; color: #08714f; font-size: 10px; font-weight: 700; white-space: nowrap; }
.fc-result-file-state:empty { display: none; }
.fc-result-file-state svg { width: 16px; height: 16px; }
.fc-result-file.is-empty { color: #7585a7; }
.fc-result-file.is-empty .fc-result-file-icon { background: #eef2f8; color: #7282a4; }
.fc-result-file.is-empty strong { color: #7181a2; font-weight: 600; }
.fc-result-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.fc-result-button { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 11px 17px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: filter .2s, transform .2s; }
.fc-result-button:is(a) { text-decoration: none; }
.fc-result-button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.fc-result-button svg { width: 21px; height: 21px; }
.fc-result-button--primary { border: 1px solid #b61226; background: linear-gradient(165deg,#d22237,#ae1023); color: #fff; box-shadow: 0 6px 16px rgba(177,16,35,.16); }
.fc-result-button--secondary { border: 1px solid #bf1b2e; background: #fff; color: #b41629; }

@media (max-width: 700px) {
    .fc-result-dialog { padding: 16px 14px 18px; }
    .fc-result-close { margin-right: -2px; }
    .fc-result-hero { padding: 2px 35px 14px; }
    .fc-result-hero-icon { width: 70px; height: 70px; }
    .fc-result-hero-icon svg { width: 46px; height: 46px; }
    .fc-result-title { font-size: 23px; }
    .fc-result-subtitle { font-size: 12px; }
    .fc-result-status { align-items: flex-start; }
    .fc-result-datetime { grid-template-columns: 1fr; }
    .fc-result-datetime-item { justify-content: flex-start; padding: 11px 14px; }
    .fc-result-datetime-item + .fc-result-datetime-item { border-top: 1px solid #c2d2f0; border-left: 0; }
    .fc-result-course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .fc-result-data-grid { grid-template-columns: 1fr; }
    .fc-result-file { align-items: flex-start; flex-wrap: wrap; }
    .fc-result-file-state { width: 100%; justify-content: center; margin-left: 0; }
    .fc-result-actions { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
    .fc-result-course-grid { grid-template-columns: 1fr; }
    .fc-result-data-grid div { grid-template-columns: 105px minmax(0,1fr); }
    .fc-result-status-icon { width: 40px; height: 40px; }
    .fc-result-soft-icon { width: 42px; height: 42px; }
}

@media print {
    body * { visibility: hidden !important; }
    #modalResultadoInscripcion, #modalResultadoInscripcion * { visibility: visible !important; }
    #modalResultadoInscripcion { position: static; display: block; padding: 0; background: #fff; backdrop-filter: none; }
    #modalResultadoInscripcion .fc-result-dialog { width: 100%; max-height: none; overflow: visible; border: 0; box-shadow: none; }
    #modalResultadoInscripcion .fc-result-close, #modalResultadoInscripcion .fc-result-actions { display: none !important; }
}
