.practice-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 137, 177, 0.16), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(96, 93, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #fff8f1 0%, #f7fbff 100%);
  color: #1f2937;
  min-height: 100vh;
  padding: 24px 16px 84px;
}

.practice-hero,
.practice-title-card,
.practice-toolbar,
.practice-content,
.practice-list-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.practice-hero,
.practice-title-card {
  background: #fff;
  border: 1px solid rgba(96, 93, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(31, 41, 55, 0.08);
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 42px);
  text-align: center;
}

.practice-eyebrow {
  color: #605dff;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.practice-hero h1,
.practice-title-card h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  margin: 0 0 10px;
}

.practice-toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 18px;
  position: sticky;
  top: 10px;
  z-index: 40;
}

.practice-toolbar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.practice-content {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(96, 93, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(31, 41, 55, 0.08);
  overflow: hidden;
  padding: clamp(10px, 2vw, 20px);
}

.practice-content .container {
  max-width: 100% !important;
}

.practice-content .reading,
.practice-content .listening {
  background: transparent;
}

.practice-content .fly {
  align-items: center;
  display: flex;
  margin: 18px 0;
}

.practice-content .type {
  background: #111827;
  border: 3px solid #111827;
  border-radius: 18px;
  color: #fff;
  padding: 10px 22px;
}

.practice-content .type h3 {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 900;
  margin: 0;
}

.practice-content [data-jawaban] {
  background: #fff;
  border: 1px solid rgba(96, 93, 255, 0.16);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(31, 41, 55, 0.06);
  margin: 18px 0;
}

.practice-content .alert-dark {
  background: #ecf7ff;
  border: 1px solid #bfe8ff;
  border-radius: 16px;
  color: #17324d;
}

.practice-content .opsi {
  align-items: center;
  background: #f3f4ff;
  border: 2px solid #dfe1ff;
  border-radius: 999px;
  color: #605dff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}

.practice-content .p-2.row {
  border: 1px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.practice-content .p-2.row:hover,
.practice-content .p-2.row.is-selected {
  background: #f7f7ff;
  border-color: #dfe1ff;
}

.practice-content .p-2.row.is-selected .opsi {
  background: #605dff;
  color: #fff;
  transform: scale(1.04);
}

.practice-content [data-jawaban].is-correct {
  border-color: #22c55e;
}

.practice-content [data-jawaban].is-wrong {
  border-color: #ef4444;
}

.practice-content .p-2.row.is-answer-correct {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.55);
}

.practice-content .p-2.row.is-answer-wrong {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.45);
}

.practice-content audio {
  max-width: 100%;
}

.practice-content img {
  border-radius: 14px;
  max-width: 100%;
}

.practice-inline-translation {
  color: #40506c;
}

.practice-hide-translation .practice-content .practice-inline-translation,
.practice-hide-translation .practice-content .translate-text {
  display: none !important;
}

.practice-show-translation .practice-content .translate-text.d-none,
.practice-show-translation .practice-content .translate-text {
  display: block !important;
  margin-top: 6px;
}

.practice-content .translate-text .small,
.practice-content .translate-text {
  line-height: 1.45;
  white-space: normal;
}

.practice-result-toast {
  background: #111827;
  border-radius: 999px;
  bottom: 74px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, .22);
  color: #fff;
  font-weight: 800;
  left: 50%;
  opacity: 0;
  padding: 12px 20px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 20px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 80;
}

.practice-result-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.practice-bottom-nav {
  align-items: center;
  background: rgba(96, 93, 255, 0.92);
  bottom: 0;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 9px 10px;
  position: fixed;
  right: 0;
  z-index: 50;
}

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

.practice-list-page {
  background:
    repeating-linear-gradient(
      45deg,
      #fbf8f3 0,
      #fbf8f3 20px,
      #e7dfd4 20px,
      #e7dfd4 31px
    );
}

.practice-list-page .practice-hero {
  border: 4px solid #232323;
  border-radius: 8px;
  box-shadow: 8px 9px 0 #232323;
  text-align: left;
}

.simulation-group-grid,
.simulation-chapter-section {
  margin-left: auto;
  margin-right: auto;
  max-width: 1460px;
}

.simulation-group-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
}

.simulation-group-card {
  background: rgba(255, 250, 244, .94);
  border: 4px solid #232323;
  border-radius: 8px;
  box-shadow: 8px 9px 0 #232323;
  color: #232323;
  min-height: 158px;
  padding: 22px;
  text-decoration: none;
  transition: box-shadow .16s ease, transform .16s ease;
}

.simulation-group-card:hover {
  box-shadow: 5px 6px 0 #232323;
  color: #111;
  transform: translate(3px, 3px);
}

.simulation-group-card span {
  color: #8f8a84;
  display: block;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.simulation-group-card strong {
  display: block;
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 950;
  line-height: .95;
  margin: 10px 0 12px;
}

.simulation-group-card small {
  color: #40506c;
  display: block;
  font-weight: 800;
}

.simulation-chapter-section {
  background: rgba(255, 250, 244, .88);
  border: 3px solid #232323;
  border-radius: 8px;
  box-shadow: 6px 7px 0 #232323;
  margin-bottom: 30px;
  padding: 20px;
  scroll-margin-top: 20px;
}

.simulation-section-head {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.simulation-section-head span {
  color: #8f8a84;
  display: block;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.simulation-section-head h2 {
  color: #232323;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 950;
  line-height: 1;
  margin: 4px 0 0;
}

.simulation-section-head p {
  color: #40506c;
  font-weight: 800;
  margin: 0;
}

.practice-set-card,
.practice-empty {
  background: #fff;
  border: 1px solid rgba(96, 93, 255, .16);
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(31, 41, 55, .08);
  color: inherit;
  padding: 22px;
  text-decoration: none;
}

.practice-set-card span,
.practice-set-card small {
  color: #605dff;
  display: block;
  font-weight: 800;
}

.practice-set-card strong {
  display: block;
  font-size: 1.15rem;
  margin: 10px 0;
}

.ubt-table-card {
  background: #fff;
  border: 1px solid #e6e8f3;
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(31, 36, 80, .08);
  overflow: hidden;
}

.ubt-index-table {
  border-collapse: collapse;
  margin: 0;
  width: 100%;
}

.ubt-index-table th,
.ubt-index-table td {
  border-bottom: 1px solid #edf0f7;
  padding: 16px 26px;
  text-align: left;
  vertical-align: middle;
}

.ubt-index-table th {
  color: #111827;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ubt-index-table tr:last-child td {
  border-bottom: 0;
}

.ubt-name-link {
  align-items: center;
  color: #4d55ff;
  display: inline-flex;
  gap: 14px;
  text-decoration: none;
}

.ubt-name-link strong {
  font-size: 1.25rem;
  font-weight: 700;
}

.ubt-thumb {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  display: inline-flex;
  height: 72px;
  justify-content: center;
  overflow: hidden;
  width: 72px;
}

.ubt-thumb img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.ubt-thumb-empty {
  color: #94a3b8;
  font-size: .8rem;
  font-weight: 700;
}

.ubt-muted-status {
  color: #8290aa;
  font-size: .92rem;
}

.ubt-muted-status i {
  color: #fb7185;
  margin-right: 6px;
}

.public-session-bar {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin: 0 auto 18px;
  max-width: 1180px;
}

.public-session-bar span {
  color: #64748b;
  font-size: 14px;
}

.public-session-bar form {
  margin: 0;
}

.public-session-bar button {
  background: #111827;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 9px 16px;
}

.practice-set-card em {
  color: #64748b;
  display: block;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  margin-top: 14px;
}

.practice-set-card em.status-done {
  color: #16a34a;
}

.practice-set-card em.status-started {
  color: #f59e0b;
}

.practice-set-card em.status-empty {
  color: #94a3b8;
}

.public-package-page {
  background: #f8fafc;
  color: #071126;
  min-height: calc(100vh - 82px);
  padding: 46px clamp(18px, 5vw, 60px) 96px;
}

.public-package-breadcrumb,
.public-package-hero,
.public-package-grid,
.public-package-alert,
.public-package-result,
.public-quiz-form {
  margin-left: auto;
  margin-right: auto;
  max-width: 808px;
}

.public-package-breadcrumb {
  align-items: center;
  color: #46627f;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
  margin-bottom: 26px;
}

.public-package-breadcrumb a {
  color: #46627f;
  text-decoration: none;
}

.public-package-breadcrumb strong {
  color: #111827;
}

.public-package-hero {
  margin-bottom: 22px;
}

.public-package-hero h1 {
  color: #071126;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 950;
  line-height: 1.14;
  margin: 0 0 20px;
}

.public-package-hero p {
  color: #536b8a;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}

.public-package-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-package-card,
.public-package-empty,
.public-package-alert,
.public-package-result,
.public-quiz-question {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.public-package-card {
  min-height: 168px;
  padding: 22px;
}

.public-package-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.public-package-card-head span {
  background: #edf4ff;
  border-radius: 999px;
  color: #2457ff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 9px;
}

.public-package-card-head em {
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  padding: 7px 9px;
}

.public-package-card-head em.is-free {
  background: #e8fff4;
  color: #00875a;
}

.public-package-card-head em.is-premium {
  background: #fff4d7;
  color: #f59e0b;
}

.public-package-card h2 {
  color: #071126;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 14px;
}

.public-package-card p,
.public-package-card small {
  color: #607089;
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.public-package-action {
  color: #2457ff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  margin-top: 4px;
  text-decoration: none;
}

.public-package-action::before {
  content: "□";
  font-size: 13px;
  margin-right: 8px;
}

.public-package-empty,
.public-package-alert,
.public-package-result {
  grid-column: 1 / -1;
  padding: 22px;
}

.public-package-alert {
  border-color: #fecaca;
  color: #b91c1c;
  margin-bottom: 18px;
}

.public-package-result {
  border-color: #bbf7d0;
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.public-package-result small {
  color: #16a34a;
  font-weight: 950;
  letter-spacing: .1em;
}

.public-package-result strong {
  color: #071126;
  font-size: 34px;
  font-weight: 950;
}

.public-package-result span {
  color: #536b8a;
  font-weight: 800;
}

.public-quiz-form {
  display: grid;
  gap: 18px;
}

.public-quiz-question {
  padding: 22px;
}

.public-quiz-question.is-answer-correct {
  border-color: #86efac;
}

.public-quiz-question.is-answer-wrong {
  border-color: #fecaca;
}

.public-quiz-question-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.public-quiz-question-head strong {
  color: #071126;
  font-size: 14px;
  font-weight: 950;
}

.public-quiz-question-head span {
  background: #edf4ff;
  border-radius: 999px;
  color: #2457ff;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

.public-quiz-instruction,
.public-quiz-prompt {
  color: #1f2937;
  line-height: 1.65;
}

.public-quiz-media {
  border-radius: 8px;
  display: block;
  margin: 16px 0;
  max-width: 100%;
}

.public-quiz-options {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.public-quiz-option {
  align-items: flex-start;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: auto auto minmax(0, 1fr);
  padding: 13px;
}

.public-quiz-option input {
  margin-top: 5px;
}

.public-quiz-option b {
  align-items: center;
  background: #edf4ff;
  border-radius: 50%;
  color: #2457ff;
  display: inline-flex;
  font-size: 13px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.public-quiz-option span {
  color: #1f2937;
  line-height: 1.5;
}

.public-quiz-option img {
  border-radius: 8px;
  grid-column: 3;
  max-width: 100%;
}

.public-quiz-option.is-correct {
  border-color: #22c55e;
  background: #f0fdf4;
}

.public-quiz-option.is-wrong {
  border-color: #ef4444;
  background: #fef2f2;
}

.public-quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-quiz-actions button,
.public-quiz-actions a {
  background: #2457ff;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 12px 18px;
  text-decoration: none;
}

.public-quiz-actions .is-secondary {
  background: #fff;
  border: 1px solid #d8e0ed;
  color: #2457ff;
}

.login-page {
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 130, 130, 0.22), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(86, 91, 255, 0.18), transparent 30%),
    #f8f7ff;
  display: flex;
  min-height: 100vh;
  padding: 28px;
}

.login-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(85, 91, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.12);
  margin: auto;
  max-width: 430px;
  padding: 34px;
  width: 100%;
}

.login-card h1 {
  color: #0f172a;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1;
  margin: 6px 0 12px;
}

.login-card p,
.login-card small {
  color: #64748b;
}

.login-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 14px;
  color: #be123c;
  font-weight: 700;
  margin: 18px 0;
  padding: 12px 14px;
}

.login-form {
  display: grid;
  gap: 16px;
  margin: 22px 0 18px;
}

.login-form label {
  color: #334155;
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

.login-form input {
  border: 1px solid #dbe3f0;
  border-radius: 14px;
  color: #0f172a;
  font: inherit;
  padding: 13px 14px;
}

.login-form input:focus {
  border-color: #4f5bff;
  box-shadow: 0 0 0 4px rgba(79, 91, 255, 0.14);
  outline: none;
}

.login-form button {
  background: #4f5bff;
  border: 0;
  border-radius: 16px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  padding: 14px;
}

.ubt-result-page {
  align-items: center;
  background: #eef3f8;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 16px;
}

.ubt-result-card {
  background: #fff;
  border: 1px solid #ff321f;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  max-width: 450px;
  overflow: hidden;
  width: 100%;
}

.ubt-result-header {
  background: #ff321f;
  color: #fff;
  padding: 18px;
  text-align: center;
}

.ubt-result-header h1 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .06em;
  margin: 0;
}

.ubt-result-score {
  background: #ffd8d3;
  border: 1px solid #ff9d91;
  border-radius: 5px;
  color: #ff321f;
  margin: 15px auto;
  padding: 16px;
  text-align: center;
  width: 80%;
}

.ubt-result-score strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.ubt-result-score span {
  color: #475569;
  display: block;
  font-weight: 800;
  margin-top: 8px;
}

.ubt-result-review,
.ubt-result-back {
  border-radius: 6px;
  display: block;
  font-weight: 900;
  margin: 14px 15px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
}

.ubt-result-review {
  background: #ff321f;
  color: #fff;
}

.ubt-result-detail {
  border-top: 1px solid #e5e7eb;
  margin: 0 15px 20px;
}

.ubt-result-detail div {
  border-bottom: 1px solid #e5e7eb;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  padding: 10px 8px;
}

.ubt-result-detail dt {
  color: #111827;
  font-weight: 900;
}

.ubt-result-detail dd {
  color: #334155;
  margin: 0;
}

.ubt-result-detail .result-ok {
  color: #18b600;
  font-weight: 900;
}

.ubt-result-back {
  background: #5b50ff;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.ubt-review-mode .fixed-top,
.ubt-review-mode .fixed-bottom,
.ubt-review-mode .fix-menu {
  background: #ff321f !important;
  color: #fff !important;
}

.ubt-review-mode .fix-menu {
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.ubt-review-mode .fix-menu a,
.ubt-review-mode .fix-menu button,
.ubt-review-mode .fix-menu .whole {
  color: #fff !important;
  font-weight: 900;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.ubt-review-mode #close-soal,
.ubt-review-mode .badge {
  background: #000 !important;
}

.ubt-review-mode .box-opsi table tr.review-row-correct td {
  background: #d6f7ca !important;
}

.ubt-review-mode .box-opsi table tr.review-row-wrong td {
  background: #ffe1e1 !important;
}

.ubt-review-mode .opsi.review-choice-correct {
  background: #d6f7ca !important;
  border-color: #16a34a !important;
  color: #111827 !important;
}

.ubt-review-mode .opsi.review-choice-wrong {
  background: #ff321f !important;
  border-color: #ff321f !important;
  color: #fff !important;
}

.review-question-note {
  font-size: 13px;
  font-weight: 800;
  margin: -6px 0 14px 32px;
}

.review-question-note span,
.review-option-note::before {
  color: #0ea5e9;
  content: "A♣ ";
  font-size: 11px;
  font-weight: 900;
}

.review-question-note.review-ok,
.review-option-note.review-note-correct {
  color: #16a34a;
}

.review-question-note.review-bad,
.review-option-note.review-note-wrong {
  color: #ff321f;
}

.review-option-note {
  font-size: 12px;
  font-weight: 800;
  margin-top: 3px;
}

.review-discussion-button {
  background: #5b50ff;
  border-radius: 6px;
  color: #fff;
  display: inline-block;
  font-weight: 900;
  margin-bottom: 16px;
  padding: 10px 16px;
}

.review-explanation {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  margin-top: 18px;
  padding: 14px;
}

@media (max-width: 575.98px) {
  .practice-page {
    padding: 14px 8px 76px;
  }

  .practice-toolbar {
    align-items: stretch;
    flex-direction: column;
    position: static;
  }

  .practice-toolbar > div,
  .practice-toolbar .btn {
    width: 100%;
  }

  .practice-content {
    border-radius: 18px;
    padding: 8px;
  }

  .practice-content [data-jawaban] {
    border-radius: 16px;
    margin: 14px 0;
  }

  .practice-content .offset-1 {
    margin-left: 0;
  }

  .practice-content .col-11 {
    width: 100%;
  }

  .practice-bottom-nav .btn {
    font-size: .72rem;
  }

  .simulation-group-grid {
    grid-template-columns: 1fr;
  }

  .simulation-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .simulation-group-card {
    min-height: 140px;
  }

  .public-package-page {
    padding: 30px 16px 76px;
  }

  .public-package-grid {
    grid-template-columns: 1fr;
  }

  .public-quiz-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .public-quiz-option b {
    grid-column: 1;
  }

  .public-quiz-option span,
  .public-quiz-option img {
    grid-column: 2;
  }
}
