/* The Corporate Simulator: invitation and trial request dialogs (assets/sim-invite.js).
   Every rule is scoped to .si-overlay so the page's own styles stay as they are. */

html.si-lock, html.si-lock body { overflow: hidden !important; }

.si-overlay {
  position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px; overflow-y: auto; background: rgba(5, 10, 48, 0.62); -webkit-overflow-scrolling: touch;
}
.si-overlay, .si-overlay * { box-sizing: border-box; }
.si-overlay .si-dialog {
  position: relative; width: 100%; max-width: 640px; margin: auto 0; background: #FFFFFF; color: #1B2033;
  border-top: 5px solid #FF3131; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  font: 400 16px/1.55 "Lato", "Helvetica Neue", Arial, sans-serif; text-align: left; letter-spacing: normal; text-transform: none;
}
.si-overlay .si-dialog:focus { outline: none; }
.si-overlay .si-body { padding: 30px 32px 28px; }
.si-overlay .si-title { margin: 0 40px 8px 0; font: 900 26px/1.2 "Lato", "Helvetica Neue", Arial, sans-serif; color: #050A30; letter-spacing: normal; text-transform: none; }
.si-overlay .si-title:focus { outline: none; }
.si-overlay .si-lead { margin: 0 0 20px; color: #4A5066; font-size: 16px; }
.si-overlay .si-x {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; min-height: 0; padding: 0; margin: 0;
  display: flex; align-items: center; justify-content: center; border: 0; border-radius: 0; background: transparent;
  color: #050A30; font: 400 30px/1 Arial, sans-serif; cursor: pointer; box-shadow: none;
}
.si-overlay .si-x:hover { background: #F2F3F7; }

.si-overlay .si-form { display: grid; gap: 16px; margin: 0; }
.si-overlay .si-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.si-overlay .si-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; }
.si-overlay label { font: 700 15px/1.35 "Lato", "Helvetica Neue", Arial, sans-serif; color: #1B2033; letter-spacing: normal; text-transform: none; margin: 0; }
.si-overlay .si-opt { font-weight: 400; color: #6B7187; }
.si-overlay .si-hint { font-size: 13px; color: #6B7187; order: 3; }
.si-overlay input[type=text], .si-overlay input[type=email], .si-overlay input[type=tel], .si-overlay select, .si-overlay textarea {
  display: block; width: 100%; min-height: 46px; margin: 0; padding: 9px 12px; border: 1px solid #B4B9C9; border-radius: 0;
  background: #FFFFFF; color: #1B2033; font: 400 16px/1.4 "Lato", "Helvetica Neue", Arial, sans-serif; box-shadow: none;
  letter-spacing: normal; text-transform: none; -webkit-appearance: none; appearance: none;
}
.si-overlay select {
  padding-right: 36px; cursor: pointer;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23050A30' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.si-overlay textarea { min-height: 90px; resize: vertical; }
.si-overlay input:focus, .si-overlay select:focus, .si-overlay textarea:focus { outline: 3px solid #C7CEF3; outline-offset: 0; border-color: #050A30; }
.si-overlay .si-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.si-overlay .si-set legend { padding: 0; margin: 0 0 8px; font: 700 15px/1.35 "Lato", "Helvetica Neue", Arial, sans-serif; color: #1B2033; }
.si-overlay .si-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.si-overlay .si-radios { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.si-overlay .si-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; cursor: pointer; padding: 6px 0; min-height: 36px; }
.si-overlay .si-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 20px; accent-color: #050A30; }
.si-overlay .si-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.si-overlay .si-error { margin: 0; padding: 10px 14px; background: #FDE7E5; color: #8A1C12; border-left: 4px solid #B42318; font-size: 15px; }
.si-overlay .si-error:focus { outline: none; }
.si-overlay [hidden] { display: none !important; }
.si-overlay .si-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.si-overlay .si-small { font-size: 14px; color: #6B7187; }
.si-overlay .si-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; margin: 0;
  border: 2px solid #050A30; border-radius: 0; background: #050A30; color: #FFFFFF; cursor: pointer;
  font: 700 16px/1 "Lato", "Helvetica Neue", Arial, sans-serif; letter-spacing: normal; text-transform: none; text-decoration: none; box-shadow: none;
}
.si-overlay .si-btn:hover { background: #1C2A6B; border-color: #1C2A6B; }
.si-overlay .si-btn.si-red { background: #FF3131; border-color: #FF3131; }
.si-overlay .si-btn.si-red:hover { background: #E02020; border-color: #E02020; }
.si-overlay .si-btn:disabled { opacity: 0.6; cursor: default; }
.si-overlay .si-btn:focus-visible, .si-overlay .si-x:focus-visible { outline: 3px solid #7C8CE0; outline-offset: 2px; }
.si-overlay .si-done { display: grid; gap: 14px; justify-items: start; padding: 8px 0 4px; }
.si-overlay .si-done p { margin: 0; color: #4A5066; font-size: 17px; }
.si-overlay .si-tick { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: #050A30; color: #FFFFFF; font: 900 26px/1 Arial, sans-serif; }

@media (max-width: 600px) {
  .si-overlay { padding: 0; align-items: stretch; }
  .si-overlay .si-dialog { max-width: none; min-height: 100%; margin: 0; box-shadow: none; }
  .si-overlay .si-body { padding: 24px 16px 28px; }
  .si-overlay .si-title { font-size: 23px; }
  .si-overlay .si-grid, .si-overlay .si-checks { grid-template-columns: 1fr; }
  .si-overlay .si-btn { width: 100%; }
}
@media print { .si-overlay { display: none !important; } }

/* Look inside the workshop */
.si-overlay .si-dialog.si-wide { max-width: 1080px; }
.si-overlay .si-count { margin: 0 0 10px; font: 700 13px/1.3 "Lato", Arial, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: #FF3131; min-height: 1.3em; }
.si-overlay .si-frame { background: #050A30; padding: 10px; min-height: 160px; display: flex; align-items: flex-start; justify-content: center; }
.si-overlay .si-frame img { display: block; width: 100%; height: auto; max-height: 56vh; object-fit: contain; object-position: top center; }
.si-overlay .si-frame img[hidden] { display: none; }
.si-overlay .si-wait { margin: 60px 0; color: #FFFFFF; }
.si-overlay .si-nav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 14px; align-items: center; margin-top: 14px; }
.si-overlay .si-nav[hidden] { display: none; }
.si-overlay .si-step { margin: 0; font-size: 17px; line-height: 1.5; color: #1B2033; min-height: 3em; }
.si-overlay .si-arrow { width: 44px; height: 44px; min-height: 0; padding: 0; margin: 0; border: 2px solid #050A30; border-radius: 0; background: #FFFFFF; color: #050A30; font: 700 20px/1 Arial, sans-serif; cursor: pointer; box-shadow: none; }
.si-overlay .si-arrow:hover, .si-overlay .si-arrow:focus-visible { background: #050A30; color: #FFFFFF; }
.si-overlay .si-arrow[disabled] { opacity: 0.3; cursor: default; background: #FFFFFF; color: #050A30; }
.si-overlay .si-dots { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
.si-overlay .si-dots button { width: 28px; height: 28px; min-height: 0; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; box-shadow: none; }
.si-overlay .si-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #C9CDDA; }
.si-overlay .si-dots button[aria-current="true"]::before { width: 22px; border-radius: 5px; background: #FF3131; }
.si-overlay .si-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #E3E6EE; }
.si-overlay .si-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; margin: 0; border: 2px solid #050A30; border-radius: 0; font: 700 16px/1.25 "Lato", Arial, sans-serif; text-decoration: none; text-align: center; cursor: pointer; box-shadow: none; letter-spacing: normal; text-transform: none; }
.si-overlay .si-btn-navy { background: #050A30; color: #FFFFFF; }
.si-overlay .si-btn-red { background: #FF3131; border-color: #FF3131; color: #FFFFFF; }
.si-overlay .si-btn-line { background: #FFFFFF; color: #050A30; }
.si-overlay .si-btn:focus-visible, .si-overlay .si-arrow:focus-visible { outline: 3px solid #7C8CE0; outline-offset: 2px; }
@media (max-width: 600px) {
  .si-overlay .si-dialog.si-wide .si-body { padding: 24px 16px 20px; }
  .si-overlay .si-frame { padding: 6px; }
  .si-overlay .si-btn { flex: 1 1 100%; }
  .si-overlay .si-step { font-size: 16px; }
}
