/* =====================================================================
   Careers page – infomeuae.com
   Uses the site design tokens from mystyle.css (--ime-*), with fallbacks.
   Everything is scoped to .cr-page so nothing else on the site changes.
   ===================================================================== */
.cr-page {
  --cr-red: var(--ime-red, #C8302A);
  --cr-red-dark: var(--ime-red-dark, #A22622);
  --cr-red-tint: var(--ime-red-tint, #FBEBEA);
  --cr-ink: var(--ime-ink, #14161B);
  --cr-ink-soft: var(--ime-ink-soft, #4A4E58);
  --cr-muted: var(--ime-muted, #838791);
  --cr-line: var(--ime-line, #E8E8EC);
  --cr-paper-alt: var(--ime-paper-alt, #F6F6F8);
  --cr-radius: var(--ime-radius, 14px);
  --cr-shadow: var(--ime-shadow, 0 10px 24px rgba(20,22,27,.08), 0 2px 6px rgba(20,22,27,.04));
  --cr-shadow-red: var(--ime-shadow-red, 0 10px 24px rgba(200,48,42,.18), 0 2px 6px rgba(200,48,42,.08));
  font-family: 'Muli', sans-serif;
  color: var(--cr-ink-soft);
  background: #fff;
  overflow-x: hidden;
}
.cr-page .container { max-width: 1200px; }
.cr-page h1, .cr-page h2, .cr-page h3 { font-weight: 800; font-family: 'Muli', sans-serif; color: var(--cr-ink); letter-spacing: -.015em; margin: 0; }
.cr-page p { font-size: 16px; line-height: 1.75; color: var(--cr-ink-soft); margin: 0; }
.cr-page a { text-decoration: none; }

/* ---- Scroll reveal (same feel as the homepage) ---- */
.cr-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.cr-reveal.is-in { opacity: 1; transform: none; }
.cr-d1 { transition-delay: .08s; } .cr-d2 { transition-delay: .16s; } .cr-d3 { transition-delay: .24s; } .cr-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .cr-reveal { opacity: 1; transform: none; transition: none; } }

/* ---- Shared bits ---- */
.cr-section { padding: 88px 0; }
.cr-section--alt { background: var(--cr-paper-alt); }
.cr-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cr-red); background: var(--cr-red-tint); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.cr-title { font-size: 40px !important; font-weight: 800; line-height: 1.15; }
.cr-lead { max-width: 640px; margin-top: 14px !important; font-size: 17px !important; }
.cr-head-center { text-align: center; }
.cr-head-center .cr-lead { margin-left: auto; margin-right: auto; }

.cr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-size: 15px; font-weight: 800; line-height: 1; padding: 16px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; }
.cr-btn .cr-arrow { transition: transform .2s ease; }
.cr-btn:hover .cr-arrow { transform: translateX(4px); }
.cr-btn--red { background: var(--cr-red); color: #fff !important; box-shadow: var(--cr-shadow-red); }
.cr-btn--red:hover { background: var(--cr-red-dark); transform: translateY(-2px); }
.cr-btn--ghost { background: #fff; color: var(--cr-ink) !important; border-color: var(--cr-line); }
.cr-btn--ghost:hover { border-color: var(--cr-ink); transform: translateY(-2px); }
.cr-btn--white { background: #fff; color: var(--cr-red) !important; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.cr-btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.24); }

/* ---- Breadcrumb ---- */
.cr-crumb { margin-top: 24px; background: var(--cr-paper-alt); border-radius: 10px; padding: 14px 20px; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cr-crumb a { color: var(--cr-ink-soft) !important; transition: color .2s; }
.cr-crumb a:hover { color: var(--cr-red) !important; }
.cr-crumb svg { width: 12px; height: 12px; color: var(--cr-muted); }
.cr-crumb span { color: var(--cr-ink); }

/* ---- Hero ---- */
.cr-hero { padding: 56px 0 88px; }
.cr-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.cr-hero h1 { font-size: 60px !important; font-weight: 900; line-height: 1.06; letter-spacing: -.025em; }
.cr-hero h1 em { font-style: normal; color: var(--cr-red); }
.cr-hero-text { margin-top: 24px !important; font-size: 18px !important; max-width: 540px; }
.cr-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.cr-glance { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--cr-line); }
.cr-glance-label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cr-muted); margin-bottom: 14px; }
.cr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cr-stat-num { font-size: 36px; font-weight: 900; color: var(--cr-red); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cr-stat-num small { font-size: .6em; font-weight: 800; margin-left: 4px; }
.cr-stat-title { font-size: 15px; font-weight: 800; color: var(--cr-ink); margin-top: 6px; }
.cr-stat-sub { font-size: 13.5px; color: var(--cr-muted); line-height: 1.45; margin-top: 3px; }

.cr-visual { position: relative; padding-left: 36px; }
.cr-panel { position: relative; aspect-ratio: 4 / 4.3; border-radius: 28px; background: linear-gradient(140deg, #D2352E 0%, var(--cr-red) 40%, #8E1B17 100%); overflow: hidden; box-shadow: 0 30px 60px rgba(200,48,42,.25); }
.cr-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 15%, rgba(255,255,255,.18), transparent 45%), radial-gradient(circle at 10% 90%, rgba(0,0,0,.18), transparent 50%); }
.cr-glass { position: absolute; border-radius: 22px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(4px); }
.cr-glass--a { width: 36%; height: 33%; top: 13%; right: 7%; animation: cr-float 7s ease-in-out infinite; }
.cr-glass--b { width: 50%; height: 26%; top: 49%; left: 31%; animation: cr-float 8s ease-in-out infinite reverse; }
.cr-glass--c { width: 18%; height: 16%; top: 20%; left: 12%; border-radius: 50%; animation: cr-float 6s ease-in-out infinite; }
@keyframes cr-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.cr-panel-text { position: absolute; left: 9%; bottom: 9%; right: 9%; color: #fff; font-size: 34px !important; font-weight: 900; line-height: 1.15; letter-spacing: -.02em; }
.cr-hiring { position: absolute; top: 10%; left: 0; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 20px 40px rgba(20,22,27,.14); max-width: 220px; z-index: 2; animation: cr-float 6.5s ease-in-out infinite; }
.cr-hiring strong { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 900; color: var(--cr-ink); }
.cr-hiring strong i { width: 8px; height: 8px; border-radius: 50%; background: #22A559; box-shadow: 0 0 0 0 rgba(34,165,89,.5); animation: cr-pulse 1.8s infinite; }
@keyframes cr-pulse { 70% { box-shadow: 0 0 0 8px rgba(34,165,89,0); } 100% { box-shadow: 0 0 0 0 rgba(34,165,89,0); } }
.cr-hiring p { font-size: 13.5px !important; line-height: 1.5 !important; color: var(--cr-muted) !important; margin-top: 6px !important; }

/* ---- Why Infome ---- */
.cr-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.cr-why { position: relative; background: #fff; border: 1px solid var(--cr-line); border-radius: 18px; padding: 26px 24px 28px; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.cr-why::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--cr-red); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.cr-why:hover { transform: translateY(-4px); box-shadow: var(--cr-shadow); border-color: transparent; }
.cr-why:hover::before { transform: scaleX(1); }
.cr-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--cr-red-tint); color: var(--cr-red); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: background .22s ease, color .22s ease, transform .22s ease; }
.cr-icon svg { width: 22px; height: 22px; }
.cr-why:hover .cr-icon { background: var(--cr-red); color: #fff; transform: scale(1.06); }
.cr-why h3 { font-size: 19px !important; font-weight: 800; line-height: 1.3; margin-bottom: 10px; }
.cr-why p { font-size: 15px !important; line-height: 1.65 !important; }

/* ---- Locations ---- */
.cr-loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.cr-loc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cr-line); border-radius: 18px; overflow: hidden; cursor: pointer; color: inherit; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.cr-loc:hover, .cr-loc:focus-visible { transform: translateY(-4px); box-shadow: var(--cr-shadow); border-color: transparent; outline: none; }
.cr-loc-img { position: relative; aspect-ratio: 5 / 3; overflow: hidden; background: var(--cr-paper-alt); }
.cr-loc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.cr-loc:hover .cr-loc-img img { transform: scale(1.05); }
.cr-loc-badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--cr-ink); font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.cr-loc-body { padding: 22px 24px 24px; }
.cr-loc-body h3 { font-size: 22px !important; font-weight: 800; }
.cr-loc-country { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--cr-muted); margin-top: 4px; }
.cr-loc-country svg { width: 14px; height: 14px; color: var(--cr-red); }
.cr-loc-body p { margin-top: 12px !important; font-size: 15.5px !important; }
.cr-loc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 15px; font-weight: 800; color: var(--cr-red); }
.cr-loc-link .cr-arrow { transition: transform .2s ease; }
.cr-loc:hover .cr-loc-link .cr-arrow { transform: translateX(4px); }

/* ---- Open positions ---- */
.cr-jobs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cr-filters[hidden] { display: none !important; }
.cr-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.cr-chip { font-family: inherit; font-size: 14px; font-weight: 700; color: var(--cr-ink-soft); background: #fff; border: 1px solid var(--cr-line); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cr-chip:hover { border-color: var(--cr-ink); color: var(--cr-ink); }
.cr-chip.is-active { background: var(--cr-ink); border-color: var(--cr-ink); color: #fff; }
.cr-locbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; font-size: 14px; font-weight: 700; color: var(--cr-muted); }
.cr-locbar[hidden] { display: none; }
.cr-locpill { display: inline-flex; align-items: center; gap: 8px; background: var(--cr-red-tint); color: var(--cr-red); border: 0; border-radius: 999px; padding: 7px 10px 7px 14px; font-family: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.cr-locpill b { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(200,48,42,.14); font-size: 13px; line-height: 1; }
.cr-locpill:hover b { background: var(--cr-red); color: #fff; }

.cr-jobs { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.cr-job { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid var(--cr-line); border-radius: 16px; padding: 22px 24px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; animation: cr-in .35s ease both; }
.cr-job:hover { transform: translateY(-2px); box-shadow: var(--cr-shadow); border-color: transparent; }
.cr-job[hidden] { display: none; }
@keyframes cr-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cr-job-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cr-ink-soft); background: var(--cr-paper-alt); padding: 5px 10px; border-radius: 999px; }
.cr-job h3 { font-size: 21px !important; font-weight: 800; margin-top: 10px; }
.cr-job-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 14.5px; color: var(--cr-muted); }
.cr-job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cr-job-meta svg { width: 14px; height: 14px; }
.cr-job .cr-btn { padding: 14px 22px; }
.cr-job-desc { margin-top: 10px !important; font-size: 14.5px !important; line-height: 1.6 !important; max-width: 680px; }
.cr-empty { text-align: center; background: #fff; border: 1.5px dashed #D9D9DF; border-radius: 16px; padding: 40px 20px; }
.cr-empty[hidden] { display: none; }
.cr-empty strong { display: block; font-size: 18px; font-weight: 800; color: var(--cr-ink); }
.cr-empty p { margin-top: 6px !important; font-size: 15px !important; }
.cr-empty a { color: var(--cr-red); font-weight: 800; }

/* ---- Hiring process ---- */
.cr-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; position: relative; }
.cr-steps::before { content: ""; position: absolute; top: 21px; left: 44px; right: calc((100% - 84px) / 4 - 22px); height: 2px; background: repeating-linear-gradient(90deg, rgba(200,48,42,.3) 0 6px, transparent 6px 12px); }
.cr-step { position: relative; }
.cr-step-num { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--cr-red); color: #fff; font-size: 17px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 7px rgba(200,48,42,.12); margin-bottom: 22px; transition: transform .22s ease; }
.cr-step:hover .cr-step-num { transform: scale(1.1); }
.cr-step h3 { font-size: 19px !important; font-weight: 800; margin-bottom: 8px; }
.cr-step p { font-size: 15px !important; line-height: 1.65 !important; }

/* ---- CV call to action ---- */
.cr-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-radius: 28px; padding: 52px 56px; background: linear-gradient(120deg, #D2352E 0%, var(--cr-red) 45%, #8E1B17 100%); overflow: hidden; }
.cr-cta::after { content: ""; position: absolute; width: 340px; height: 340px; right: -90px; top: -150px; border-radius: 50%; border: 50px solid rgba(255,255,255,.07); pointer-events: none; }
.cr-cta h2 { color: #fff !important; font-size: 34px !important; font-weight: 900; line-height: 1.15; }
.cr-cta p { color: rgba(255,255,255,.88) !important; margin-top: 12px !important; max-width: 520px; }
.cr-cta-mail { display: inline-block; margin-top: 14px; color: #fff !important; font-weight: 800; font-size: 16px; border-bottom: 2px solid rgba(255,255,255,.4); transition: border-color .2s; }
.cr-cta-mail:hover { border-color: #fff; }
.cr-cta .cr-btn { position: relative; z-index: 1; }

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  .cr-hero h1 { font-size: 50px !important; }
  .cr-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .cr-section { padding: 68px 0; }
  .cr-hero { padding: 40px 0 68px; }
  .cr-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .cr-visual { max-width: 520px; padding-left: 28px; }
  .cr-panel { aspect-ratio: 16 / 11; }
  .cr-title { font-size: 34px !important; }
  .cr-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .cr-steps::before { display: none; }
  .cr-cta { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
}
@media (max-width: 767px) {
  .cr-loc-grid { grid-template-columns: 1fr; }
  .cr-job { flex-direction: column; align-items: flex-start; }
  .cr-job .cr-btn { width: 100%; }
}
@media (max-width: 575px) {
  .cr-section { padding: 56px 0; }
  .cr-hero h1 { font-size: 38px !important; }
  .cr-hero-text { font-size: 16px !important; }
  .cr-hero-cta .cr-btn { flex: 1 1 100%; }
  .cr-stats { gap: 12px; }
  .cr-stat-num { font-size: 28px; }
  .cr-stat-sub { font-size: 12.5px; }
  .cr-title { font-size: 28px !important; }
  .cr-why-grid, .cr-steps { grid-template-columns: 1fr; }
  .cr-visual { padding-left: 0; padding-top: 52px; }
  .cr-hiring { top: 0; left: 12px; }
  .cr-panel-text { font-size: 26px !important; }
  .cr-filters { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .cr-filters::-webkit-scrollbar { display: none; }
  .cr-chip { flex: 0 0 auto; }
  .cr-cta { padding: 36px 24px; border-radius: 22px; }
  .cr-cta h2 { font-size: 26px !important; }
  .cr-cta .cr-btn { width: 100%; }
}

/* ---- Application form popup ---- */
html.cr-lock, html.cr-lock body { overflow: hidden; }
.cr-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--cr-red); font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
button.cr-btn { font-family: 'Muli', sans-serif; }
.cr-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cr-modal[hidden] { display: none; }
.cr-modal-backdrop { position: absolute; inset: 0; background: rgba(20,22,27,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s ease; }
.cr-modal-box { position: relative; width: 100%; max-width: 680px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 36px 36px 30px; box-shadow: 0 30px 80px rgba(0,0,0,.25); opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .22s ease, transform .22s ease; overscroll-behavior: contain; }
.cr-modal.is-open .cr-modal-backdrop { opacity: 1; }
.cr-modal.is-open .cr-modal-box { opacity: 1; transform: none; }
.cr-modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cr-paper-alt); color: var(--cr-ink); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, color .2s, transform .2s; z-index: 2; }
.cr-modal-x:hover { background: var(--cr-red); color: #fff; transform: rotate(90deg); }
.cr-form-head { margin-bottom: 22px; padding-right: 30px; }
.cr-form-head .cr-eyebrow { margin-bottom: 12px; }
.cr-form-head h3, .cr-done h3 { font-size: 26px !important; font-weight: 900; line-height: 1.2; }
.cr-form-head p { margin-top: 6px !important; font-size: 15px !important; color: var(--cr-muted) !important; }
.cr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cr-field { margin-bottom: 16px; }
.cr-field > label { display: block; font-size: 13.5px; font-weight: 800; color: var(--cr-ink); margin-bottom: 6px; }
.cr-field > label span { color: var(--cr-red); }
.cr-field > label small { font-weight: 600; color: var(--cr-muted); }
.cr-form input[type=text], .cr-form input[type=email], .cr-form input[type=tel], .cr-form input[type=url], .cr-form select, .cr-form textarea {
  width: 100%; font-family: 'Muli', sans-serif; font-size: 15px; color: var(--cr-ink); background: #fff; border: 1.5px solid var(--cr-line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; appearance: auto; }
.cr-form textarea { resize: vertical; min-height: 84px; }
.cr-form input:focus, .cr-form select:focus, .cr-form textarea:focus { outline: none; border-color: var(--cr-red); box-shadow: 0 0 0 4px rgba(200,48,42,.12); }
.cr-form .is-invalid { border-color: var(--cr-red) !important; background: #FFF8F7 !important; }
.cr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cr-field > label.cr-file, .cr-file { position: relative; display: flex; margin: 0; font-weight: 400; align-items: center; gap: 14px; border: 2px dashed var(--cr-line); border-radius: 14px; padding: 18px; cursor: pointer; background: var(--cr-paper-alt); transition: border-color .2s, background .2s; }
.cr-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.cr-file svg { flex: 0 0 auto; width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--cr-red-tint); color: var(--cr-red); }
.cr-file-text { flex: 1 1 auto; min-width: 0; font-size: 14.5px; color: var(--cr-ink-soft); line-height: 1.45; word-break: break-word; }
.cr-file-text strong { color: var(--cr-ink); }
.cr-file-text small { color: var(--cr-muted); }
.cr-file:hover, .cr-file.is-drag { border-color: var(--cr-red); background: #fff; }
.cr-file.has-file { border-style: solid; border-color: #22A559; background: #F3FBF6; }
.cr-file.has-file svg { background: #DDF3E6; color: #22A559; }
.cr-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--cr-ink-soft); line-height: 1.5; margin: 4px 0 18px; cursor: pointer; }
.cr-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--cr-red); }
.cr-check input.is-invalid { outline: 2px solid var(--cr-red); outline-offset: 2px; }
.cr-form-error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; border-radius: 10px; padding: 11px 14px; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.cr-form-error[hidden], .cr-form[hidden], .cr-done[hidden] { display: none; }
.cr-submit { width: 100%; }
.cr-submit.is-loading { opacity: .75; pointer-events: none; }
.cr-submit.is-loading .cr-arrow { animation: cr-spin .8s linear infinite; display: inline-block; }
@keyframes cr-spin { to { transform: rotate(360deg); } }
.cr-done { text-align: center; padding: 26px 6px 6px; }
.cr-done-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #DDF3E6; color: #22A559; display: flex; align-items: center; justify-content: center; animation: cr-pop .4s cubic-bezier(.2,1.4,.4,1) both; }
.cr-done-icon svg { width: 34px; height: 34px; }
@keyframes cr-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.cr-done p { margin: 10px auto 22px !important; max-width: 420px; }
.cr-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 99999; width: calc(100% - 32px); max-width: 560px; background: var(--cr-ink); color: #fff; border-radius: 14px; padding: 16px 20px; font-size: 15px; line-height: 1.5; box-shadow: 0 20px 40px rgba(0,0,0,.25); transition: opacity .4s, transform .4s; }
.cr-toast strong { color: #7EE2A8; }
.cr-toast.is-hide { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }
@media (max-width: 575px) {
  .cr-modal { padding: 0; align-items: flex-end; }
  .cr-modal-box { max-height: 94vh; border-radius: 22px 22px 0 0; padding: 28px 18px 22px; }
  .cr-row { grid-template-columns: 1fr; }
  .cr-form-head h3, .cr-done h3 { font-size: 22px !important; }
}