:root {
  --e-global-color-primary: #081466;
  --e-global-color-secondary: #7b7e8f;
  --e-global-color-text: #666666;
  --e-global-color-accent: #1967d2;
  --e-global-typography-primary-font-family: "Reddit Sans";
  --e-global-typography-primary-font-weight: 200;
}

.fame-login-from-wrap,
.fame-userform-wrap {
  display: flex;
  width: 100%;
}
.fame-login-from-inn {
  display: inline-flex;
  background-color: #f3f6ff;
  box-shadow: 2px 2px 25px rgba(8, 20, 102, 0.08);
  border-radius: 20px;
  overflow: hidden;
}
.fame-login-thumb-sec {
  display: inline-flex;
  width: 400px;
}
.fame-userform-main {
  display: flex;
  padding: 5%;
}
.fame-userform-box-top {
  display: flex;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 2px 2px 25px rgba(8, 20, 102, 0.08);
  border-radius: 10px;
  padding: 24px 40px;
  flex-wrap: wrap;
  gap: 15px;
}
.field-item-con {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 5px;
}
.field-item-con label {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #34353c;
}
.field-item-con.forgotpass-rember-con {
  justify-content: flex-end;
}
body .fame-forgotpass-btn {
  text-decoration: none;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: var(--e-global-color-primary);
}
body input.fame-input-field,
.fame-select-style .select2-container .select2-selection--single {
  display: flex;
  width: 100%;
  border: none;
  border-radius: 5px;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #858a9b;
  padding: 5px 12px;
  height: 44px;
  outline: none;
  background-color: #f3f6ff;
}
body input.fame-input-field:focus {
  color: #000000;
}
input.fame-input-field::placeholder {
  color: #858a9b;
  opacity: 1;
}
input.fame-input-field:-ms-input-placeholder {
  color: #858a9b;
}
input.fame-input-field::-ms-input-placeholder {
  color: #858a9b;
}
.login-remembr-con {
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: center;
}
.login-remembr-con label {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #7b7e8f;
}
.login-remembr-con input[type="checkbox"] {
  display: inline-flex;
  min-width: 20px;
  width: 20px;
  height: 20px;
  border: 1px solid #dfdfdf;
  border-radius: 4px;
}
.form-submit-btncon button {
  display: flex;
  width: 100%;
  background-color: var(--e-global-color-primary);
  border-radius: 5px;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  padding: 8px;
  justify-content: center;
  border: 1px solid var(--e-global-color-primary);
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -ms-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.form-submit-btncon button:hover {
  background-color: #ffffff;
  color: var(--e-global-color-primary);
}
.fame-return-registrcon,
.fame-return-logncon,
.fame-return-logincon {
  display: flex;
  width: 100%;
  justify-content: center;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #34353c;
  gap: 2px;
}
.fame-return-registrcon a,
.fame-return-logncon a,
.fame-return-logincon a {
  color: #34353c;
  font-weight: bold;
}
.fame-form-style {
  display: flex;
  min-width: 440px;
  width: 440px;
  flex-wrap: wrap;
  gap: 20px;
}
.fame-userform-mntitle {
  display: flex;
  width: 100%;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: var(--e-global-color-primary);
}
.fame-dashboard-account-user {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  justify-content: flex-end;
  position: relative;
}
.fame-dashboard-account-user:hover .fame-useracount-dropnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
}
.fame-dashboard-account-user:hover .fame-dashboard-user-link i {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
body ul.fame-options-wrap,
body li.jobpro-list-item {
  margin: 0px;
  padding: 0px;
}
.fame-useracount-dropnav,
.fame-typo-wrap .fame-useracount-dropnav {
  position: absolute;
  right: 0px;
  top: 100%;
  background-color: #fff;
  min-width: max-content;
  box-shadow: 0px 0px 16px 1px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 0px 0px 0px 0px;
  z-index: 15;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  transform: translateY(0.6rem);
  -webkit-transform: translateY(0.6rem);
  -moz-transform: translateY(0.6rem);
  -ms-transform: translateY(0.6rem);
  -o-transform: translateY(0.6rem);
}
.fame-useracount-dropnav:before,
.fame-typo-wrap .fame-useracount-dropnav:before {
  content: "";
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  position: absolute;
  right: 41px;
  top: -10px;
}
.fame-useracount-dropnav li.fame-list-item,
.fame-typo-wrap .fame-useracount-dropnav li.fame-list-item {
  list-style: none;
}
.fame-useracount-dropnav li.fame-list-item a,
.fame-typo-wrap .fame-useracount-dropnav li.fame-list-item a {
  display: flex;
  padding: 8px 20px;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid #dcddea;
  color: #444;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.fame-useracount-dropnav li.fame-list-item:hover a,
.fame-useracount-dropnav li.fame-list-item.fame-active-menu a,
.fame-typo-wrap .fame-useracount-dropnav li.fame-list-item:hover a,
.fame-typo-wrap .fame-useracount-dropnav li.fame-list-item.fame-active-menu a {
  background-color: var(--e-global-color-primary);
  color: #fff;
}
.fame-useracount-dropnav li.fame-list-item:last-child a,
.fame-typo-wrap .fame-useracount-dropnav li.fame-list-item:last-child a {
  border-bottom: none;
}
.fame-body-main .fame-dashboard-user-link {
  display: inline-flex;
  font-weight: 500;
  align-items: center;
  font-size: 14px;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}
.fame-body-main .fame-dashboard-user-link i {
  display: inline-flex;
  font-size: 60%;
  vertical-align: middle;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.fame-body-main .fame-dashboard-user-link img {
  border-radius: 100%;
  display: inline-flex;
  vertical-align: middle;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  padding: 3px;
}
.fame-body-main .fame-dashboard-user-link:hover .fame-useraccount-data-title {
  opacity: 1;
  visibility: visible;
}
.fame-body-main .fame-dashboard-user-link span.fame-useraccount-data-title {
  background-color: #fff;
  color: #333;
  font-size: 14px;
  position: absolute;
  bottom: 100%;
  left: 0px;
  white-space: nowrap;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  padding: 8px 15px;
  line-height: 1;
  border-radius: 4px;
  -webkit-transition: all 0.4s ease-in;
  -moz-transition: all 0.4s ease-in;
  -ms-transition: all 0.4s ease-in;
  -o-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}
.fame-body-main
  .fame-dashboard-user-link
  span.fame-useraccount-data-title::before {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 10px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ffffff;
}
.single-fame_system .fame-login-thumb-sec {
  display: none;
}
.single-fame_system .fame-login-from-inn {
  background-color: transparent;
  box-shadow: none;
}
.single-fame_system .fame-userform-main {
  padding: 0px;
}
.googlesitekit-sign-in-with-google__frontend-output-button,
.googlesitekit-sign-in-with-google__frontend-output-button > div,
.googlesitekit-sign-in-with-google__frontend-output-button > div > div {
  display: flex;
  width: 100% !important;
  justify-content: center;
}
.googlesitekit-sign-in-with-google__frontend-output-button
  > div
  div:first-child {
  display: none;
}
.fame-mock-test-boxes {
  display: grid;
  width: 100%;
  grid-template-columns: auto auto auto auto;
  margin: 0px;
  gap: 20px;
  margin-bottom: 20px;
}
.fame-mock-test-boxes .fame-mock-test-resbox {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 2px 2px 25px rgba(8, 20, 102, 0.08);
  border-left: 5px solid #0084C5;
  display: flex;
  align-items: center;
}
.fame-mock-test-boxes .fame-mock-test-resbox-score .fame-icon-con {
  background-color: #cefbe6;
  color: #00986c;
}
.fame-mock-test-boxes .fame-mock-test-resbox-bstscore .fame-icon-con {
  background-color: #fff1cb;
  color: #e07027;
}
.fame-mock-test-boxes .fame-mock-test-resbox-prctscore .fame-icon-con {
  background-color: #f3e8fd;
  color: #943de3;
}
.fame-mock-test-boxes .fame-mock-test-boxinr {
  display: flex;
  width: 100%;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}
.fame-mock-test-boxes .fame-mock-box-desc {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.fame-mock-test-boxes .fame-mock-box-desc strong {
	display: flex;
	width: 100%;
	font-size: 20px;
	line-height: 36px;
	letter-spacing: 0.02em;
	color: #333333;
}
.fame-mock-test-boxes .fame-mock-box-desc span {
	display: flex;
	width: 100%;
	font-size: 18px;
	color: #181818;
	font-style: normal;
	font-weight: 500;
}
.fame-mock-test-boxes .fame-icon-con {
  display: inline-flex;
  min-width: 50px;
  height: 50px;
  background-color: #d9ebfd;
  color: #006ce4;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
}
.fame-mock-test-boxes .fame-icon-con i {
  font-size: 24px;
  padding-top: 6px;
}
.fame-testquest-hder {
	display: flex;
	width: 100%;
	background: linear-gradient(90deg, #D8EDFF 0%, #FFEFFF 100%);
	border-radius: 10px;
	gap: 15px;
	padding: 13px 20px;
	align-items: center;
}
.fame-testquest-hder h2 {
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 17px;
	color: #181818;
	margin: 0px;
}
.fame-testquest-hder h2 span {
	font-weight: 600;
}
.fame-testquest-hder i {
	display: inline-flex;
	width: 34px;
	height: 34px;
	min-width: 34px;
	font-size: 16px;
	color: #ffffff;
	background-color: #0084C5;
	border-radius: 100%;
	align-items: center;
    justify-content: center;
    padding-top: 4px;
}
a.fame-reset-mocked-test {
  display: flex;
  width: 100%;
  background-color: #ff5050;
  color: #ffffff;
  padding: 20px 20px;
  font-size: 16px;
  line-height: 1;
  border-radius: 4px;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.fame-quiz-table {
  width: 100%;
  border-collapse: collapse;
}
.fame-evalute-reps-maincon {
  display: flex;
  width: 100%;
  background-color: #ffffff;
  flex-wrap: wrap;
}
.fame-evalute-reps-maincon span.fame-demoleftime-txt {
  display: flex;
  width: 100%;
  padding: 15px 20px;
  font-size: 20px;
  font-weight: 500;
  border-bottom: 1px solid #e2e3eb;
}
.fame-quiz-top-results {
  display: flex;
  width: 100%;
  background-color: #fff;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-radius: 10px;
}
.fame-quiz-tablholdr {
  display: flex;
  width: 100%;
  padding: 20px;
}
.fame-quiz-title {
  margin: 0px;
  display: flex;
  width: 100%;
  border-bottom: 1px solid #e2e3eb;
  padding: 15px 20px;
  justify-content: center;
}
.fame-quiz-header {
  background-color: #f9fafb;
  color: #6a737f;
  padding: 10px;
  text-align: left;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}
.fame-quiz-row:nth-child(even) {
  background-color: #f9fafb;
}
.fame-quiz-cell {
  padding: 12px;
  text-align: left;
  font-size: 14px;
}
.fame-quiz-cell span.fame-status-itm {
  color: #fff;
  display: inline-flex;
  padding: 4px 12px;
  line-height: 1;
  border-radius: 80px;
  font-size: 13px;
}
.fame-quiz-row td.fame-quiz-cell:nth-child(1),
.fame-quiz-row td.fame-quiz-cell:nth-child(2) {
  text-transform: capitalize;
  font-weight: bold;
}
.fame-score-green {
  color: green;
}
.fame-score-blue {
  color: #007bff;
}
.fame-score-yellow {
  color: #ffcc00;
}
.fame-score-fail {
  color: #e74444;
}
.fame-status-excellent {
  color: green;
  font-weight: bold;
}
.fame-status-excellent span.fame-status-itm {
  background-color: #26b126;
}
.fame-status-good {
  color: #007bff;
}
.fame-status-good span.fame-status-itm {
  background-color: #007bff;
}
.fame-status-fair {
  color: #ffcc00;
}
.fame-status-fair span.fame-status-itm {
  background-color: #ffcc00;
  color: #444444;
}
.fame-status-fail {
  color: red;
}
.fame-status-fail span.fame-status-itm {
  background-color: #e74444;
}
.fame-results-maincon {
  display: flex;
  width: 100%;
  gap: 20px;
  flex-direction: row-reverse;
  align-items: flex-start;
}
.fame-results-maincon .fame-demotime-countdown-con {
  flex-wrap: wrap;
  gap: 15px;
  padding: 0px;
  position: sticky;
  top: 50px;
}
.fame-results-maincon .fame-demotime-countdown-con span {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #e2e3eb;
  padding: 15px 20px;
  justify-content: center;
}
.fame-results-maincon .fame-demotime-countdown {
	padding: 5px 20px 20px 20px;
	width: 100%;
	justify-content: center;
	gap: 15px;
}
.fame-results-maincon .fame-demotime-countdown div {
	display: inline-flex;
	padding: 10px 18px;
	background-color: #0089c1;
	color: #fff;
	border-radius: 6px;
	flex: 1;
	justify-content: center;
}
.fame-results-wrap {
  flex: 1;
}
.fame-mock-questionare-maincon {
  flex: 3;
}
/* TopScorers */
.fame-topscorers-box {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	background-color: #ffffff;
	box-shadow: 2px 2px 25px rgba(8, 20, 102, 0.08);
	border-radius: 10px;
	padding: 20px 20px 28px 20px;
	gap: 22px 10px;
}
.fame-topscorers-mntlt {
	display: flex;
	width: 100%;
	font-style: normal;
	font-weight: 600;
	font-size: 18px;
	color: #181818;
	grid-column: 1 / -1;
}
.fame-topscorers-item {
	display: flex;
	flex-wrap: wrap;
	background-color: #F6F7F9;
	border-radius: 10px;
	padding: 10px 15px;
	gap: 9px;
}

.fame-topscorers-item.fame-excellnt {
	background: rgba(73, 193, 146, 0.05);
}
.fame-topscorers-item.fame-excellnt .fame-topscorers-name {
	color: #2AB17C;
}
.fame-topscorers-item.fame-excellnt .fame-topscorers-prcnt {
	color: #49C192;
	border-color: #49C192;
}
.fame-topscorers-item.fame-excellnt .fame-topscorers-mntlt-content span {
	color: #475467;
}
.fame-topscorers-item.fame-excellnt .fame-topscorers-mntlt-content small {
	color: #49C192;
}
.fame-topscorers-item.fame-excellnt .fame-topscorers-status {
	background-color: #49C192;
	color: #ffffff;
}

.fame-topscorers-item.fame-good {
	background: rgba(24, 119, 242, 0.05);
}
.fame-topscorers-item.fame-good .fame-topscorers-name {
	color: #1877F2;
}
.fame-topscorers-item.fame-good .fame-topscorers-prcnt {
	color: #1877F2;
	border-color: #1877F2;
}
.fame-topscorers-item.fame-good .fame-topscorers-mntlt-content span {
	color: #475467;
}
.fame-topscorers-item.fame-good .fame-topscorers-mntlt-content small {
	color: #1877F2;
}
.fame-topscorers-item.fame-good .fame-topscorers-status {
	background-color: #1877F2;
	color: #ffffff;
}

.fame-topscorers-item.fame-fail {
	background: rgba(248, 184, 31, 0.05);
}
.fame-topscorers-item.fame-fair .fame-topscorers-name {
	color: #F8B81F;
}
.fame-topscorers-item.fame-fair .fame-topscorers-prcnt {
	color: #F8B81F;
	border-color: #F8B81F;
}
.fame-topscorers-item.fame-fair .fame-topscorers-mntlt-content span {
	color: #475467;
}
.fame-topscorers-item.fame-fair .fame-topscorers-mntlt-content small {
	color: #F8B81F;
}
.fame-topscorers-item.fame-fair .fame-topscorers-status {
	background-color: #F8B81F;
	color: #ffffff;
}

.fame-topscorers-mntlt-head,
.fame-topscorers-mntlt-content {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
}
.fame-topscorers-name {
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 20px;
	color: #333333;
}
.fame-topscorers-prcnt {
	display: inline-flex;
	width: 36px;
	min-width: 36px;
	height: 36px;
	border: 1px solid #333333;
	border-radius: 100%;
	font-style: normal;
	font-weight: 700;
	font-size: 12px;
	color: #333333;
	justify-content: center;
	align-items: center;
}
.fame-topscorers-mntlt-content span {
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	line-height: 20px;
	color: #475467;
}
.fame-topscorers-mntlt-content small {
	font-style: normal;
	font-weight: 500;
	font-size: 12px;
	line-height: 20px;
	color: #333333;
}
.fame-topscorers-status {
	display: inline-flex;
	background-color: #333333;
	border-radius: 50px;
	padding: 7px 15px;
	line-height: 1;
	font-style: normal;
	font-weight: 600;
	font-size: 14px;
	color: #ffffff;
	margin: 0 auto;
    margin-bottom: -21px;
}

@media (min-width: 768px) and (max-width: 1366px) {
  .fame-results-maincon {
    display: flex;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
  }
  .fame-results-wrap,
  .fame-mock-questionare-maincon {
    flex-basis: 100%;
  }
  .fame-mock-test-boxes {
    grid-template-columns: auto auto auto;
  }
}
@media (min-width: 768px) and (max-width: 990px) {
  .fame-form-style {
    min-width: 100%;
    width: 100%;
  }
  .fame-login-thumb-sec {
    min-width: 200px;
  }
  .fame-quiz-top-results {
    overflow: auto;
  }
  .fame-quiz-table {
    min-width: 1170px;
    width: 1170px;
  }
  .fame-results-maincon {
    flex-wrap: wrap;
  }
  .fame-results-wrap,
  .fame-mock-questionare-maincon {
    flex-basis: 100%;
    min-width: 100%;
  }
}
@media (max-width: 767px) {
  .fame-login-from-inn {
    flex-wrap: wrap;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
  }
  .fame-form-style {
    min-width: 100%;
    width: 100%;
  }
  .fame-userform-main {
    padding: 0px;
    width: 100%;
  }
  .fame-userform-box {
    width: 100%;
  }
  .fame-return-registrcon,
  .fame-return-logncon,
  .fame-return-logincon {
    display: block;
    text-align: center;
  }
  .fame-userform-box-top {
    padding: 20px 25px;
  }
  .fame-mock-test-boxes {
    grid-template-columns: auto;
  }
  .fame-quiz-top-results {
    overflow: auto;
  }
  .fame-results-maincon {
    flex-wrap: wrap;
  }
  .fame-results-wrap,
  .fame-mock-questionare-maincon {
    flex-basis: 100%;
    min-width: 100%;
  }
  /* Paper timer on phones: a full-width bar pinned to the top edge of the screen
     while the questions scroll — edge to edge (out of the page's side padding),
     no rounded corners, one compact row. */
  .fame-results-maincon .fame-demotime-countdown-con {
    top: 0;
    z-index: 1000;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    flex-wrap: nowrap;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 0;
    box-shadow: 0 4px 14px rgba(8, 20, 102, 0.12);
  }
  .fame-results-maincon .fame-demotime-countdown-con span {
    width: auto;
    padding: 0;
    border-bottom: 0;
    font-size: 14px;
    white-space: nowrap;
  }
  .fame-results-maincon .fame-demotime-countdown {
    flex: 1;
    width: auto;
    padding: 0;
    gap: 6px;
    font-size: 18px !important;
  }
  .fame-results-maincon .fame-demotime-countdown div {
    padding: 6px 10px;
  }
  .fame-quiz-cell:nth-child(3),
  .fame-quiz-cell:nth-child(4),
  .fame-quiz-header:nth-child(4),
  .fame-quiz-header:nth-child(3) {
    display: none;
  }
  .fame-quiz-table {
    min-width: 100%;
    width: 100%;
  }
}

/* ============================================================= */
/* FAME shared table — div grid (.fame-mk-grid)                  */
/* One design for every dashboard table: Mock Exams (Available / */
/* Attempted), Previous Exams, Attempt History, Create-Exam Final */
/* Check, Progress topics, Payment History, Orders, Referrals,    */
/* Evaluation Reports. Markup contract:                          */
/*   .fame-mk-grid[role=table] > .fame-mk-grid-head[role=row]     */
/*     > span[role=columnheader]…                                 */
/*   .fame-mk-grid-body[role=rowgroup] > .fame-mk-grid-row[role=  */
/*     row] > .fame-mk-cell[role=cell][data-label]…               */
/* Desktop = tabular columns; tablet = 2-column cards; mobile =   */
/* 1-column cards (data-label becomes the per-cell caption).      */
/* Column widths come from --fame-mk-cols (see modifiers below).  */
/* ============================================================= */
.fame-mk-grid {
    --fame-mk-cols: 2.2fr 1fr .9fr .8fr .7fr .6fr .9fr 1.3fr; /* Mock Exams: Name Date Method Systems Topics Qs Duration Actions */
    width: 100%;
    font-size: 13.5px;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    overflow: hidden;
}
/* Column layouts (one modifier per table) */
.fame-mk-grid--pex     { --fame-mk-cols: .7fr 2.2fr 1fr .9fr .7fr 1.4fr .6fr 1.3fr; } /* Previous Exams: Score Name Date Mode Topics Systems Qs Actions */
.fame-mk-grid--history { --fame-mk-cols: .8fr 2fr 1fr 1fr 1fr; }                      /* Attempt History: # Date Correct Score Result */
.fame-mk-grid--final   { --fame-mk-cols: 1fr 1.2fr 2.4fr 1.2fr; }                     /* Create Exam Final Check: Mode Type System Qs */
.fame-mk-grid--five    { --fame-mk-cols: 2fr 1.2fr 1fr 1fr 1fr; }                     /* Payments / Referrals / Reports */
.fame-mk-grid--orders  { --fame-mk-cols: minmax(72px, .7fr) 2fr 1.2fr 1fr 1fr 1fr minmax(84px, .7fr); }  /* Order History: Order-ID Plan Date Amount Status Invoice Actions */
.fame-mk-grid--orders .fame-mk-cell:first-child { white-space: nowrap; }              /* "#1844" never breaks */
.fame-mk-grid--topics  { --fame-mk-cols: 1fr 180px; }                                 /* Progress: Topic Status */
.fame-mk-grid--devices { --fame-mk-cols: 2fr 1.1fr 1fr 1.2fr 1fr; }                   /* Security (admin): Device IP Last-used Trusted Action */
.fame-mk-grid--sessions{ --fame-mk-cols: 2fr 1.1fr 1.2fr 1fr; }                       /* Security: Browser IP Last-active Action */
.fame-mk-grid--attempts{ --fame-mk-cols: 1.3fr .9fr 1.1fr 1.6fr; }                    /* Security: When Result IP Device */

.fame-mk-grid-head, .fame-mk-grid-row {
    display: grid; grid-template-columns: var(--fame-mk-cols); align-items: center; gap: 0 10px;
}
.fame-mk-grid-head {
    background-color: #1e88e5;
    border-radius: 12px 12px 0px 0px;
    padding: 20px 30px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
}
.fame-mk-grid-head span {
    white-space: nowrap;
}
.fame-mk-head-act { text-align: center; }
.fame-mk-grid-row {
    padding: 20px 30px;
    transition: background .15s;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #656D7F;
}
.fame-mk-grid-row:nth-child(even) {
    background-color: #FBFBFB;
}
.fame-mk-grid-row:hover { background: #f8fbff; }
.fame-mk-grid-row.is-current { background: #f4f9ff; }
/* Start / Resume rows open the mock from anywhere on the row (fame-exam-previous.js). */
.fame-mk-grid-row[data-pex-href] { cursor: pointer; }
.fame-mk-grid-row[data-pex-href]:hover .fame-mk-name { color: #1877F2; }
.fame-mk-grid-row[data-pex-href]:focus-visible { outline: 2px solid #1877F2; outline-offset: -2px; background: #f8fbff; }
/* Client-side search/pager hides rows with the `hidden` attribute — must beat display:grid. */
.fame-mk-grid-row[hidden] { display: none !important; }
.fame-mk-cell { min-width: 0; overflow-wrap: anywhere; }
.fame-mk-cell::before { display: none; content: attr(data-label); }
.fame-mk-cell-name { display: flex; align-items: center; gap: 10px; }
.fame-mk-cell-act { text-align: center; }
.fame-mk-name {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #656D7F;
}
.fame-mk-sub { color: #98a3b6; font-weight: 400; font-size: 12px; margin-left: 8px; white-space: nowrap; }
.fame-mk-fileico { width: 30px; height: 30px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.fame-mk-fileico.is-green  { background: #e6f7ec; color: #17a34a; }
.fame-mk-fileico.is-blue   { background: #e8f1ff; color: #2f80ed; }
.fame-mk-fileico.is-orange { background: #fdf3e0; color: #e0951a; }
.fame-mk-fileico.is-purple { background: #f1e8ff; color: #8b5cf6; }
/* Method / mode chip */
.fame-mk-method {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    color: #F8B81F;
}
.fame-mk-method.is-manual { background: #fdf3e0; color: #c98a12; }
.fame-mk-method.is-random { background: #f1e8ff; color: #8b5cf6; }
.fame-mk-method.is-mixed  { background: #e6f2ff; color: #1877F2; }
.fame-mk-method.is-tutor  { background: #e6f2ff; color: #1877F2; }
.fame-mk-method.is-exam   { background: #fdeede; color: #c98a12; }
/* Count pills: clickable (systems/topics popup) + static (Qs) */
.fame-mk-sysbtn, .fame-mk-qs {
    display: inline-block; min-width: 36px; height: 24px; padding: 0 9px; border-radius: 20px;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
}
.fame-mk-qs {
    background-color: rgba(0, 132, 197, 0.1);
    color: #0084C5;
}
.fame-mk-sysbtn { border: none; background-color: rgba(0, 132, 197, 0.1); color: #2f80ed; cursor: pointer; transition: background .15s, border-color .15s; }
.fame-mk-sysbtn:hover { background: #e6f0ff; border-color: #2f80ed; }
/* Score ring — colour fill = percentage (red/yellow/blue/green) */
.fame-mk-ring {
    --pct: 0; --ring: #cbd5e1;
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: conic-gradient(var(--ring) calc(var(--pct) * 1%), #eef2f7 0);
}
.fame-mk-ring::after { content: ""; position: absolute; inset: 23px; background-color: #ffffff; border-radius: 50%; }
.fame-mk-ring-num { position: relative; z-index: 1; font-size: 11.5px; font-weight: 800; color: #16203a; }
.fame-mk-ring.is-red    { --ring: #e5484d; }
.fame-mk-ring.is-yellow { --ring: #f5a623; }
.fame-mk-ring.is-blue   { --ring: #2f80ed; }
.fame-mk-ring.is-green  { --ring: #37c26b; }
.fame-mk-ring.is-empty  { --ring: #cbd5e1; }
.fame-mk-ring.is-empty .fame-mk-ring-num { color: #94a3b8; }
/* Duration pill */
.fame-mk-dur { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #64748b; white-space: nowrap; }
.fame-mk-dur svg { color: #94a3b8; flex: 0 0 auto; }
/* Actions: 30px icon buttons with a data-tip tooltip */
.fame-mk-actions { display: inline-flex; align-items: center; gap: 8px; }
.fame-mk-act {
    position: relative; width: 30px; height: 30px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; transition: filter .15s, transform .15s;
    /* button-element reset (Re-Attempt is a <button>, the rest are <a>) */
    border: 0; padding: 0; font: inherit; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.fame-mk-act:disabled { opacity: .5; cursor: default; }
.fame-mk-act:hover { filter: brightness(.95); transform: translateY(-1px); }
.fame-mk-act.is-play      { background: #e6f7ec; color: #17a34a; }
.fame-mk-act.is-result    { background: #e8f1ff; color: #2f80ed; }
.fame-mk-act.is-reattempt { background: #fdecec; color: #e5484d; }
.fame-mk-act::after {
    content: attr(data-tip); position: absolute; bottom: calc(100% + 7px); left: 50%;
    transform: translateX(-50%) translateY(3px); background-color: #16203a; color: #fff; font-size: 11px; font-weight: 600;
    line-height: 1; padding: 6px 9px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none;
    transition: opacity .15s, transform .15s; z-index: 5;
}
.fame-mk-act::before {
  content: '';
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #16203a;
  position: absolute;
  top: -8px;
  opacity: 0;
  transition: opacity .15s, transform .15s;
  transform: translateY(3px);
}
.fame-mk-act:hover::before { opacity:1;transform: translateY(0); }
.fame-mk-act:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Responsive cards: tablet = 2 columns, mobile = 1 column ---- */
@media (max-width: 991px) {
    .fame-mk-grid { border: 0; border-radius: 0; overflow: visible; }
    .fame-mk-grid-head { display: none; }
    .fame-mk-grid-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .fame-mk-grid-row {
        display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid #e6ecf4; border-radius: 12px;
        background: #fff; box-shadow: 0 6px 18px rgba(8,20,102,.05);
    }
    .fame-mk-grid-row:nth-child(even), .fame-mk-grid-row:hover { background: #fff; }
    .fame-mk-cell { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; }
    .fame-mk-cell::before { display: inline-block; flex: 0 0 auto; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
    .fame-mk-cell-name { flex-direction: row; justify-content: flex-start; padding-bottom: 6px; border-bottom: 1px dashed #eef2f7; }
    .fame-mk-cell-name::before { display: none; }
    .fame-mk-name { font-size: 14px; }
    .fame-mk-cell-act { justify-content: space-between; padding-top: 4px; }
}
@media (max-width: 575px) {
    .fame-mk-grid-body { grid-template-columns: 1fr; }
}

/* ---- Content protection (pages with a [data-fame-protect] marker):
   printing yields a blank page + the momentary Print-Screen shield. ---- */
@media print {
    body:has([data-fame-protect]) * { visibility: hidden !important; }
    body:has([data-fame-protect])::before {
        content: 'Printing is disabled during an exam.'; visibility: visible !important;
        position: fixed; top: 40%; left: 0; right: 0; text-align: center; font: 16px/1.4 sans-serif; color: #000;
    }
}
.fame-exam-prtsc-shield {
    position: fixed; inset: 0; z-index: 2147483647; background: #000; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font: 600 16px/1.4 sans-serif; text-align: center; padding: 20px;
}
