body,
html {
  font-family: "Montserrat", sans-serif;
  padding: 0px;
  margin: 0px;
}

:root {
  --gg-navy: #222A59;
  --gg-primary: #3068D9;
  --gg-green: #9DBF21;
  --gg-yellow: #F2B705;
  --gg-red: #F24B4B;
  --gg-bg: #f4f7fb;
  --gg-surface: #ffffff;
  --gg-surface-soft: #f8faff;
  --gg-border: #dbe3f3;
  --gg-muted: #5f6882;
  --gg-shadow: rgba(34, 42, 89, 0.16);
  --gg-font-family: "Montserrat", sans-serif;
}

body,
button,
input,
optgroup,
select,
textarea,
md-card,
md-dialog,
.md-button,
.md-toolbar-tools {
  font-family: var(--gg-font-family);
}

body * {
  font-family: var(--gg-font-family);
}

#root-view {
  background: var(--gg-bg);
}

.home-screen.md-padding {
  background:
    linear-gradient(rgba(244, 247, 251, 0.88), rgba(244, 247, 251, 0.96)),
    url("../img/bg_city.svg") center bottom / 900px auto repeat-x;
  min-height: 100vh;
  padding: 28px 16px;
}

.home-language-switch {
  box-sizing: border-box;
  margin-bottom: 14px;
  max-width: 1120px;
  width: 100%;
}

.home-language-switch button {
  appearance: none;
  background: transparent;
  border: 0;
  color: #3068D9;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
  text-decoration: none;
}

.home-language-switch span {
  background: #c7d2ec;
  height: 14px;
  margin: 0 10px;
  width: 1px;
}

#welcome-box {
  /* max-width: 1120px; */
  max-width: 1200px;
  width: 100%;
}

.home-card {
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(34, 42, 89, 0.18);
  display: grid;
  grid-template-columns: minmax(380px, 1.05fr) minmax(420px, 0.95fr);
  margin: 0;
  min-height: 680px;
  overflow: hidden;
}

.home-visual-panel {
  background: #3068D9;
  height: 100%;
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.home-cover-image {
  filter: saturate(1.08) contrast(1.02);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.home-visual-panel::after {
  background:
    linear-gradient(180deg, rgba(34, 42, 89, 0.88) 0%, rgba(34, 42, 89, 0.58) 34%, rgba(34, 42, 89, 0.1) 100%),
    linear-gradient(135deg, rgba(48, 104, 217, 0.68), rgba(242, 183, 5, 0.22));
  content: "";
  inset: 0;
  position: absolute;
}

.home-visual-overlay {
  box-sizing: border-box;
  color: #fff;
  left: 0;
  padding: 34px;
  position: absolute;
  right: 0;
  top: 20px;
  z-index: 1;
}

.home-brand {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 18px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.home-course-context {
  max-width: 520px;
}

.home-course-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.home-course-label {
  background: rgba(242, 183, 5, 0.14);
  border: 1px solid rgba(242, 183, 5, 0.42);
  border-radius: 999px;
  color: #F2B705;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 0;
  padding: 7px 12px;
  text-transform: uppercase;
}

.home-course-certification-label {
  background: rgba(157, 191, 33, 0.16);
  border-color: rgba(157, 191, 33, 0.46);
  color: #9DBF21;
}

.home-course-title {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.home-form-panel {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.home-form-logo-header {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  padding: 30px 46px 0;
  width: 100%;
}

.home-game-logo {
  display: block;
  filter: drop-shadow(0 12px 24px rgba(34, 42, 89, 0.12));
  height: auto;
  max-height: 168px;
  max-width: min(580px, 94%);
  object-fit: contain;
  width: auto;
}

.home-form-panel md-card-content {
  padding: 24px 46px 18px;
}

.home-form-panel md-card-actions,
.home-form-panel md-card-actions.home-actions {
  margin: 0;
  padding: 0 46px 42px;
}

.home-actions {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.home-form-heading {
  margin-bottom: 24px;
}

.home-form-kicker {
  color: #F2B705;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.home-form-heading h2 {
  color: #222A59;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.home-fields {
  display: grid;
  gap: 12px;
}

.home-field {
  background: #fff;
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  box-sizing: border-box;
  margin: 0;
  min-height: 52px;
  overflow: hidden;
  padding: 0 14px;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

md-input-container.home-field {
  align-items: center;
  display: flex;
  height: 52px;
  position: relative;
}

.home-field input {
  color: #222A59;
  font-size: 16px;
  height: 36px;
  line-height: 36px;
}

.home-field.md-input-focused {
  background: #fff;
  border-color: #3068D9;
  box-shadow: 0 0 0 3px rgba(48, 104, 217, 0.12);
}

.home-field.md-input-invalid {
  border-color: #dbe3f3;
}

.home-field.md-input-invalid.md-input-focused {
  border-color: #3068D9;
}

.home-field input::placeholder {
  color: #5f6882;
  font-weight: 600;
  opacity: 1;
}

.student-code-panel {
  background: #f8faff;
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  margin-top: 16px;
  padding: 16px;
}

.student-type-group md-radio-button {
  margin: 8px 0;
}

.home-section-title {
  color: #222A59;
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px;
}

.avatar-section {
  margin-top: 22px;
}

.avatar-grid md-radio-group {
  display: grid;
  gap: 12px;
}

.avatar-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.avatar-choice {
  background: #fff;
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  box-sizing: border-box;
  height: 76px;
  margin: 0;
  max-width: none;
  overflow: hidden;
  padding: 8px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.avatar-choice:hover {
  border-color: #3068D9;
  box-shadow: 0 10px 26px rgba(34, 42, 89, 0.12);
  transform: translateY(-1px);
}

.avatar-choice.md-checked {
  border-color: #3068D9;
  box-shadow: 0 0 0 3px rgba(48, 104, 217, 0.14), 0 14px 28px rgba(34, 42, 89, 0.12);
}

.avatar-choice.md-checked::after {
  background: #3068D9;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(48, 104, 217, 0.18);
  content: "";
  height: 12px;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 12px;
}

.avatar-choice .md-label {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-left: 0;
  width: 100%;
}

.avatar-choice .md-container {
  display: none;
}

#welcome-box .avatar-choice img {
  height: 54px;
  max-width: 54px;
  min-width: 54px;
  width: 54px;
}

.contact-consent {
  background: #f8faff;
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  margin: 18px 0 8px;
  padding: 12px 14px 12px 38px;
}

.contact-consent .md-container {
  left: 12px;
}

.contact-consent .md-label {
  color: #4f5873;
  font-size: 13px;
  line-height: 1.35;
  margin-left: 0;
  white-space: normal;
}

#btn-start-game {
  align-items: center;
  background: #3068D9;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(48, 104, 217, 0.28);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  line-height: 1.2;
  margin: 0;
  min-height: 52px;
  min-width: 0;
  padding: 0 18px;
  width: 100%;
}

#btn-start-game:hover {
  background: #222A59;
}

#btn-user-area {
  align-items: center;
  background: #fff;
  border: 1px solid #3068D9;
  border-radius: 8px;
  box-sizing: border-box;
  color: #3068D9;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  line-height: 1.2;
  margin: 16px 0 0;
  min-height: 52px;
  min-width: 0;
  padding: 0 18px;
  text-transform: none;
  width: 100%;
}

#btn-user-area:hover,
#btn-user-area:focus {
  background: #f8faff;
  border-color: #2555b8;
  color: #2555b8;
}

#btn-user-area md-icon {
  color: currentColor;
  flex: 0 0 22px;
  fill: currentColor;
  height: 22px;
  margin: 0 10px 0 0;
  min-height: 22px;
  min-width: 22px;
  width: 22px;
}

#btn-user-area span {
  color: inherit;
  line-height: 1.2;
}

.home-user-area-note {
  color: #5f6882;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin: 12px 0 0;
  text-align: center;
}

.home-contact {
  color: #5f6882;
  font-size: 14px;
  margin: 18px 0 0;
}

.home-contact a {
  color: #3068D9;
  font-weight: 700;
  text-decoration: none;
}

.user-area-login-screen.md-padding {
  background:
    linear-gradient(rgba(244, 247, 251, 0.88), rgba(244, 247, 251, 0.96)),
    url("../img/bg_city.svg") center bottom / 900px auto repeat-x;
  min-height: 100vh;
  padding: 28px 16px;
}

.user-area-language-switch {
  max-width: 1320px;
  padding: 0 8px;
}

#user-area-login-box {
  max-width: 1320px;
  width: 100%;
}

.user-area-login-card {
  border: 1px solid rgba(219, 227, 243, 0.95);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(34, 42, 89, 0.16);
  display: grid;
  grid-template-columns: minmax(430px, 0.47fr) minmax(520px, 0.53fr);
  margin: 0;
  min-height: 934px;
  overflow: hidden;
}

.user-area-login-visual {
  background:
    linear-gradient(180deg, rgba(12, 31, 84, 0.86), rgba(12, 31, 84, 0.74)),
    url("../img/0.png") center center / cover no-repeat;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  min-height: 934px;
  overflow: hidden;
  padding: 76px 38px 70px;
  position: relative;
}

.user-area-visual-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  z-index: 1;
}

.user-area-visual-logo {
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
  height: auto;
  max-width: 210px;
  width: 44%;
}

.user-area-visual-copy {
  align-self: flex-start;
  margin-top: 92px;
  max-width: 420px;
}

.user-area-visual-copy h2 {
  color: #fff;
  font-size: 39px;
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
}

.user-area-visual-copy h2 span,
.user-area-visual-copy h2 strong {
  display: block;
}

.user-area-visual-copy h2 strong {
  color: #F2B705;
  font-weight: 800;
  margin-top: 8px;
}

.user-area-visual-line {
  background: #F2B705;
  border-radius: 999px;
  display: block;
  height: 5px;
  margin: 34px 0 42px;
  width: 58px;
}

.user-area-visual-copy p {
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.user-area-visual-copy p strong {
  color: #F2B705;
  font-weight: 800;
}

.user-area-login-panel {
  align-items: center;
  background: #fff;
  display: flex;
  justify-content: center;
  min-height: 934px;
  padding: 74px 64px;
}

.user-area-login-content {
  max-width: 500px;
  text-align: center;
  width: 100%;
}

.user-area-login-icon {
  align-items: center;
  background: #f3f6ff;
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(48, 104, 217, 0.12);
  display: inline-flex;
  height: 96px;
  justify-content: center;
  margin-bottom: 26px;
  width: 96px;
}

.user-area-login-icon md-icon {
  color: #0f5df5;
  fill: currentColor;
  height: 58px;
  width: 58px;
}

.user-area-login-heading h1 {
  color: #222A59;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.16;
  margin: 0 0 10px;
}

.user-area-login-heading p {
  color: #5368a6;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

.user-area-login-form {
  margin-top: 48px;
  text-align: left;
}

.user-area-login-form label {
  color: #222A59;
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.user-area-email-field {
  align-items: center;
  border: 1px solid #cfdaf0;
  border-radius: 8px;
  box-sizing: border-box;
  display: flex;
  height: 58px;
  padding: 0 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.user-area-email-field:focus-within {
  border-color: #3068D9;
  box-shadow: 0 0 0 3px rgba(48, 104, 217, 0.12);
}

.user-area-email-field md-icon {
  color: #222A59;
  fill: currentColor;
  height: 22px;
  margin: 0 14px 0 0;
  width: 22px;
}

.user-area-email-field input {
  background: #fff;
  border: 0;
  color: #222A59;
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  height: 40px;
  min-width: 0;
  outline: 0;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.user-area-email-field input::placeholder {
  color: #8190bf;
  opacity: 1;
}

.user-area-login-error {
  margin: 12px 0 0;
  text-align: left;
}

.user-area-login-submit.md-button {
  align-items: center;
  background: #0057ff;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 87, 255, 0.3);
  color: #fff;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  height: 64px;
  justify-content: center;
  line-height: 1.2;
  margin: 28px 0 0;
  min-height: 64px;
  padding: 0 20px;
  width: 100%;
}

.user-area-login-submit.md-button:hover,
.user-area-login-submit.md-button:focus {
  background: #004be0;
}

.user-area-login-submit.md-button[disabled] {
  opacity: 0.75;
}

.user-area-login-submit md-icon {
  color: currentColor;
  fill: currentColor;
  height: 23px;
  margin: 0 10px 0 0;
  width: 23px;
}

.user-area-login-submit span {
  color: inherit;
}

.user-area-login-divider {
  align-items: center;
  color: #5368a6;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto 1fr;
  margin: 44px 0 34px;
}

.user-area-login-divider span {
  background: #d6e0f2;
  height: 1px;
}

.user-area-login-divider strong {
  color: #5368a6;
  font-size: 14px;
  font-weight: 800;
}

.user-area-existing-modality {
  appearance: none;
  background: transparent;
  border: 0;
  color: #0057ff;
  cursor: pointer;
  display: block;
  font-family: inherit;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.user-area-existing-modality > span {
  align-items: center;
  color: #0057ff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.25;
}

.user-area-existing-modality md-icon {
  color: currentColor;
  fill: currentColor;
  height: 20px;
  margin-right: 10px;
  width: 20px;
}

.user-area-existing-modality small {
  color: #5368a6;
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 10px;
}

.user-area-existing-modality:hover > span,
.user-area-existing-modality:focus > span {
  color: #004be0;
}

.user-area-contact {
  color: #5368a6;
  font-size: 14px;
  font-weight: 500;
  margin: 24px 0 0;
}

.user-area-contact a {
  color: #0057ff;
  font-weight: 800;
  text-decoration: none;
}

.user-dashboard-screen {
  background:
    linear-gradient(rgba(244, 247, 251, 0.9), rgba(244, 247, 251, 0.96)),
    url("../img/bg_city.svg") center bottom / 900px auto repeat-x;
  box-sizing: border-box;
  min-height: 100vh;
  padding: 46px 24px;
}

.user-dashboard-shell {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1360px;
  width: 100%;
}

.user-dashboard-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(219, 227, 243, 0.95);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(34, 42, 89, 0.13);
  box-sizing: border-box;
  padding: 28px;
}

.user-dashboard-header {
  align-items: center;
  border: 1px solid rgba(207, 218, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(34, 42, 89, 0.08);
  box-sizing: border-box;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 224px;
  padding: 34px 28px;
}

.user-dashboard-profile {
  align-items: center;
  display: flex;
  gap: 18px;
  min-width: 0;
}

.user-dashboard-back.md-button {
  background: #f3f7ff;
  border: 1px solid #dbe6ff;
  height: 58px;
  margin: 0;
  min-height: 58px;
  min-width: 58px;
  width: 58px;
}

.user-dashboard-back md-icon {
  color: #0057ff;
  fill: currentColor;
  height: 27px;
  width: 27px;
}

.user-dashboard-avatar-frame {
  align-items: center;
  background: #f5f8ff;
  border: 1px solid #dbe6ff;
  border-radius: 50%;
  display: inline-flex;
  height: 134px;
  justify-content: center;
  overflow: hidden;
  width: 134px;
}

.user-dashboard-avatar {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.user-dashboard-heading {
  color: #222A59;
  min-width: 0;
}

.user-dashboard-heading > span {
  color: #F2B705;
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.user-dashboard-heading h1 {
  color: #222A59;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  margin: 12px 0 12px;
}

.user-dashboard-heading p {
  color: #222A59;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}

.user-dashboard-heading p strong {
  font-weight: 500;
}

.user-dashboard-heading small {
  color: #5368a6;
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.user-dashboard-actions {
  align-items: center;
  display: flex;
  gap: 40px;
  justify-content: flex-end;
  margin-left: auto;
}

.user-dashboard-access.md-button {
  align-items: center;
  border: 1px solid #0057ff;
  border-radius: 8px;
  color: #0057ff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 10px;
  height: 64px;
  line-height: 1.2;
  margin: 0;
  min-height: 64px;
  padding: 0 24px;
}

.user-dashboard-access md-icon {
  color: currentColor;
  fill: currentColor;
  height: 24px;
  width: 24px;
}

.user-dashboard-score {
  align-items: baseline;
  background: #1f62e8;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(31, 98, 232, 0.28);
  color: #fff;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  min-width: 164px;
  padding: 26px 22px;
}

.user-dashboard-score strong {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.user-dashboard-score span {
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
}

.user-dashboard-table-card {
  border: 1px solid rgba(207, 218, 240, 0.95);
  border-radius: 8px;
  box-sizing: border-box;
  margin-top: 42px;
  overflow: hidden;
}

.user-dashboard-table-wrap {
  overflow-x: auto;
}

.user-dashboard-table {
  border-collapse: collapse;
  color: #222A59;
  min-width: 980px;
  table-layout: fixed;
  width: 100%;
}

.user-dashboard-table th,
.user-dashboard-table td {
  border-bottom: 1px solid #dbe3f3;
  padding: 28px 30px;
  text-align: left;
  vertical-align: middle;
}

.user-dashboard-table th {
  background: #f8fbff;
  color: #0f1955;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.user-dashboard-table td {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.user-dashboard-table tr:last-child td {
  border-bottom: 0;
}

.user-dashboard-table th:nth-child(1),
.user-dashboard-table td:nth-child(1) {
  width: 19%;
}

.user-dashboard-table th:nth-child(2),
.user-dashboard-table td:nth-child(2) {
  width: 32%;
}

.user-dashboard-table th:nth-child(3),
.user-dashboard-table td:nth-child(3) {
  width: 17%;
}

.user-dashboard-table th:nth-child(4),
.user-dashboard-table td:nth-child(4) {
  text-align: center;
  width: 18%;
}

.user-dashboard-table th:nth-child(5),
.user-dashboard-table td:nth-child(5) {
  width: 14%;
}

.user-dashboard-modality-link,
.user-dashboard-certificate-link {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.user-dashboard-modality-link {
  background: #f3f7ff;
  border: 1px solid #dbe6ff;
  color: #0f5df5;
  max-width: 100%;
  padding: 8px 12px;
}

.user-dashboard-certificate-link {
  background: #0f5df5;
  border: 1px solid #0f5df5;
  box-shadow: 0 8px 18px rgba(15, 93, 245, 0.18);
  color: #fff;
  justify-content: center;
  padding: 9px 13px;
}

.user-dashboard-modality-link:hover,
.user-dashboard-modality-link:focus {
  background: #eaf1ff;
  border-color: #9bbcff;
  color: #004be0;
  outline: none;
}

.user-dashboard-certificate-link:hover,
.user-dashboard-certificate-link:focus {
  background: #004be0;
  border-color: #004be0;
  box-shadow: 0 10px 22px rgba(15, 93, 245, 0.24);
  color: #fff;
  outline: none;
}

.user-dashboard-progress-main,
.user-dashboard-progress-sub {
  display: block;
}

.user-dashboard-progress-sub {
  margin-top: 3px;
}

.user-dashboard-certification-badge {
  border-radius: 8px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-width: 66px;
  padding: 8px 12px;
}

.user-dashboard-certification-badge.is-active {
  background: #ecf8ee;
  border: 1px solid #d7efd8;
  color: #16a34a;
}

.user-dashboard-certification-badge.is-inactive {
  background: #fff0f2;
  border: 1px solid #ffd5dd;
  color: #dc2626;
}

.user-dashboard-no-certificate {
  color: #6b7593;
  font-style: italic;
}

.user-dashboard-certificate-empty {
  color: #5368a6;
}

.user-dashboard-progress-note {
  align-items: center;
  border-top: 1px solid #dbe3f3;
  color: #5368a6;
  display: flex;
  font-size: 15px;
  font-weight: 500;
  gap: 14px;
  justify-content: center;
  line-height: 1.35;
  padding: 26px 20px;
}

.user-dashboard-progress-note span {
  align-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: #5368a6;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  height: 21px;
  justify-content: center;
  width: 21px;
}

.user-dashboard-progress-note p {
  margin: 0;
}

.user-dashboard-state {
  color: #5368a6;
  font-size: 16px;
  font-weight: 700;
  padding: 42px 24px;
  text-align: center;
}

.user-dashboard-state-error {
  color: #dc2626;
}

.home-field .md-input {
  border-color: transparent !important;
  border-bottom-width: 0;
  margin: 0;
  padding-bottom: 0;
}

.home-field.md-input-focused .md-input,
.home-field.md-input-invalid .md-input,
.home-field.md-input-invalid.md-input-focused .md-input {
  border-color: transparent !important;
}

.home-field .md-errors-spacer {
  display: none;
  min-height: 0;
}

@media (max-width: 960px) {
  .home-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .user-area-login-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .user-area-login-visual {
    background-position: center top;
    min-height: 560px;
    padding: 56px 32px 52px;
  }

  .user-area-visual-logo {
    max-width: 180px;
    width: 38%;
  }

  .user-area-visual-copy {
    margin-top: 72px;
    max-width: 470px;
  }

  .user-area-visual-copy h2 {
    font-size: 36px;
  }

  .user-area-visual-copy p {
    font-size: 18px;
  }

  .user-area-login-panel {
    min-height: 0;
    padding: 54px 32px 60px;
  }

  .user-area-login-content {
    max-width: 560px;
  }

  .user-dashboard-screen {
    padding: 24px 16px;
  }

  .user-dashboard-panel {
    padding: 18px;
  }

  .user-dashboard-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
    padding: 26px 22px;
  }

  .user-dashboard-actions {
    gap: 16px;
    justify-content: space-between;
    margin-left: 0;
    width: 100%;
  }

  .user-dashboard-access.md-button {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
  }

  .user-dashboard-table-card {
    margin-top: 24px;
  }

  .home-visual-panel {
    height: auto;
    min-height: 250px;
  }

  .home-visual-overlay {
    left: auto;
    min-height: 250px;
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
  }

  .home-form-logo-header {
    padding: 28px 28px 0;
  }

  .home-game-logo {
    max-height: 140px;
    max-width: min(490px, 94%);
  }

  .home-form-panel md-card-content {
    padding: 22px 28px 16px;
  }

  .home-form-panel md-card-actions {
    padding: 0 28px 32px;
  }

  .home-course-title {
    font-size: clamp(28px, 6vw, 34px);
    max-width: min(620px, 100%);
  }
}

@media (max-width: 560px) {
  .home-screen.md-padding,
  .user-area-login-screen.md-padding {
    padding: 12px;
  }

  .user-area-language-switch {
    padding: 0 2px;
  }

  .user-area-login-card {
    border-radius: 8px;
  }

  .user-area-login-visual {
    min-height: 500px;
    padding: 42px 24px;
  }

  .user-area-visual-logo {
    max-width: 150px;
    width: 48%;
  }

  .user-area-visual-copy {
    margin-top: 64px;
    max-width: 100%;
  }

  .user-area-visual-copy h2 {
    font-size: 31px;
  }

  .user-area-visual-line {
    height: 4px;
    margin: 26px 0 32px;
    width: 56px;
  }

  .user-area-visual-copy p {
    font-size: 16px;
  }

  .user-area-login-panel {
    padding: 40px 18px 44px;
  }

  .user-area-login-icon {
    height: 78px;
    margin-bottom: 22px;
    width: 78px;
  }

  .user-area-login-icon md-icon {
    height: 48px;
    width: 48px;
  }

  .user-area-login-heading h1 {
    font-size: 26px;
  }

  .user-area-login-heading p {
    font-size: 14px;
  }

  .user-area-login-form {
    margin-top: 34px;
  }

  .user-area-login-submit.md-button {
    min-width: 100%;
  }

  .user-area-login-divider {
    margin: 34px 0 28px;
  }

  .user-area-existing-modality > span {
    font-size: 15px;
  }

  .user-area-existing-modality small {
    font-size: 12px;
  }

  .home-form-logo-header {
    padding: 22px 18px 0;
  }

  .home-game-logo {
    max-height: 112px;
    max-width: min(390px, 94%);
  }

  .home-language-switch {
    padding: 0 2px;
  }

  .home-card {
    border-radius: 8px;
  }

  .home-visual-panel {
    height: auto;
    min-height: 220px;
  }

  .home-visual-overlay {
    min-height: 220px;
    padding: 22px;
    position: relative;
  }

  .home-course-title {
    font-size: clamp(22px, 7.2vw, 30px);
    line-height: 1.08;
  }

  .home-form-heading h2 {
    font-size: 30px;
  }

  .home-form-panel md-card-content {
    padding: 18px 18px 12px;
  }

  .home-form-panel md-card-actions {
    padding: 0 18px 28px;
  }

  .avatar-row {
    gap: 8px;
  }

  .avatar-choice {
    height: 68px;
    padding: 6px;
  }

  #welcome-box .avatar-choice img {
    height: 46px;
    max-width: 46px;
    min-width: 46px;
    width: 46px;
  }

  #btn-start-game,
  #btn-user-area {
    min-width: 100%;
  }

  .user-dashboard-screen {
    padding: 14px 12px;
  }

  .user-dashboard-panel {
    padding: 12px;
  }

  .user-dashboard-header {
    padding: 20px 16px;
  }

  .user-dashboard-profile {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 52px 92px 1fr;
    width: 100%;
  }

  .user-dashboard-back.md-button {
    height: 52px;
    min-height: 52px;
    min-width: 52px;
    width: 52px;
  }

  .user-dashboard-avatar-frame {
    height: 92px;
    width: 92px;
  }

  .user-dashboard-heading {
    grid-column: 1 / -1;
  }

  .user-dashboard-heading > span {
    font-size: 13px;
  }

  .user-dashboard-heading h1 {
    font-size: 30px;
    margin: 9px 0;
  }

  .user-dashboard-heading p {
    font-size: 16px;
  }

  .user-dashboard-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .user-dashboard-access.md-button,
  .user-dashboard-score {
    width: 100%;
  }

  .user-dashboard-score {
    box-sizing: border-box;
    padding: 20px;
  }

  .user-dashboard-score strong {
    font-size: 42px;
  }

  .user-dashboard-score span {
    font-size: 22px;
  }

  .user-dashboard-table {
    min-width: 0;
  }

  .user-dashboard-table thead {
    display: none;
  }

  .user-dashboard-table,
  .user-dashboard-table tbody,
  .user-dashboard-table tr,
  .user-dashboard-table td {
    display: block;
    width: 100% !important;
  }

  .user-dashboard-table tr {
    border-bottom: 1px solid #dbe3f3;
    padding: 16px;
  }

  .user-dashboard-table tr:last-child {
    border-bottom: 0;
  }

  .user-dashboard-table td {
    border-bottom: 0;
    box-sizing: border-box;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(104px, 38%) 1fr;
    padding: 10px 0;
  }

  .user-dashboard-table td::before {
    color: #0f1955;
    content: attr(data-label);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .user-dashboard-table td:nth-child(4) {
    text-align: left;
  }

  .user-dashboard-progress-note {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 16px;
  }
}

.avatar {
  width: 19%;
  max-width: 64px;
  min-width: 40px;
  border-radius: 50%;
}

.option-correct {
  color: #9DBF21 !important;
}

.option-wrong {
  color: #F24B4B !important;
}

#categories-header {
  width: 100%;
  padding: 25px 25px;
  background-color: #3068D9;
  color: white;
  position: fixed;
  z-index: 1;
  left: 0px;
  top: 0px;
  height: 87px;
}

#categories-header svg {
  fill: #fff;
}

#categories-content md-grid-tile-footer {
  background: rgba(34, 42, 89, 0.5);
}

#categories-header .avatar {
  margin-left: 10px;
  margin-right: 25px;
}

.categories-user-context {
  min-width: 0;
  padding-right: 16px;
}

.categories-username {
  font-size: 24px;
  line-height: 1.15;
}

.categories-course-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.25;
  max-width: 640px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#categories-content {
  position: relative;
}

md-grid-list {
  top: 5.6em;
}

.gdrive-link {
  width: 180px;
  padding-top: 10px;
}

#categories-content .box {
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;
}

.category-attended figure {
  background: url("../img/icons/ic_done_black_24px_green.svg") no-repeat;
  background-position: 10% 10%;
}

img.attended {
  position: relative;
  top: 10px;
}

.box-content .box-content-left {
  padding: 14px 16px;
  border-radius: 50%;
  background-color: #f4f7fb;
  text-align: center;
}

.box-content .box-content-right {
  padding-left: 20px;
}

#categories-content .box:hover {
  background-color: #dbe6ff;
}

#categories-content .category-footer {
  height: 50px;
  background-color: #222A59;
  color: #fff;
  padding: 7px;
}

#questions-header {
  padding: 15px 15px;
}

#questions-header i {
  cursor: pointer;
}

#questions-content {
  max-width: 528px;
  width: 100%;
}

#questions-content md-card-content {
  padding: 20px 0px;
}

.multiple-choice-options {
  padding: 0 20px;
}

.option-multiple-choice {
  margin: 6px 0;
  min-height: 44px;
  line-height: 1.25;
  white-space: normal;
  text-align: left;
  text-transform: none;
}

.option-multiple-choice .md-ripple-container {
  border-radius: 2px;
}

#questions-footer {
  position: absolute;
  left: 0px;
  bottom: 0px;
  height: 80px;
  width: 100%;
}

@media (min-width: 513px) {
  #questions-content .md-title {
    font-size: 1.3em;
  }

  #questions-content md-card-header {
    background: #3068D9;
    padding: 60px 25px;
    color: #fff;
  }

  #score-content md-card-header .md-fab {
    position: absolute;
    margin: 111px 410px;
  }

  #score-content md-card {
    margin-top: 50px;
    width: 512px;
  }

  #questions-footer .status {
    height: 80px;
    width: 512px;
    margin: 0px auto;
    background: #fff;
    bottom: 0px;
  }
}

@media (max-width: 512px) {
  #questions-content .md-title {
    font-size: 1.1em;
  }

  #questions-content md-card-header {
    background: #3068D9;
    padding: 25px 25px;
    color: #fff;
  }

  #score-content md-card-header .md-fab {
    position: absolute;
    margin: 115px -50px;
  }

  #score-content md-card {
    margin-top: 0px;
    width: 100%;
  }

  #questions-footer .status {
    height: 80px;
    width: 100%;
    margin: 0px;
    background: #fff;
  }
}

#questions-footer .status .status-progress {
  height: 5px;
}

.status .status-info {
  padding: 0px 10px;
}

.status-content {
  width: 100%;
}

#questions-footer .status .status-content img {
  margin-right: 15px;
}

#questions-footer .status .avatar {
  width: 48px;
  height: 48px;
}

#questions-footer .status .category-title {
  /*width: 296px;*/
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#winner-point-box {
  padding: 0px 30px;
  background-color: #fff;
  font-size: 1.8em;
  display: none;
}

#score-content md-card-header {
  background: #9DBF21;
  padding: 60px 25px;
  color: #222A59;
}

#score-content md-card-content {
  min-height: 400px;
}

.icon-correct svg {
  fill: #9DBF21;
}
.icon-wrong svg {
  fill: #F24B4B;
}

.passed h3 {
  color: #9DBF21;
}
.disapproved h3 {
  color: #F24B4B;
}

.button-gray {
  background-color: #f4f7fb !important;
}
.button-gray md-icon {
  color: #5f6882;
}

.svg-color-default svg {
  fill: #3068D9;
}

.modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: #dbe3f3;
  color: white;
  z-index: 2;
  visibility: hidden;
  /*opacity: 0;*/
  pointer-events: none;
  transition: 200ms ease, z-index 3s;
  -webkit-transition: 200ms ease, z-index 3s;
  -moz-transition: 200ms ease, z-index 3s;
  -o-transition: 200ms ease, z-index 3s;
  -ms-transition: 200ms ease, z-index 3s;
  overflow: auto;
}

.md-card-image {
  max-height: 150px;
}

#loading {
  /* color: #3068D9; */
  color: #3068D9;
  text-align: center;
  margin-top: 230px;
}

.health {
  width: 16px;
  height: 16px;
}

.health.type-0 svg {
  fill: #c7d2ec;
}

.health.type-1 svg {
  fill: #F24B4B;
}

.readme pre {
  width: 80%;
  word-wrap: break-word;
}

.error {
  color: #F24B4B;
}

.btn-try-certificate {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.btn-try-certificate.certificate-granted .md-button {
  background-color: #dbe3f3;
  color: #222A59;
  box-shadow: none;
}

.certificate-form {
  width: 100%;
  max-width: 600px;
}

.gridList md-grid-list {
  margin: 8px;
}
#box-0 {
  background: #fff7d8;
}
#box-1 {
  background: #e6f2bd;
}
#box-2 {
  background: #fff7d8;
}
#box-3 {
  background: #dbe6ff;
}
#box-4 {
  background: #dbe3f3;
}
#box-5 {
  background: #F2B705;
}
#box-6 {
  background: #9DBF21;
}
#box-7 {
  background: #f8faff;
}
#box-8 {
  background: #3068D9;
}
#box-9 {
  background: #dbe3f3;
}
#box-10 {
  background: #ffdada;
}
#box-11 {
  background: #3068D9;
}
#box-12 {
  background: #9DBF21;
}
#box-13 {
  background: #F2B705;
}
.gridList md-grid-tile {
  cursor: pointer;
  transition: all 400ms ease-out 50ms;
}

button.md-fab.answer-key {
  background-color: #3068D9;
}

button.md-fab.answer-key > md-icon > svg {
  fill: #fff;
}

button.answer-key.md-fab:hover {
  background-color: #3068D9;
}

.gridList md-grid-tile:hover {
  opacity: 0.75;
  /*-webkit-transform: scale(1.5);
     -moz-transform: scale(1.5);
      -ms-transform: scale(1.5);
       -o-transform: scale(1.5);
          transform: scale(1.5);*/
}

.text-align-right {
  text-align: right;
}
.text-align-center {
  text-align: center;
}

/* Modern game flow: categories, question round and score */
.categories-screen,
.round-screen {
  background:
    linear-gradient(rgba(244, 247, 251, 0.9), rgba(244, 247, 251, 0.96)),
    url("../img/bg_city.svg") center bottom / 900px auto repeat-x;
  box-sizing: border-box;
  min-height: 100vh;
}

.categories-screen {
  padding: 24px 0 120px;
}

.categories-shell,
.round-shell {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1120px;
  width: calc(100% - 32px);
}

#categories-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(34, 42, 89, 0.13);
  color: #222A59;
  display: flex;
  height: auto;
  justify-content: space-between;
  left: auto;
  padding: 16px 18px;
  position: sticky;
  top: 16px;
  z-index: 5;
}

#categories-header svg {
  fill: #3068D9;
}

.categories-header-main,
.categories-actions {
  align-items: center;
  display: flex;
  min-width: 0;
}

.categories-header-main {
  gap: 14px;
}

.categories-actions {
  gap: 12px;
  justify-content: flex-end;
}

.categories-back,
.round-back {
  background: #eef3ff;
  border: 1px solid #dbe6ff;
  margin: 0;
}

.categories-avatar,
.round-avatar {
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(34, 42, 89, 0.16);
  height: 58px;
  max-width: 58px;
  min-width: 58px;
  width: 58px;
}

.categories-user-context {
  min-width: 0;
  padding-right: 12px;
}

.categories-kicker,
.round-kicker,
.status-label,
.score-kicker,
.category-card-label,
.round-question-number {
  color: #F2B705;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.categories-course-title {
  color: #222A59;
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 680px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.categories-username {
  color: #5f6882;
  display: block;
  font-size: 14px;
  line-height: 1.35;
  margin-top: 3px;
}

.categories-materials.md-button {
  align-items: center;
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  color: #3068D9;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
  height: 42px;
  line-height: 42px;
  margin: 0;
  padding: 0 14px;
}

.categories-score {
  align-items: baseline;
  background: #3068D9;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(48, 104, 217, 0.22);
  color: #fff;
  display: flex;
  gap: 5px;
  min-width: 84px;
  padding: 9px 14px;
  box-sizing: border-box;
}

.categories-score strong {
  font-size: 26px;
  line-height: 1;
}

.categories-score span {
  font-size: 13px;
  font-weight: 800;
}

#categories-content {
  padding-top: 22px;
  position: relative;
}

.categories-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.category-card {
  -webkit-appearance: none;
  appearance: none;
  background: #fff !important;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(34, 42, 89, 0.1);
  box-sizing: border-box;
  color: #222A59;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  justify-content: space-between;
  min-height: 230px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.category-card::before {
  background: linear-gradient(90deg, #3068D9, #9DBF21, #F2B705);
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.category-card:hover,
.category-card:focus {
  border-color: #3068D9;
  box-shadow: 0 20px 48px rgba(34, 42, 89, 0.16);
  outline: none;
  transform: translateY(-3px);
}

.category-card-icon {
  align-items: center;
  align-self: flex-end;
  background-color: #f8faff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 58%;
  border: 1px solid #dbe3f3;
  border-radius: 50%;
  display: flex;
  height: 96px;
  width: 96px;
}

.category-card-body {
  display: block;
  margin-top: 24px;
}

.category-card-body strong {
  color: #222A59;
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 7px;
  overflow-wrap: anywhere;
}

.category-card-status {
  align-items: center;
  background: #f5f9e8;
  border: 1px solid #e6f2bd;
  border-radius: 999px;
  color: #9DBF21;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 5px;
  line-height: 1;
  margin-top: 18px;
  padding: 8px 11px;
  width: fit-content;
}

.category-card-status md-icon {
  height: 16px;
  min-height: 16px;
  min-width: 16px;
  width: 16px;
}

.category-card-status svg {
  fill: #9DBF21;
}

.category-attended {
  border-color: #dbeaa0;
  box-shadow: 0 16px 40px rgba(157, 191, 33, 0.13);
}

.category-card[disabled] {
  cursor: default;
  opacity: 0.72;
}

.category-card[disabled]:hover,
.category-card[disabled]:focus {
  border-color: #dbeaa0;
  box-shadow: 0 16px 40px rgba(157, 191, 33, 0.13);
  transform: none;
}

.btn-try-certificate {
  bottom: 20px;
  position: fixed;
  right: 20px;
  z-index: 6;
}

.btn-try-certificate .md-button {
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(242, 183, 5, 0.26);
  font-weight: 800;
  min-height: 46px;
  padding: 0 18px;
}

.btn-try-certificate.certificate-granted .md-button {
  background-color: #dbe3f3;
  color: #4f5873;
  box-shadow: none;
}

.welcome-tutorial-dialog {
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(34, 42, 89, 0.3);
  max-height: calc(100vh - 32px);
  max-width: 640px;
  overflow: hidden;
  width: calc(100vw - 32px);
}

.welcome-tutorial-accent {
  background: linear-gradient(90deg, #3068D9, #9DBF21, #F2B705);
  height: 7px;
  width: 100%;
}

.welcome-tutorial-content {
  color: #222A59;
  padding: 26px 28px 10px;
}

.welcome-tutorial-header {
  border-bottom: 1px solid #dbe3f3;
  margin-bottom: 20px;
  padding-bottom: 16px;
}

.welcome-tutorial-header span,
.welcome-tutorial-step {
  color: #F2B705;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.welcome-tutorial-header h2 {
  color: #222A59;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.16;
  margin: 6px 0 0;
  overflow-wrap: anywhere;
}

.welcome-tutorial-page h3 {
  color: #222A59;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin: 8px 0 14px;
}

.welcome-tutorial-page p {
  color: #4f5873;
  font-size: 15px;
  line-height: 1.58;
  margin: 0 0 12px;
}

.welcome-tutorial-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.welcome-tutorial-cards article {
  background: #f8faff;
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  padding: 15px;
}

.welcome-tutorial-cards strong {
  color: #3068D9;
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}

.welcome-tutorial-cards p {
  font-size: 14px;
  margin: 0;
}

.welcome-tutorial-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin: 20px 0 4px;
}

.welcome-tutorial-dots span {
  background: #c7d2ec;
  border-radius: 999px;
  height: 8px;
  transition: background-color 0.2s ease, width 0.2s ease;
  width: 8px;
}

.welcome-tutorial-dots span.active {
  background: #3068D9;
  width: 24px;
}

.welcome-tutorial-actions {
  border-top: 1px solid #dbe3f3;
  padding: 14px 20px 18px;
}

.welcome-tutorial-actions .md-button {
  border-radius: 8px;
  font-weight: 800;
  margin: 0;
}

.welcome-tutorial-skip {
  color: #5f6882;
}

.welcome-tutorial-next.md-button {
  background-color: #3068D9;
  box-shadow: 0 12px 26px rgba(48, 104, 217, 0.22);
  color: #fff;
  min-width: 116px;
}

@media (max-width: 640px) {
  .welcome-tutorial-content {
    padding: 22px 20px 8px;
  }

  .welcome-tutorial-header h2 {
    font-size: 22px;
  }

  .welcome-tutorial-page h3 {
    font-size: 20px;
  }

  .welcome-tutorial-cards {
    grid-template-columns: 1fr;
  }

  .welcome-tutorial-actions {
    padding: 12px 16px 16px;
  }
}

.round-screen {
  padding: 24px 0 128px;
}

#questions-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(34, 42, 89, 0.13);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  position: sticky;
  top: 16px;
  z-index: 5;
}

.round-topbar-main {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.round-context {
  min-width: 0;
}

.round-category-title {
  color: #222A59;
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 680px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

button.md-fab.answer-key,
button.answer-key.md-fab:hover {
  background-color: #3068D9;
  box-shadow: 0 12px 26px rgba(48, 104, 217, 0.28);
}

#round-view {
  margin-top: 38px;
}

.round-question-shell {
  min-height: calc(100vh - 280px);
}

#questions-content {
  max-width: 760px;
  width: 100%;
}

#questions-content md-card.round-question-card {
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(34, 42, 89, 0.16);
  margin: 0;
  overflow: hidden;
}

#questions-content md-card-header {
  background:
    linear-gradient(135deg, rgba(34, 42, 89, 0.96), rgba(48, 104, 217, 0.9)),
    url("../img/bg_city.svg") center bottom / 520px auto repeat-x;
  color: #fff;
  padding: 44px 38px;
}

#questions-content .round-question-number {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
}

#questions-content .round-question-title {
  color: #fff;
  display: block;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

#questions-content md-card-content {
  padding: 28px;
}

.binary-options {
  gap: 16px;
  margin: 0;
}

.option-correct,
.option-wrong,
.option-multiple-choice {
  border-radius: 8px;
  box-shadow: none;
  font-weight: 800;
  margin: 0;
  min-height: 50px;
  text-transform: none;
}

.option-correct {
  background: #f5f9e8 !important;
  border: 1px solid #dbeaa0;
  color: #9DBF21 !important;
}

.option-wrong {
  background: #fff7d8 !important;
  border: 1px solid #F2B705;
  color: #222A59 !important;
}

.option-correct:hover,
.option-wrong:hover,
.option-multiple-choice:hover {
  box-shadow: 0 12px 26px rgba(34, 42, 89, 0.12);
}

.multiple-choice-options {
  display: grid;
  gap: 10px;
  padding: 0;
}

.option-multiple-choice {
  background: #f8faff !important;
  border: 1px solid #dbe3f3;
  color: #222A59 !important;
  line-height: 1.3;
  padding: 10px 16px;
  text-align: left;
  white-space: normal;
}

.option-multiple-choice:hover {
  background: #eef3ff !important;
  border-color: #3068D9;
}

#winner-point-box {
  background: #3068D9;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(48, 104, 217, 0.28);
  color: #fff;
  display: none;
  font-size: 1.8em;
  margin-bottom: 18px;
  padding: 0 30px;
}

#questions-footer {
  bottom: 16px;
  height: auto;
  left: 0;
  pointer-events: none;
  position: fixed;
  width: 100%;
  z-index: 6;
}

#questions-footer .round-status-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(34, 42, 89, 0.18);
  height: auto;
  margin: 0 auto;
  max-width: 760px;
  overflow: hidden;
  pointer-events: auto;
  width: calc(100% - 32px);
}

#questions-footer .status .status-progress {
  background: linear-gradient(90deg, #3068D9, #9DBF21, #F2B705);
  height: 5px;
}

#questions-footer .status-info {
  padding: 12px 16px;
}

#questions-footer .status-avatar {
  height: 46px;
  margin-right: 14px;
  max-width: 46px;
  min-width: 46px;
  width: 46px;
}

.status-context {
  min-width: 0;
}

#questions-footer .status .category-title {
  color: #222A59;
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-progress-text {
  color: #5f6882;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.status-metric {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 92px;
}

.status-score {
  color: #3068D9;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.status-health {
  align-items: center;
  display: flex;
  gap: 2px;
}

.health {
  height: 16px;
  width: 16px;
}

#score-content.round-score-shell {
  min-height: calc(100vh - 180px);
  padding: 34px 0 0;
}

#score-content md-card.round-score-card {
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(34, 42, 89, 0.16);
  margin: 0;
  max-width: 760px;
  overflow: hidden;
  width: 100%;
}

#score-content md-card-header {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(34, 42, 89, 0.96), rgba(48, 104, 217, 0.9)),
    url("../img/bg_city.svg") center bottom / 520px auto repeat-x;
  color: #fff;
  min-height: 0;
  padding: 38px;
  position: relative;
}

#score-content .score-kicker {
  color: rgba(255, 255, 255, 0.82);
}

#score-content md-card-header .md-title {
  color: #fff;
  display: block;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 4px;
}

#score-content .score-resume h3,
#score-content .score-resume h4 {
  color: #fff;
  margin: 10px 0 0;
}

.score-share-link {
  appearance: none;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(204, 251, 241, 0.44);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 10px;
  padding: 10px 12px;
  text-align: left;
  text-decoration: none;
}

.score-share-link:hover,
.score-share-link:focus {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.score-share-link[disabled] {
  cursor: default;
  opacity: 0.7;
}

.score-share-feedback {
  color: rgba(255, 255, 255, 0.82);
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 8px;
}

#score-content .score-next-button {
  background: #fff !important;
  box-shadow: 0 12px 26px rgba(34, 42, 89, 0.2);
  margin: 0 0 0 18px;
  position: static;
}

#score-content md-card-header .score-next-button.md-fab {
  margin: 0 0 0 18px;
  position: static;
}

#score-content md-card-content {
  min-height: 0;
  padding: 28px 34px 34px;
}

.score-message {
  background: #f8faff;
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 16px 18px;
}

.score-pending-message {
  color: #222A59;
}

.score-answers-list {
  padding: 0;
}

.score-answer-item {
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 12px;
}

.score-answer-item .md-list-item-text p {
  color: #222A59;
  line-height: 1.35;
}

@media (max-width: 780px) {
  .categories-screen,
  .round-screen {
    padding-top: 12px;
  }

  #categories-header,
  #questions-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    top: 8px;
  }

  .categories-actions {
    justify-content: space-between;
    width: 100%;
  }

  .categories-course-title,
  .round-category-title {
    max-width: none;
    white-space: normal;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }

  .category-card {
    min-height: 200px;
  }

  #round-view {
    margin-top: 22px;
  }

  #questions-content md-card-header,
  #score-content md-card-header {
    padding: 30px 24px;
  }

  #questions-content .round-question-title {
    font-size: 21px;
  }

  .binary-options {
    flex-direction: column;
  }

  .binary-options .md-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .categories-shell,
  .round-shell {
    width: calc(100% - 24px);
  }

  .categories-avatar,
  .round-avatar {
    height: 50px;
    max-width: 50px;
    min-width: 50px;
    width: 50px;
  }

  .categories-course-title {
    font-size: 19px;
  }

  .categories-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .categories-materials.md-button,
  .categories-score {
    justify-content: center;
    width: 100%;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 180px;
  }

  .category-card-icon {
    height: 78px;
    width: 78px;
  }

  .btn-try-certificate {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }

  .btn-try-certificate .md-button {
    margin: 0;
    width: 100%;
  }

  #questions-content md-card-content,
  #score-content md-card-content {
    padding: 22px 18px;
  }

  #questions-footer .round-status-card {
    width: calc(100% - 24px);
  }

  #questions-footer .status-info {
    padding: 10px 12px;
  }

  #questions-footer .status-avatar {
    display: none;
  }

  .status-metric {
    min-width: 74px;
  }

  .status-score {
    font-size: 25px;
  }

  #score-content md-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  #score-content .score-next-button {
    margin: 20px 0 0;
  }

  #score-content md-card-header .score-next-button.md-fab {
    margin: 20px 0 0;
  }
}

/* Modern certificate flow */
.certificate-screen {
  background:
    linear-gradient(rgba(244, 247, 251, 0.9), rgba(244, 247, 251, 0.96)),
    url("../img/bg_city.svg") center bottom / 900px auto repeat-x;
  box-sizing: border-box;
  min-height: 100vh;
  padding: 28px 16px;
}

.certificate-card {
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(34, 42, 89, 0.18);
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(440px, 1fr);
  margin: 0 auto;
  max-width: 1120px;
  min-height: 690px;
  overflow: hidden;
  width: 100%;
}

.certificate-visual-panel {
  background:
    linear-gradient(135deg, rgba(34, 42, 89, 0.97), rgba(48, 104, 217, 0.88)),
    url("../img/bg_city.svg") center bottom / 640px auto repeat-x;
  color: #fff;
  min-height: 690px;
  overflow: hidden;
  position: relative;
}

.certificate-visual-panel::after {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(34, 42, 89, 0.02), rgba(34, 42, 89, 0.42));
  content: "";
  inset: 0;
  position: absolute;
}

.certificate-visual-overlay {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
  padding: 34px;
  position: relative;
  z-index: 1;
}

.certificate-back {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  left: 24px;
  margin: 0;
  position: absolute;
  top: 24px;
}

.certificate-back svg {
  fill: #fff;
}

.certificate-brand {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 18px;
  padding: 8px 12px;
  text-transform: uppercase;
  width: fit-content;
}

.certificate-context {
  max-width: 520px;
}

.certificate-kicker,
.certificate-form-kicker {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.certificate-kicker {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 8px;
}

.certificate-context h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
  overflow-wrap: anywhere;
}

.certificate-context p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.5;
  margin: 16px 0 0;
}

.certificate-form-panel {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.certificate-form-panel md-card-content {
  padding: 42px 46px 18px;
}

.certificate-form-panel md-card-actions {
  padding: 0 46px 42px;
}

.certificate-heading {
  margin-bottom: 22px;
}

.certificate-form-kicker {
  color: #F2B705;
  margin-bottom: 6px;
}

.certificate-heading h2 {
  color: #222A59;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.18;
  margin: 0;
}

.certificate-form {
  max-width: none;
  width: 100%;
}

.certificate-field-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.certificate-field {
  background: #fff;
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  box-sizing: border-box;
  margin: 0 0 12px;
  min-height: 52px;
  overflow: hidden;
  padding: 0 14px;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

md-input-container.certificate-field {
  align-items: center;
  display: flex;
  height: 52px;
  position: relative;
}

.certificate-field input {
  color: #222A59;
  font-size: 16px;
  height: 36px;
  line-height: 36px;
}

.certificate-field.md-input-focused {
  background: #fff;
  border-color: #3068D9;
  box-shadow: 0 0 0 3px rgba(48, 104, 217, 0.12);
}

.certificate-field.md-input-invalid {
  border-color: #dbe3f3;
}

.certificate-field.md-input-invalid.md-input-focused {
  border-color: #3068D9;
}

.certificate-field input::placeholder {
  color: #5f6882;
  font-weight: 600;
  opacity: 1;
}

.certificate-field .md-input,
.certificate-field.md-input-focused .md-input,
.certificate-field.md-input-invalid .md-input,
.certificate-field.md-input-invalid.md-input-focused .md-input {
  background-image: none !important;
  border-color: transparent !important;
  border-bottom-width: 0;
  margin: 0;
  padding-bottom: 0;
}

.certificate-field .md-input[disabled] {
  background-image: none !important;
  border-bottom-color: transparent !important;
  border-bottom-width: 0;
  color: #9aa4bd;
  cursor: default;
}

.certificate-select-field select.md-input {
  color: #222A59;
  cursor: pointer;
  font-weight: 700;
  height: 36px;
  line-height: 36px;
  width: 100%;
}

.certificate-select-field select.md-input:invalid {
  color: #5f6882;
  font-weight: 600;
}

.certificate-field .md-errors-spacer {
  display: none;
  min-height: 0;
}

.certificate-field-error {
  color: #F24B4B;
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  margin: 6px 0 0;
}

.certificate-checkbox {
  background: #f8faff;
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  margin: 4px 0 14px;
  padding: 12px 14px 12px 38px;
}

.certificate-checkbox .md-container {
  left: 12px;
}

.certificate-checkbox .md-label {
  color: #4f5873;
  font-size: 14px;
  line-height: 1.35;
  margin-left: 0;
  white-space: normal;
}

.certificate-email-note {
  background: #eef3ff;
  border: 1px solid #dbe6ff;
  border-radius: 8px;
  color: #4f5873;
  font-size: 14px;
  line-height: 1.4;
  margin: 4px 0 14px;
  padding: 13px 14px;
}

.certificate-email-note span,
.certificate-email-note strong {
  display: block;
}

.certificate-email-note strong {
  color: #3068D9;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.certificate-error {
  background: #fff0f0;
  border: 1px solid #ffdada;
  border-radius: 8px;
  color: #F24B4B;
  font-weight: 700;
  margin: 0 0 12px;
  padding: 12px 14px;
}

.certificate-submit {
  background: #3068D9 !important;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(48, 104, 217, 0.28);
  color: #fff !important;
  font-weight: 800;
  height: 52px;
  margin: 0;
  min-width: 180px;
}

.certificate-submit:hover {
  background: #222A59 !important;
}

.certificate-message-screen {
  align-items: center;
  display: flex;
  justify-content: center;
}

.certificate-message-card {
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(34, 42, 89, 0.16);
  box-sizing: border-box;
  margin: 0;
  max-width: 620px;
  padding: 42px;
  text-align: center;
  width: 100%;
}

.certificate-message-icon {
  align-items: center;
  background: #fff7d8;
  border: 1px solid #f7dc82;
  border-radius: 50%;
  display: inline-flex;
  height: 72px;
  justify-content: center;
  margin-bottom: 22px;
  width: 72px;
}

.certificate-message-icon svg {
  fill: #F2B705;
}

.certificate-message-icon-success {
  background: #f5f9e8;
  border-color: #e6f2bd;
}

.certificate-message-icon-success svg {
  fill: #9DBF21;
}

.certificate-message-card h1 {
  color: #222A59;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
  margin: 8px 0 12px;
}

.certificate-message-card p {
  color: #4f5873;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 auto 20px;
  max-width: 460px;
}

.certificate-message-course {
  background: #f8faff;
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  color: #222A59;
  font-weight: 800;
  margin: 0 auto 22px;
  max-width: 460px;
  overflow-wrap: anywhere;
  padding: 12px 14px;
}

.certificate-message-action {
  background: #3068D9 !important;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(48, 104, 217, 0.24);
  color: #fff !important;
  font-weight: 800;
  min-height: 48px;
  padding: 0 18px;
}

@media (max-width: 960px) {
  .certificate-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .certificate-visual-panel {
    min-height: 270px;
  }

  .certificate-form-panel md-card-content {
    padding: 34px 28px 16px;
  }

  .certificate-form-panel md-card-actions {
    padding: 0 28px 32px;
  }
}

@media (max-width: 560px) {
  .certificate-screen {
    padding: 12px;
  }

  .certificate-card,
  .certificate-message-card {
    border-radius: 8px;
  }

  .certificate-visual-panel {
    min-height: 240px;
  }

  .certificate-visual-overlay {
    padding: 24px;
  }

  .certificate-context h1 {
    font-size: 25px;
  }

  .certificate-context p {
    font-size: 14px;
  }

  .certificate-heading h2 {
    font-size: 23px;
  }

  .certificate-form-panel md-card-content {
    padding: 28px 18px 12px;
  }

  .certificate-form-panel md-card-actions {
    padding: 0 18px 28px;
  }

  .certificate-field-grid {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .certificate-submit,
  .certificate-message-action {
    margin: 0;
    width: 100%;
  }

  .certificate-message-card {
    padding: 32px 22px;
  }

  .certificate-message-card h1 {
    font-size: 30px;
  }
}

/* Certificate issue layout variation */
.certificate-entry-screen {
  padding-bottom: 44px;
}

.certificate-workspace {
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

.certificate-hero {
  background:
    linear-gradient(135deg, rgba(34, 42, 89, 0.97), rgba(48, 104, 217, 0.9)),
    url("../img/bg_city.svg") center bottom / 760px auto repeat-x;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(34, 42, 89, 0.16);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 280px;
  overflow: hidden;
  padding: 34px;
  position: relative;
}

.certificate-hero::after {
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.16), transparent 25%),
    linear-gradient(180deg, rgba(34, 42, 89, 0.02), rgba(34, 42, 89, 0.35));
  content: "";
  inset: 0;
  position: absolute;
}

.certificate-hero .certificate-back {
  left: 24px;
  position: absolute;
  top: 24px;
  z-index: 2;
}

.certificate-hero-content {
  align-self: flex-end;
  max-width: 650px;
  min-width: 0;
  padding-top: 54px;
  position: relative;
  z-index: 1;
}

.certificate-hero .certificate-brand {
  margin-bottom: 18px;
}

.certificate-hero h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  overflow-wrap: anywhere;
}

.certificate-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.5;
  margin: 14px 0 0;
  max-width: 560px;
}

.certificate-hero-meta {
  align-self: flex-end;
  display: grid;
  gap: 10px;
  min-width: 230px;
  position: relative;
  z-index: 1;
}

.certificate-hero-meta span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  color: #fff;
  display: block;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  padding: 12px 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.certificate-issue-card {
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(34, 42, 89, 0.14);
  margin: -16px auto 0;
  overflow: hidden;
  position: relative;
  width: calc(100% - 48px);
  z-index: 2;
}

.certificate-issue-heading {
  align-items: flex-start;
  background: #fff;
  border-bottom: 1px solid #dbe3f3;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 28px 32px 24px;
}

.certificate-issue-heading h2 {
  color: #222A59;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

.certificate-issue-layout {
  background: #fff;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
}

.certificate-summary-panel {
  background: #f8faff;
  border-right: 1px solid #dbe3f3;
  box-sizing: border-box;
  padding: 30px 28px;
}

.certificate-summary-icon {
  align-items: center;
  background: #eef3ff;
  border: 1px solid #dbe6ff;
  border-radius: 50%;
  display: flex;
  height: 62px;
  justify-content: center;
  margin-bottom: 20px;
  width: 62px;
}

.certificate-summary-icon svg {
  fill: #3068D9;
}

.certificate-summary-kicker {
  color: #F2B705;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.certificate-summary-panel > strong {
  color: #222A59;
  display: block;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 8px;
}

.certificate-summary-panel > p {
  color: #4f5873;
  font-size: 14px;
  line-height: 1.45;
  margin: 12px 0 20px;
  overflow-wrap: anywhere;
}

.certificate-summary-panel .certificate-email-note {
  background: #fff;
  margin: 0;
}

.certificate-form-area {
  box-sizing: border-box;
  padding: 30px 32px 32px;
}

.certificate-form-section {
  border-bottom: 1px solid #dbe3f3;
  margin-bottom: 22px;
  padding-bottom: 10px;
}

.certificate-form-section:last-of-type {
  margin-bottom: 16px;
}

.certificate-form-section h3 {
  color: #222A59;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 16px;
}

.certificate-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

@media (max-width: 900px) {
  .certificate-hero {
    flex-direction: column;
    min-height: 300px;
  }

  .certificate-hero-meta {
    align-self: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .certificate-issue-layout {
    grid-template-columns: 1fr;
  }

  .certificate-summary-panel {
    border-bottom: 1px solid #dbe3f3;
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .certificate-hero {
    min-height: 310px;
    padding: 24px;
  }

  .certificate-hero h1 {
    font-size: 27px;
  }

  .certificate-hero-meta {
    grid-template-columns: 1fr;
  }

  .certificate-issue-card {
    /* margin-top: -24px; */
    margin-top: 0;
    width: 100%;
  }

  .certificate-issue-heading,
  .certificate-form-area,
  .certificate-summary-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .certificate-issue-heading h2 {
    font-size: 23px;
  }
}
