@media only screen and (min-width: 916px) and (max-width: 1200px) {
/*--------------------------------------------------
  Reset and Base
--------------------------------------------------*/
*:focus {
    outline: none !important;
}

*:focus-visible {
    outline: none !important;
}

#wrapper.blur {
    -webkit-filter: blur(3px);
    filter: blur(3px);
    pointer-events: none;
}

.blur {
    -webkit-filter: blur(3px);
    filter: blur(3px);
    pointer-events: none;
}
.home-hero-video {
    display: none;
}
.home-hero-mobile-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
}
.elementor {
    width: 100%;
    min-height: 100vh;
    display: block;
    position: relative;
}

.consent-set  .consent-body {
    width: 650px;
    height: auto;
    display: block;
    padding: 20px 40px;
    border-radius: 20px;
    background-color: #FFF;
}

/*--------------------------------------------------
  Shared Layout
--------------------------------------------------*/

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-weight: 500;
    padding: 8px 25px;
    font-size: 0.8rem;
    border-radius: 30px;
    background-color: #8C54EC;
    text-decoration: none;
    transition: background-color 0.2s;
}

.main-btn:hover {
    background-color: #553C8D;
}

.main-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    padding: 8px 25px;
    font-size: 0.8rem;
    border-radius: 30px;
    border: 2px solid  #8C54EC;
    color: #8C54EC;
    text-decoration: none;
    transition: background-color 0.2s;
}

.main-ghost-btn:hover {
    border: 2px solid #553C8D;
    background-color: #553C8D;
    color: #FFF;
}

.main-video-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.8rem;
    border-radius: 30px;
    color: #8C54EC;
    text-decoration: none;
    transition: background-color 0.2s;
    gap: 5px;
}

.main-video-btn .icon {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #8C54EC;
    transition: transform 0.2s ease;
}

.main-video-btn .icon svg {
    width: 10px;
    height: auto;
    display: block;
    margin-left: 2px;
}

.main-video-btn .icon svg path {
    fill: #FFF;
}

.main-video-btn:hover .icon {
    background-color: #553C8D;
}

.main-video-btn:hover {
    color: #553C8D;
}

.main-menu {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.main-menu svg {
    width: auto;
    height: 14px;
    display: inline-block;
}

.welcome-set {
    width: 100%;
    height: 100vh;
    display: flex;
    gap: 10px;
    position: relative;
    padding: 15vh 0 15vh 0;
}

.welcome-set .welcome-content-box {
    width: 100%;
    height: 70vh;
    display: flex;
    padding: 0 25px;
    background-image: url("../img/objects/welcome-img.png");
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
}

.welcome-set .content-left {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
}

.content-right {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.welcome-set .welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1F1361;
}

.welcome-set .welcome-title.clr {
    color: #8C54EC;
}

.welcome-set .welcome-text {
    font-weight: 350;
}

.welcome-set .welcome-btn-box {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 20px;
}

.welcome-set .welcome-horizontal-box {
    width: 100%;
    height: 15vh;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #8C54EC;
}

.welcome-horizontal-box  .welcome-horizontal-set {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    justify-content: space-between;
    padding: 10px 25px;
    box-sizing: border-box;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.sign-set {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10vh 25px;
    background-image: url("../img/objects/sign-bg.png");
    background-size: cover;
}


.sign-set .sign-main-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 20px;
}

.sign-set .sign-main-menu svg {
    width: 62px;
    height: auto;
    display: inline-block;
}

.sign-set .sign-main-menu .logo-text {
    display: flex;
    flex-direction: column;
}

.sign-set .sign-main-menu .name {
    font-family: "Google Sans", sans-serif;
    color: #1F1361;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}

.sign-set .sign-main-menu .sub-name {
    color: #1F1361;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1;
}

.sign-set .feat-text {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    color: #1F1361;
}

.sign-set .sign-icon-box {
    width: 100%;
    height: auto;
    position: relative;
    overflow: visible;
    margin-top: 10px;
}

.sign-set .sign-icon {
    width: 115%;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.sign-set .features-panel {
    width: 96%;
    margin: 0 auto;
    display: flex;
    background: #FFF;
    border-radius: 20px;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    top: -30px;
    z-index: 20;
}

.features-panel .feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 10px 5px;
}

.features-panel .feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: #D3C5EC;
}

.features-panel .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #FFF;
}

.features-panel .feature-icon.bg-purple {
    background-color: #8C54EC;
}

.features-panel .feature-icon.bg-pink {
    background-color: #FF87D2;
}

.features-panel .feature-icon.bg-light-purple {
    background-color: #C0A9F1;
}

.features-panel .feature-icon img {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.features-panel .feature-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.features-panel .feature-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #1A0D3F;
    margin: 0 0 5px 0;
}

.features-panel .feature-desc {
    font-size: 0.7rem;
    font-weight: 400;
    color: #61558E;
    margin: 0;
    line-height: 1;
}

.sign-main-box {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    background-color: #FFF;
}

.sign-main-box .sign-in-box {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 20px 20px;
    background-color: #FFF;
}

.sign-main-box .head-switch {
    width: 100%;
    height: auto;
    display: flex;
    background-color: #EDE8F8;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.sign-main-box .head-switch svg {
    width: auto;
    height: 20px;
    display: inline-block;
}

.sign-main-box .head-switch svg g {
    fill: #666;
}

.sign-main-box .sign-option-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    gap: 5px;
}

.remember-me .checkmark {
    height: 18px;
    width: 18px;
    background-color: #EBE5F7;
    border: 1.5px solid #8C54EC;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
}

.remember-me .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-me .label-text {
    font-size: 0.7rem;
    color: #8C54EC;
    font-weight: 500;
}

.sign-main-box .sign-option-box .forgot-link {
    font-size: 0.7rem;
    color: #8C54EC;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.sign-main-box .sign-option-box .forgot-link:hover {
    opacity: 0.8;
}

.social-login-section {
    width: 100%;
    margin-top: 20px;
}

.social-login-section .divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #8C54EC;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.social-login-section .divider::before {
    content: '';
    flex: 1;
    border-bottom: 1px solid #EBE5F7;
}

.social-login-section .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #EBE5F7;
}

.social-login-section .divider:not(:empty)::before {
    margin-right: .5em;
}

.social-login-section .divider:not(:empty)::after {
    margin-left: .5em;
}

.social-login-section .social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 0;
    border: 1px solid #EBE5F7;
    border-radius: 12px;
    background-color: #FFF;
    color: #333;
    font-size: 0.6rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-login-section .social-btn:hover {
    background-color: #F8F6FC;
    border-color: #8C54EC;
}

.social-login-section .social-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.social-login-section .register-suggest {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 0.7rem;
}

.social-login-section .register-suggest span {
    color: #666;
    font-weight: 500;
}

.social-login-section .register-suggest a {
    color: #8C54EC;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.social-login-section .register-suggest a svg {
    width: 12px;
    height: auto;
    display: inline-block;
}

.social-login-section .register-suggest a svg path {
    fill: #8C54EC;
}

.social-login-section .register-suggest a:hover {
    text-decoration: underline;
}

.sign-main-box .quote-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0 0 0;
}

.quote-container .quote-box {
    position: relative;
    max-width: 600px;
    text-align: center;
    margin: 0;
    padding: 0 40px;
}

.quote-box .quote-text {
    font-size: 0.7rem;
    color: #8C54EC;
    font-weight: 500;
    line-height: 1.5;
}

.quote-box .quote-icon {
    font-size: 3.5rem;
    color: #A389D4;
    position: absolute;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-box .quote-icon.close {
    bottom: -30px;
    right: 0;
}

.consent-set {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background-image: url("../img/objects/sign-bg.png");
    background-size: cover;
}

.consent-set .head-title {
    color: #1F1361;
    font-weight: 700;
    font-size: 1rem;
}

.consent-set .download-box {
    width: 100%;
    height: auto;
    display: block;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #DFD6F2;
}

.consent-set .download-box .pdf-link {
    border: 1px solid #7E49D5;
    width: auto;
    height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 12px;
}

.consent-set .download-box .pdf-link span {
    color: #7E49D5;
    font-weight: 600;
    font-size: 0.7rem;
    padding: 0 10px;
}

.consent-set .download-box .pdf-link svg {
    width: 12px;
    height: auto;
    display: inline-block;
}

.consent-set .download-box .pdf-link svg path {
    fill: #7E49D5;
}

.consent-set .consent-item {
    width: 100%;
    background-color: #FFF;
    border: 1px solid #EBE5F7;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
    margin-top: 10px;
}

.consent-set .consent-left {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 75%;
}

.consent-set .consent-number {
    width: 26px;
    height: 26px;
    background-color: #8C54EC;
    color: #FFF;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.consent-set .consent-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 20%;
}

.consent-set .consent-info-box {
    width: 100%;
    background-color: #F4EFFF;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-sizing: border-box;
    margin-top: 10px;
}

.consent-set .consent-info-box svg {
    width: 50px;
    height: auto;
    display: inline-block;
}

.consent-set .consent-info-box svg path {
    fill: #7E49D5;
}

.consent-set .consent-action-bar {
    width: 100%;
    margin: 20px auto 0 auto;
    display: flex;
    gap: 20px;
    box-sizing: border-box;
}

.consent-action-bar .consent-btn {
    flex: 1;
    padding: 10px 10px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.consent-action-bar svg {
    width: 18px;
    height: auto;
    display: inline-block;
}

.consent-action-bar svg path {
    fill: #FFF;
}

.memberarea-set {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.memberarea-set .sidebar {
    background-color: #FFFFFF;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #EBE5F7;
}

.memberarea-set .sidebar-head-menu {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.sidebar-head-menu .main-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.sidebar-head-menu .main-menu svg {
    width: 40px;
    height: auto;
    display: inline-block;
}

.sidebar-head-menu .main-menu .logo-text {
    display: flex;
    flex-direction: column;
}

.sidebar-head-menu .main-menu .name {
    font-family: "Google Sans", sans-serif;
    color: #1F1361;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1;
}

.sidebar-head-menu .main-menu .sub-name {
    color: #1F1361;
    font-weight: 400;
    font-size: 0.7rem;
    line-height: 1;
}

.memberarea-set .sidebar .logout-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #8C54EC;
    font-size: 0.7rem;
    text-decoration: none;
    font-weight: 600;
}

.memberarea-set .sidebar .logout-btn svg {
    width: 18px;
    height: auto;
    display: inline-block;
}

.memberarea-set .sidebar .logout-btn svg path {
    fill: #8C54EC;
}

.memberarea-set .sidebar-promo {
    border: 1px solid #DFD6F2;
    background: linear-gradient(135deg, #F4EFFF 0%, #EBE5F7 100%);
    border-radius: 20px;
    padding: 20px 20px 0 20px;
    margin-top: 30px;
    position: relative;
    overflow: visible;
    text-align: center;
}

.sidebar-promo p {
    font-size: 0.8rem;
    color: #1F1361;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-align: center;
}

.sidebar-promo .promo-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-color: #8C54EC;
    font-size: 0.7rem;
    padding: 5px 15px;
    border: 1px solid #DFD6F2;
    border-radius: 12px;
    background-color: #FFF;
    color: #1F1361;
    font-weight: 600;
    text-decoration: none;
    width: auto;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-promo .promo-btn svg {
    width: 12px;
    height: auto;
    display: inline-block;
}

.sidebar-promo .promo-btn svg path {
    fill: #8C54EC;
}

.sidebar-promo .promo-img-box {
    width: 100%;
    height: auto;
    position: relative;
    overflow: visible;
    margin-top: 10px;
}

.sidebar-promo .promo-img-box .promo-img {
    width: 140%;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.memberarea-set .main-dashboard {
    padding: 40px;
    box-sizing: border-box;
}

.memberarea-set .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.memberarea-set .topbar .welcome-text h1 {
    font-size: 1rem;
    color: #1A0D3F;
    margin: 0 0 5px 0;
}

.memberarea-set .topbar .welcome-text p {
    font-size: 0.7rem;
    font-weight: 500;
    color: #666;
    margin: 0;
}

.memberarea-set .dashboard-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 25px;
}

.memberarea-set .content-left-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.memberarea-set .content-right-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.memberarea-set .dash-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #DFD6F2;
}

.memberarea-set .dash-card h2 {
    font-size: 0.8rem;
    color: #1A0D3F;
    font-weight: 700;
    margin: 0 0 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.memberarea-set .dash-card h2 a {
    font-size: 0.7rem;
    color: #8C54EC;
    text-decoration: none;
}

.memberarea-set .progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.memberarea-set .progress-percent {
    font-size: 2rem;
    font-weight: 800;
    color: #8C54EC;
}

.memberarea-set .progress-info p {
    color: #666;
    font-weight: 400;
    font-size: 0.7rem;
    margin: 0;
}

.memberarea-set .progress-info b {
    color: #8C54EC;
    font-weight: 700;
    font-size: 0.9rem;
}

.memberarea-set .progress-bar-bg {
    width: 100%;
    height: 12px;
    background-color: #F4EFFF;
    border-radius: 10px;
    overflow: hidden;
}

.memberarea-set .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF87D2 0%, #8C54EC 100%);
    border-radius: 10px;
}

.memberarea-set .course-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #F4EFFF;
    border-radius: 12px;
    margin-bottom: 10px;
    gap: 15px;
}

.memberarea-set .course-idx {
    width: 30px;
    height: 30px;
    background-color: #F4EFFF;
    color: #8C54EC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.7rem;
}

.memberarea-set .course-detail {
    flex: 1;
}

.memberarea-set .course-detail h3 {
    font-size: 0.8rem;
    margin: 0 0 4px 0;
    font-weight: 600;
    color: #1A0D3F;
}

.memberarea-set .course-detail p {
    color: #666;
    font-weight: 400;
    font-size: 0.7rem;
    margin: 0;
    line-height: 1;
}

.memberarea-set .course-bg {
    width: 50px;
    height: auto;
    border-radius: 10px;
}

.memberarea-set .course-status {
    font-size: 0.6rem;
    color: #2ECC71;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 12px;
    width: 102px;
    text-align: center;
}

.memberarea-set .course-status.done {
    color: #2ECC71;
    background-color: #E5FAEE;
}

.memberarea-set .course-status.learning {
    color: #8C54EC;
    background-color: #E5D2FC;
}

.memberarea-set .course-status.wating {
    color: #8F85B5;
    background-color: #F2F0F8;
}

.memberarea-set .goto-link svg {
    width: 14px;
    height: auto;
    display: inline-block;
}

.memberarea-set .goto-link svg path {
    fill: #8C54EC;
}

.memberarea-set .course-item.done .course-idx {
    background-color: #8C54EC;
    color: #FFF;
}

.memberarea-set .course-item.start .course-idx {
    background-color: #8C54EC;
    color: #FFF;
}

.memberarea-set .course-item.start {
    background-color: #F6EFFE;
    color: #FFF;
}

.memberarea-set .score-box {
    padding: 0 15px;
    border-radius: 12px;
    border: 1px solid #DFD6F2;
}

.memberarea-set .score-box .score-list {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.memberarea-set .score-box .score-list:first-child {
    border-bottom: 1px dashed #DFD6F2;
}

.memberarea-set .score-box .score-detail {
    flex: 1;
}

.memberarea-set .score-box .min {
    color: #666;
    font-weight: 500;
    font-size: 0.7rem;
}

.memberarea-set .score-box .mid {
    color: #8C54EC;
    font-weight: 700;
    font-size: 0.9rem;
}

.memberarea-set .score-box .big {
    font-size: 1.8rem;
    font-weight: 800;
    color: #8C54EC;
}

.memberarea-set .score-icon {
    width: 80px;
    height: 80px;
    background-color: #F4EFFF;
    color: #8C54EC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.memberarea-set .score-icon svg {
    width: 50px;
    height: auto;
    display: inline-block;
}

.memberarea-set .score-icon svg path {
    fill: #8C54EC;
}

.learn-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #8C54EC;
    color: #FFF;
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.course-welcome-set {
    width: 100%;
    min-height: 100vh;
    padding: 25px 25px 70px 25px;
    box-sizing: border-box;
    background-image: url("../img/objects/course-welcome-bg.png");
    background-size: cover;
}

.course-welcome-set .welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.course-welcome-set .top-utility {
    display: flex;
    gap: 20px;
    background-color: #FFFFFF;
    padding: 10px 25px;
    border-radius: 25px;
}

.course-welcome-set .top-utility a {
    text-decoration: none;
    color: #1F1361;
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    gap: 5px;
    font-weight: 600;
}

.course-welcome-set .top-utility a:first-child {
    padding-right: 20px;
    border-right: 1px solid #DFD6F2;
}

.course-welcome-set .top-utility a svg {
    width: auto;
    height: 18px;
    display: inline-block;
}

.course-welcome-set .top-utility a svg path {
    fill: #1F1361;
}

.course-welcome-set .top-utility .log-link {
    color: #8C54EC;
}

.course-welcome-set .top-utility .log-link svg path {
    fill: #8C54EC;
}

.course-welcome-set .welcome-intro {
    text-align: left;
    max-width: 800px;
    margin-bottom: 40px;
}

.course-welcome-set .welcome-intro h1 {
    font-size: 2rem;
    color: #1F1361;
    font-weight: 700;
    margin: 0;
}

.course-welcome-set .welcome-intro h1 span {
    color: #8C54EC;
    font-family: "Google Sans", sans-serif;
}

.course-welcome-set .welcome-intro h2 {
    font-size: 1rem;
    color: #1F1361;
    margin: 0;
    font-weight: 700;
}

.course-welcome-set .welcome-intro p {
    font-size: 0.8rem;
    color: #1F1361;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

.course-welcome-set .roadmap-section {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    border-radius: 25px;
    padding: 30px 20px 20px 20px;
    box-sizing: border-box;
    border: 1px solid #FFFFFF;
    margin-bottom: 20px;
    position: relative;
}

.course-welcome-set .roadmap-title {
    position: absolute;
    z-index: 10;
    display: flex;
    width: 100%;
    left: 0;
    justify-content: center;
    top: -20px;
}

.course-welcome-set .roadmap-title span {
    background-color: #6E48FB;
    color: #FFF;
    padding: 6px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
}

.course-welcome-set .roadmap-grid {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.course-welcome-set .step-card {
    flex: 1;
    background-color: transparent;
    padding: 20px 10px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-welcome-set .step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: #E6DCF7;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.course-welcome-set .step-num {
    width: 30px;
    height: 30px;
    background: #8C54EC;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.course-welcome-set .step-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.course-welcome-set .step-icon img {
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.course-welcome-set .step-card h3 {
    font-size: 1rem;
    color: #1F1361;
    font-weight: 700;
    margin: 0 0 0 0;
    line-height: 1;
}

.course-welcome-set .step-card .step-desc-1 {
    font-size: 0.8rem;
    color: #1F1361;
    font-weight: 700;
    margin: 0;
}

.course-welcome-set .step-card .step-desc-2 {
    font-size: 0.7rem;
    color: #1F1361;
    font-weight: 400;
    margin: 0;
}

.course-welcome-set .mini-features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.course-welcome-set .feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 25px;
}

.course-welcome-set .f-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #EDDCFD;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-welcome-set .f-icon svg {
    width: auto;
    height: 26px;
    display: inline-block;
}

.course-welcome-set .f-icon svg path {
    fill: #1F1361;
}

.course-welcome-set .f-text h3 {
    font-size: 0.9rem;
    color: #1F1361;
    margin: 0 0 3px 0;
    font-weight: 700;
}

.course-welcome-set .f-text p {
    font-size: 0.7rem;
    color: #1F1361;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.course-welcome-set .welcome-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 40px;
}

#home-video-popup.home-video-popup {
    position: fixed;
    inset: 0;
    z-index: 910;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

#home-video-popup .home-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    background-color: rgba(0,0,0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto;
}

#home-video-popup .home-video-card {
    position: relative;
    z-index: 910;
    width: min(900px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    background-color: #FFFFFF;
    border-radius: 18px;
    padding: 18px;
    filter: none;
    pointer-events: auto;
}

#home-video-popup .home-video-close {
    position: absolute;
    top: -22px;
    right: 12px;
    width: auto;
    height: auto;
    color: #FFF;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
    z-index: 920;
    pointer-events: auto;
}

#home-video-popup .home-video-close:hover {
    color: #211934;
}

#home-video-popup .home-video-close:focus {
    color: #211934;
}

#home-video-popup .home-video-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #211934;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

#home-video-popup .home-video-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: relative;
    z-index: 1;
}

#home-video-popup .home-video-box video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: relative;
    z-index: 1;
}

#home-video-popup .home-video-empty {
    display: none;
    text-align: center;
    padding: 28px 16px;
    color: #6d657d;
    font-size: 0.92rem;
    pointer-events: auto;
}

.public-header .public-header-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #9b95b2;
    text-transform: uppercase;
}

.public-header .main-menu .name {
    color: #1f1737;
}

.public-header .header-user-link {
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.public-header .header-user-caret {
    font-size: 0.7rem;
    color: #8C54EC;
}

.public-header .header-user-drop {
    z-index: 220;
    border-color: #ded7ef;
    border-radius: 14px;
}

/*--------------------------------------------------
  Shared Typography
--------------------------------------------------*/

.consent-set .text {
    color: #1F1361;
    font-weight: 400;
    font-size: 0.7rem;
}

.consent-set .text-title {
    color: #1F1361;
    font-weight: 700;
    font-size: 0.8rem;
}

/*--------------------------------------------------
  Shared Buttons
--------------------------------------------------*/

.social-login-section .social-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.consent-action-bar .btn-title {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.consent-action-bar .btn-subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.8;
}

.consent-action-bar .btn-outline {
    background-color: transparent;
    border: 1px solid #C0A9F1;
    color: #8C54EC;
}

.consent-action-bar .btn-outline:hover {
    background-color: #F8F6FC;
    border-color: #8C54EC;
}

.consent-action-bar .btn-primary {
    background: #8C54EC;
    color: #FFFFFF;
    position: relative;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.consent-action-bar .btn-primary:hover {
    background: #553C8D;
}

.consent-action-bar .btn-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.course-welcome-set .btn-start-course {
    background: #8C54EC;
    color: #FFFFFF;
    padding: 15px 35px;
    border-radius: 24px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 380px;
    transition: all 0.2s ease;
}

.course-welcome-set .btn-start-course:hover {
    background-color: #8D51EB;
}

.course-welcome-set .btn-inside {
    display: flex;
    align-items: center;
    gap: 15px;
}

.course-welcome-set .btn-txt {
    display: flex;
    flex-direction: column;
}

.course-welcome-set .btn-txt .main-txt {
    font-size: 1rem;
    font-weight: 700;
}

.course-welcome-set .btn-txt .sub-txt {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 400;
    margin-top: 2px;
}

.course-welcome-set .btn-start-course svg {
    width: 26px;
    height: auto;
    display: inline-block;
}

.course-welcome-set .btn-start-course svg path {
    fill: #FFF;
}

/*--------------------------------------------------
  Shared Forms
--------------------------------------------------*/
.sign-content .sign-back {
    font-size: 1rem;
    color: #FFF;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap:10px;
}
.sign-content .sign-back svg {
    width: 14px;
    height: auto;
    transform: rotate(180deg);
    fill: #FFF;
}
.sign-content .sign-back:hover {
    color: #E5D6FF;
}
.sign-content .sign-back:hover svg {
    fill: #E5D6FF;
}
.sign-main-box .form-body {
    width: 100%;
    height: auto;
    display: block;
    padding: 20px 40px;
    border-top: 1px solid #DFD6F2;
}

.sign-main-box .form-body .form-title {
    color: #1F1361;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}


.remember-me input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.remember-me input:checked ~ .checkmark {
    background-color: #8C54EC;
    border-color: #8C54EC;
}

.remember-me input:checked ~ .checkmark::after {
    display: block;
}

.consent-set .radio-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.7rem;
    color: #1A0D3F;
    font-weight: 600;
    user-select: none;
}

.consent-set .radio-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.consent-set .radio-custom {
    height: 18px;
    width: 18px;
    background-color: #FFF;
    border: 1.5px solid #8C54EC;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s;
}

.consent-set .radio-custom::after {
    content: "";
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8C54EC;
}

.consent-set .radio-label input:checked ~ .radio-custom::after {
    display: block;
}

/*--------------------------------------------------
  Header
--------------------------------------------------*/

.header-menu {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFF;
    z-index: 999;
    padding: 10px 25px;
    box-sizing: border-box;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-menu .header-set {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-menu .left {
    display: flex;
    align-items: center;
}

.header-menu .right {
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.header-menu .btn-part {
    display: inline-flex;
    gap: 40px;
}

.header-menu .menu-text-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    color: #000;
    position: relative;
    padding: 4px 0;
    cursor: pointer;
}

.header-menu .menu-text-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8C54EC;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.header-menu .menu-text-btn:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.header-menu .menu-text-btn.active {
    pointer-events: none;
    color: #8C54EC;
}

.header-menu .menu-text-btn.active::after {
    transform: scaleX(1);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    left: 50%;
}

.header-menu .header-user-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.header-menu .header-user-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1F1361;
    padding: 4px 8px;
    border-radius: 12px;
    transition: background-color 0.2s;
}

.header-menu .header-user-link:hover {
    background-color: #F4EFFF;
}

.header-menu .header-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #EDE6FA;
    background-color: #FFFFFF;
}

.header-menu .header-user-name {
    font-size: 0.82rem;
    font-weight: 600;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-menu .header-user-toggle {
    border: none;
    background: transparent;
    color: #8C54EC;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 8px;
}

.header-menu .header-user-toggle:hover {
    background-color: #F4EFFF;
}

.header-menu .header-user-drop {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background-color: #FFFFFF;
    border: 1px solid #EBE5F7;
    border-radius: 12px;
    padding: 6px;
    z-index: 1200;
}

.header-menu .header-user-box.open .header-user-drop {
    display: block;
}

.header-menu .header-user-drop a {
    display: block;
    padding: 10px 12px;
    font-size: 0.8rem;
    color: #333333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 400;
}

.header-menu .header-user-drop a:hover {
    background-color: #F4EFFF;
    color: #8C54EC;
}

.public-header.header-menu {
    position: sticky;
    top: 0;
}

/*--------------------------------------------------
  Navigation
--------------------------------------------------*/

.header-menu .mobile-toggle {
    display: none;
}

.header-menu .nav-container {
    display: none;
}

.memberarea-set .sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.memberarea-set .sidebar-menu .menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #8C54EC;
    font-weight: 600;
    font-size: 0.7rem;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s;
}

.memberarea-set .sidebar-menu .menu-item svg {
    width: 18px;
    height: auto;
    display: inline-block;
}

.memberarea-set .sidebar-menu .menu-item svg path {
    fill: #8C54EC;
}

.sidebar-menu .menu-item.active {
    background-color: #8C54EC;
    color: #FFFFFF;
}

.sidebar-menu .menu-item.active svg path {
    fill: #FFFFFF;
}

.sidebar-menu .menu-item:hover:not(.active) {
    background-color: #F4EFFF;
    color: #8C54EC;
}

.public-header .nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(31, 23, 55, 0.35);
    z-index: 280;
}

.public-header .nav-mobile-overlay:not([hidden]) {
    display: block;
}

.public-header .nav-container {
    z-index: 320;
}

.public-header .nav-mobile-head {
    display: none;
}

.public-header .nav-mobile-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0 12px;
    border-bottom: 1px solid #ebe6f7;
    margin-bottom: 8px;
}

/*--------------------------------------------------
  Shared Messages
--------------------------------------------------*/

.popup-box .alert-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 22px;
    left: 22px;
    color: #c83e58;
    background: #fff1f4;
    border: 1px solid #f3c2cc;
    border-radius: 10px;
    padding: 4px;
    box-sizing: border-box;
}

.popup-box .alert-icon svg {
    width: 18px;
    height: auto;
    display: block;
}

.popup-box .alert-icon.green {
    color: #188a57;
    background: #effbf5;
    border-color: #bdebd4;
}

.popup-box .alert-icon.blue {
    color: #6545c5;
    background: #f3efff;
    border-color: #d8cdf8;
}

.popup-box .alert-icon.yellow {
    color: #a96a16;
    background: #fff8ea;
    border-color: #f0dbaf;
}

.popup-box.type-success {
    border-color: #bdebd4;
}

.popup-box.type-error {
    border-color: #f3c2cc;
}

.popup-box.type-warning {
    border-color: #f0dbaf;
}

.popup-box.type-info {
    border-color: #d8cdf8;
}

.popup-box.type-confirm {
    border-color: #d8cdf8;
}

.sign-content .sign-alert {
    display: none;
    color: #c83e58;
    font-size: 0.76rem;
    font-weight: 400;
    line-height: 1.45;
    margin: 4px 0 10px;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    animation: msg-fade-in 0.25s ease;
}

.sign-content .sign-alert.is-error {
    color: #c83e58;
    background: #fff1f4;
    border-color: #f3c2cc;
}

.sign-content .sign-alert.is-warning {
    color: #a96a16;
    background: #fff8ea;
    border-color: #f0dbaf;
}

.sign-content .sign-alert.is-success {
    color: #188a57;
    background: #effbf5;
    border-color: #bdebd4;
}

.sign-content .sign-alert.is-info {
    color: #6545c5;
    background: #f3efff;
    border-color: #d8cdf8;
}

/*--------------------------------------------------
  Shared Popup and Overlay
--------------------------------------------------*/

.popup-bg {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9000;
    padding: 24px 16px;
    box-sizing: border-box;
    background: rgba(31, 23, 55, 0.38);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.popup-bg .popup-box {
    width: 100%;
    max-width: 480px;
    height: auto;
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 16px;
    display: block;
    opacity: 0;
    position: relative;
    padding: 22px 22px 22px 68px;
    transform: scale(0.96) translateY(-12px);
    transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    box-sizing: border-box;
    z-index: 9010;
}

.popup-bg .popup-box::before {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 14px;
    height: 14px;
    border-top: 1px solid #ded7ef;
    border-right: 1px solid #ded7ef;
    opacity: 0.7;
    pointer-events: none;
}

.popup-bg .popup-box.open {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.popup-box .title {
    width: 100%;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #1f1737;
    line-height: 1.35;
    margin-bottom: 6px;
}

.popup-box .text {
    width: 100%;
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: #6f6887;
    line-height: 1.55;
}

.popup-box .text b {
    color: #c83e58;
    font-weight: 600;
}

.popup-box .btn-box {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.popup-box .btn-box .confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 18px;
    background: #8C54EC;
    border: 1px solid #8C54EC;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.popup-box .btn-box .confirm .icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    position: static;
    transition: transform 0.2s ease;
}

.popup-box .btn-box .confirm .icon svg {
    width: 12px;
    height: auto;
}

.popup-box .btn-box .confirm:hover {
    background: #4e34a0;
    border-color: #4e34a0;
}

.popup-box .btn-box .confirm:hover .icon {
    transform: translateX(2px);
}

.popup-box .btn-box .confirm.loading {
    pointer-events: none;
    opacity: 0.72;
}

.popup-box .btn-box .confirm.loading .icon {
    background: rgba(255, 255, 255, 0.18);
}

.popup-box .btn-box .cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8C54EC;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 18px;
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.popup-box .btn-box .v-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8C54EC;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 18px;
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.popup-box .btn-box .cancel:hover {
    background: #ece6ff;
    border-color: #b79cff;
}

.popup-box .btn-box .v-link:hover {
    background: #ece6ff;
    border-color: #b79cff;
}

.popup-box .btn-box .v-link.active {
    background: #effbf5;
    border-color: #bdebd4;
    color: #188a57;
    pointer-events: none;
}

/*--------------------------------------------------
  Shared Loading State
--------------------------------------------------*/

.about-content .loader {
    border: 4px solid rgba(103, 73, 167, 0.2);
    border-top: 4px solid #8C54EC;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: about-spin 0.5s linear infinite;
}

.about-content .about-cta-btn.main-btn.loading .loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #FFFFFF;
}

.guide-content .loader {
    border: 4px solid rgba(103, 73, 167, 0.2);
    border-top: 4px solid #8C54EC;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: guide-spin 0.5s linear infinite;
}

.guide-content .guide-cta-btn.main-btn.loading .loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #FFFFFF;
}

.home-content .loader {
    border: 4px solid rgba(98, 71, 170, 0.2);
    border-top: 4px solid #6247aa;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: home-spin 0.5s linear infinite;
}

.home-content .home-start-btn.loading .loader {
    border: 4px solid rgba(33, 25, 52, 0.2);
    border-top: 4px solid #211934;
}

.sign-content .sign-form-btn .loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #FFFFFF;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: sign-spin 0.5s linear infinite;
}

/*--------------------------------------------------
  Home
--------------------------------------------------*/

.home-content {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    background-color: #FFFFFF;
    color: #211934;
}

.home-content .home-bottom {
    flex: 0 0 auto;
}

.home-content .home-bottom .home-bottom-inner {
    width: 100%;
    margin: 0 auto;
    display: grid;
    padding: 20px 25px;
}

.home-content .home-bottom .home-bottom-right {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    position: relative;
}

.home-content .home-bottom .home-bottom-title {
    font-size: 0.7rem;
    color: #958DA4;
    font-weight: 300;
}

.home-content .home-bottom .home-bottom-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #211934;
    line-height: 1;
    font-weight: 400;
}

.home-content .home-bottom .home-bottom-text .dot {
    display: block;
    width: 5px;
    height: 5px;
    background-color: #211934;
    border-radius: 50%;
}

.home-content .public-header .header-user-drop {
    border: 1px solid #a895d7;
}

.home-content .home-meta {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #958da4;
    line-height: 1.4;
}

.home-content .tech-panel {
    position: relative;
    background: #ffffff;
}

.home-content .home-main {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 30px 25px;
}

.home-content .home-hero {
    flex: 1 1;
    max-width: 1600px;
    min-height: 0;
    display: block;
    box-sizing: border-box;
    position: relative;
}

.home-content .home-main .super-big-text {
    font-weight: 600;
    display: block;
    width: 100%;
    white-space: nowrap;
    font-size: 7.5vw;
    line-height: 9vw;
    color: #000000;
    position: relative;
}

.home-content .home-main .super-min-text {
    font-weight: 600;
    display: block;
    width: 100%;
    color: #000;
    white-space: nowrap;
    font-size: 4vw;
    line-height: 1;
    position: relative;
}
.home-content .home-main .nhrc-logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size:0.8rem;
    font-weight: 600;
    color: #204284;
}
    .home-content .home-main .nhrc-logo-text svg {
        width: 40px;
        height: auto;
        display: block;
        fill : #204284;
    }
    .home-content .home-main .nhrc-logo-text svg g {
        fill : #204284;
    }
.home-content .home-hero-inner {
    width: 100%;
    margin: 0 auto;
    display: block;
}

.home-content .title {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
    color: #211934;
    margin-top: 15px;
}

.home-content .home-title-box {
    margin-bottom: 14px;
}

.home-content .text {
    font-size: 0.8rem;
    color: #211934;
    line-height: 1;
    margin-top: 25px;
    font-weight: 400;
}

.home-content .sub-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #211934;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.home-content .home-btn-box {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.home-content .btn {
    gap: 10px;
    padding: 10px 18px;
    cursor: pointer;
    font-family: inherit;
}

.home-content .btn .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.home-content .btn:hover .icon {
    transform: translateX(2px);
}

.home-content .btn .icon svg {
    width: 16px;
    height: auto;
    display: block;
}

.home-content .home-start-btn .icon svg path {
    fill: #FFF;
}

.home-content .home-start-btn.loading {
    pointer-events: none;
    opacity: 0.88;
}

.home-content .home-video-btn.loading {
    pointer-events: none;
    opacity: 0.88;
}

/* Facts Slider */
.home-content .home-facts {
    width: 100%;
    max-width: 500px;
    margin-top: 50px;
    background-color: #F8F8F8;
    border-radius: 30px;
    padding: 25px;
}

.home-content .home-facts-slider {
    width: 100%;
}

/* Slide Content */
.home-content .home-facts-track {
    position: relative;
    width: 100%;
    min-height: 92px;
}

.home-content .home-facts-item {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

/* Active Slide */
.home-content .home-facts-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.home-content .home-facts-category {
    margin-bottom: 0;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #958da4;
    line-height: 1.35;
}

.home-content .home-facts-title {
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: #211934;
}

.home-content .home-facts-detail {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.55;
    color: #211934;
}

/* Progress Bar */
.home-content .home-facts-progress {
    width: 100%;
    height: 2px;
    margin-top: 12px;
    background: rgba(98, 71, 170, 0.18);
    overflow: hidden;
}

.home-content .home-facts-progress-bar {
    width: 0;
    height: 100%;
    background: #8C54EC;
}

.home-content .home-hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    position: relative;
    background-image: url("../img/objects/index-wel-bg.png");
    background-size: auto 83%;
    background-position: center right;
    background-repeat: no-repeat;
}

.home-content .home-hero-right img {
    margin-top: 20px;
}

.home-content .home-art-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    box-sizing: border-box;
    overflow: hidden;
}

.home-content .home-art-meta {
    position: absolute;
    top: 14px;
    left: 16px;
    z-index: 2;
}

.home-content .home-art-caption {
    position: absolute;
    bottom: 14px;
    right: 16px;
    z-index: 2;
}

.home-content .home-art-shape {
    position: absolute;
    border-radius: 0;
    opacity: 1;
}

.home-content .home-art-shape.shape-a {
    width: 58%;
    height: 42%;
    background: #eee9fc;
    border: 1px solid #d8d0e9;
    top: 10%;
    right: 6%;
}

.home-content .home-art-shape.shape-b {
    width: 36%;
    height: 28%;
    background: #ffffff;
    border: 1px solid #a895d7;
    bottom: 8%;
    left: 8%;
}

.home-content .home-art-img {
    position: relative;
    z-index: 1;
    width: 62%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
}

.home-content .home-rail-code {
    display: block;
    margin-bottom: 6px;
}

.home-content .home-rail-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #6247aa;
    line-height: 1.1;
}

.home-content .home-rail-desc {
    font-size: 0.78rem;
    color: #6d657d;
    line-height: 1.4;
}

.home-content .home-section {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 25px 32px;
    box-sizing: border-box;
    opacity: 1;
    transform: none;
}

.home-content:not(.home-ready) .home-section {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-content.home-ready .home-section {
    opacity: 1;
    transform: none;
}

.home-content .home-section-head {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d8d0e9;
}

.home-content .home-section-meta {
    margin-bottom: 8px;
}

.home-content .home-learning-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #a895d7;
    border-radius: 5px;
    overflow: hidden;
}

.home-content .home-learning-item {
    padding: 20px 18px;
    border-right: 1px solid #d8d0e9;
    border-bottom: 1px solid #d8d0e9;
    border-radius: 0;
    background: #ffffff;
}

.home-content .home-learning-item:nth-child(3n) {
    border-right: none;
}

.home-content .home-learning-item:nth-last-child(-n+3) {
    border-bottom: none;
}

.home-content .home-learning-code {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 8px;
    border: 1px solid #d8d0e9;
    border-radius: 5px;
    background: #f8f6fd;
}

.home-content .home-learning-item .title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
}

.home-content .home-learning-item .text {
    font-size: 0.84rem;
    max-width: none;
}

.home-content .home-journey-track {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 0;
    padding: 18px 12px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.home-content .home-journey-track::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 24px;
    right: 24px;
    height: 1px;
    background: #d8d0e9;
    transform: translateY(-50%);
    z-index: 0;
}

.home-content .home-journey-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 8px 4px;
}

.home-content .home-journey-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #6247aa;
    border-radius: 5px;
    background: #ffffff;
    font-size: 0.58rem;
    margin-bottom: 2px;
}

.home-content .home-journey-code {
    font-size: 0.55rem;
}

.home-content .home-journey-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #211934;
    line-height: 1.3;
}

.home-content .home-journey-action {
    margin-top: 16px;
}

.home-content .home-statement {
    padding-bottom: 36px;
}

.home-content .home-statement-inner {
    padding: 32px 28px;
    border-top: 2px solid #6247aa;
    border-bottom: 2px solid #6247aa;
    border-radius: 0;
    background: linear-gradient(90deg, #eee9fc 0%, #eee9fc 6px, transparent 6px);
}

.home-content .home-statement-meta {
    margin-bottom: 14px;
}

.home-content .home-statement .title {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin-bottom: 12px;
    max-width: 720px;
}

.home-content .home-statement .text {
    max-width: 680px;
    font-size: 0.96rem;
}

.home-content .home-cta-final {
    margin-bottom: 8px;
    padding: 24px 28px;
    border: 2px solid #6247aa;
    background: linear-gradient(135deg, #eee9fc 0%, #eee9fc 42%, #ffffff 42%);
    border-radius: 10px;
}

.home-content .home-cta-final-inner {
    max-width: 640px;
}

.home-content .home-cta-final .sub-title {
    margin-bottom: 10px;
}

.home-content .home-cta-final .text {
    margin-bottom: 18px;
}

.home-content .home-cta-btn-box {
    margin-top: 0;
}

.home-content .home-bar-item .sub-title {
    color: #211934;
    font-weight: 700;
}

.home-content .home-cms-bar {
    padding: 12px 16px;
}

.home-content .home-cms-bar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-content .home-cms-chip {
    display: inline-block;
    font-size: 0.72rem;
    padding: 6px 12px;
    color: #8C54EC;
    text-decoration: none;
}

/*--------------------------------------------------
  About
--------------------------------------------------*/

.about-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 25px ;
    box-sizing: border-box;
    border-top: 1px solid #E0D9F0;
}

.about-content .title {
    font-size: 1rem;
    font-weight: 600;
    color: #1F1361;
    line-height: 1.2;
}

.about-content .sub-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #8C54EC;
    line-height: 1.3;
    margin-bottom: 8px;
}

.about-content .text {
    font-size: 0.8rem;
    color: #444;
    line-height: 1.65;
    font-weight: 400;
}

.about-content .about-hero {
    margin-bottom: 28px;
}

.about-content .about-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 42px 44px;
    border: 1px solid #EBE5F7;
}

.about-content .about-hero-text {
    flex: 1;
    max-width: 560px;
}

.about-content .about-hero-text .text {
    margin-top: 14px;
}

.about-content .about-hero-art {
    flex: 0 0 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content .about-hero-art img {
    width: 100%;
    max-width: 220px;
    height: auto;
}

.about-content .about-card {
    background-color: #FFFFFF;
    border-radius: 18px;
    padding: 32px 36px;
    margin-bottom: 22px;
    border: 1px solid #EBE5F7;
}

.about-content .about-card > .text {
    max-width: 720px;
    margin-bottom: 4px;
}

.about-content .about-card .text.rich-text p {
    margin: 0 0 10px;
}

.about-content .about-card .text.rich-text p:last-child {
    margin-bottom: 0;
}

.about-content .about-goal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.about-content .about-goal-item {
    background-color: #F9F6FE;
    border-radius: 14px;
    padding: 20px 12px;
    text-align: center;
    border: 1px solid #EDE6FA;
}

.about-content .about-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content .about-icon svg {
    width: 28px;
    height: auto;
    display: block;
}

.about-content .about-icon svg path {
    fill: #8C54EC;
}

.about-content .about-step-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.about-content .about-step-item {
    flex: 1;
    background-color: #F4EFFF;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
}

.about-content .about-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #8C54EC;
    color: #8C54EC;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    background: #ece6ff;
    border: 1px solid #ded7ef;
}

.about-content .about-step-item .sub-title {
    font-size: 0.88rem;
    color: #1F1361;
    margin-bottom: 6px;
}

.about-content .about-step-item .text {
    font-size: 0.78rem;
    color: #666666;
}

.about-content .about-learner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.about-content .about-learner-item {
    background-color: #F9F6FE;
    border: 1px solid #EDE6FA;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
}

.about-content .about-learner-item .sub-title {
    font-size: 0.85rem;
    color: #1F1361;
    margin: 8px 0 4px;
}

.about-content .about-learner-item .text {
    font-size: 0.75rem;
    color: #777777;
}

.about-content .about-org-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.about-content .about-org-item {
    background-color: #F9F6FE;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    border: 1px dashed #D4C4F0;
}

.about-content .about-org-logo {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.about-content .about-org-logo img {
    max-width: 120px;
    max-height: 56px;
    object-fit: contain;
}

.about-content .about-cta {
    text-align: center;
}

.about-content .about-cta .sub-title {
    color: #1F1361;
}

.about-content .about-cta .text {
    max-width: 520px;
    margin: 0 auto;
}

.about-content .about-cta-box {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 22px;
}

.about-content .about-cta-btn {
    gap: 10px;
    padding: 10px 22px;
}

.about-content .about-cta-btn .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-content .about-cta-btn .icon svg {
    width: 16px;
    height: auto;
    display: block;
}

.about-content .about-cta-btn.main-btn .icon svg path {
    fill: #FFFFFF;
}

.about-content .about-cta-btn.loading {
    pointer-events: none;
    opacity: 0.88;
}

.about-content .about-card {
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 20px;
}

.about-content .about-goal-item {
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 20px;
}

.about-content .about-step-item {
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 20px;
}

.about-content .about-learner-item {
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 20px;
}

.about-content .about-org-item {
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 20px;
}

/*--------------------------------------------------
  Guide
--------------------------------------------------*/

.guide-content {
    width: 100%;
    margin: 0 auto;
    padding: 25px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.guide-content .guide-set {
    width: auto;
    max-width: 900px;
}

.guide-content .brand-bar {
    flex-flow: 1;
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
}

.guide-content .brand-bar .nhrc svg {
    width: 150px;
}

.guide-content .brand-bar .moved svg {
    width: 150px;
    position: relative;
    top: -15px;
}

.guide-content .brand-bar .fair svg {
    width: 200px;
}

.guide-content .guide-super-text {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.1;
    color: #211934;
    text-align: center;
    margin-bottom: 60px;
}

.guide-content .title {
    font-size: 1.1rem;
    font-weight: 400;
    color: #1F1361;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 35px;
}

.guide-content .title span {
    padding: 7px 25px;
    background-color: #1F1361;
    color: #FFF;
    border-radius: 18px;
}

.guide-content .sub-title {
    font-size: 1rem;
    font-weight: 500;
    color: #8C54EC;
    line-height: 1.3;
    margin-bottom: 8px;
}

.guide-content .text {
    font-size: 0.8rem;
    color: #444444;
    line-height: 1.6;
    font-weight: 400;
}

.guide-content .guide-card {
    margin-bottom: 22px;
}

.guide-content .guide-card > .text {
    max-width: 720px;
    margin-bottom: 6px;
}

.guide-content .text.rich-text p {
    margin: 0 0 10px;
}

.guide-content .text.rich-text p:last-child {
    margin-bottom: 0;
}

.guide-content .text.rich-text ul {
    margin: 8px 0 12px;
    padding-left: 20px;
}

.guide-content .text.rich-text li {
    margin-bottom: 6px;
    line-height: 1.55;
}

.guide-content .text.rich-text a {
    color: #8C54EC;
    font-weight: 600;
    text-decoration: none;
}

.guide-content .text.rich-text a:hover {
    text-decoration: underline;
}

.guide-content .guide-timeline {
    margin-top: 24px;
    position: relative;
    padding-left: 4px;
}

.guide-content .guide-timeline::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 18px;
    bottom: 40px;
    width: 2px;
    background-color: #E0D4F5;
}

.guide-content .guide-step-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    position: relative;
}

.guide-content .guide-step-item:last-child {
    margin-bottom: 0;
}

.guide-content .guide-step-marker {
    flex: 0 0 48px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.guide-content .guide-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #8C54EC;
    color: #fff;
    font-weight: 500;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8C54EC;
    margin-top: 10px;
}

.guide-content .guide-step-body {
    flex: 1;
    border: 1px solid #EDE6FA;
    border-radius: 18px;
    padding: 10px 15px;
}

.guide-content .guide-step-body .sub-title {
    font-size: 1rem;
    font-weight: 500;
    color: #1F1361;
    margin: 0;
}

.guide-content .guide-step-body .text {
    font-size: 0.8rem;
    color: #555555;
}

.guide-content .guide-step-body .text ul {
    margin: 0;
    padding-left: 18px;
}

.guide-content .guide-step-body .text li {
    margin-bottom: 5px;
}

.guide-content .guide-cta {
    text-align: center;
    border: 1px solid #EDE6FA;
    border-radius: 18px;
    padding: 15px 15px;
}

.guide-content .guide-cta .sub-title {
    color: #1F1361;
}

.guide-content .guide-cta .text {
    max-width: 480px;
    margin: 0 auto;
}

.guide-content .guide-cta-box {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 22px;
}

.guide-content .guide-cta-btn {
    gap: 10px;
    padding: 10px 22px;
}

.guide-content .guide-cta-btn .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.guide-content .guide-cta-btn .icon svg {
    width: 16px;
    height: auto;
    display: block;
}

.guide-content .guide-cta-btn.main-btn .icon svg path {
    fill: #FFFFFF;
}

.guide-content .guide-cta-btn.loading {
    pointer-events: none;
    opacity: 0.88;
}

/*--------------------------------------------------
  Sign In and Registration
--------------------------------------------------*/

.sign-content .sign-input-box input.is-invalid {
    border-color: #f3c2cc;
    background: #fff1f4;
}

.sign-content .sign-input-box input.is-invalid:focus {
    border-color: #c83e58;
}

.sign-main-box .form-body .sign-input-box {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 15px;
}

.sign-main-box .form-body .sign-input-box input {
    font-family: 'Prompt';
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 12px;
    border: 1px solid #DFD6F2;
    outline: none;
    color: #1F1361;
    padding: 5px 15px 5px 45px;
}

.sign-main-box .form-body .sign-input-box .icon {
    width: 15px;
    height: auto;
    display: block;
    position: absolute;
    z-index: 10;
    left: 15px;
}

.sign-main-box .form-body .sign-input-box .icon svg {
    width: 15px;
    height: auto;
    display: inline-block;
}

.sign-main-box .form-body .sign-input-box .icon svg path {
    fill: #8C54EC;
}


.sign-main-box .sign-form-btn svg {
    width: 15px;
    height: auto;
    display: inline-block;
}

.sign-main-box .sign-form-btn svg path {
    fill: #FFF;
}

.sign-main-box .sign-form-btn:hover {
    background-color: #8D51EB;
}

.sign-content {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 25px;
    box-sizing: border-box;
    background-image: url("../img/objects/sign-bg.png");
    background-size: cover;
}

.sign-content .sign-fix-box {
    width: 460px;
    display: block;
}

.sign-content .content-left {
    width: 48%;
    flex-shrink: 0;
}

.sign-content .content-right {
    width: 52%;
    display: flex;
    align-items: center;
}

.sign-content .sign-main-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 18px;
}

.sign-content .sign-main-menu svg {
    width: 52px;
    height: auto;
}

.sign-content .sign-main-menu .name {
    font-family: "Google Sans", sans-serif;
    color: #1F1361;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}

.sign-content .sign-main-menu .sub-name {
    color: #1F1361;
    font-weight: 400;
    font-size: 0.88rem;
    line-height: 1;
}

.sign-content .title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1F1361;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 8px;
}

.sign-content .sub-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1A0D3F;
    margin-bottom: 4px;
}

.sign-content .text {
    font-size: 0.88rem;
    color: #555555;
    line-height: 1.55;
    text-align: center;
    margin-bottom: 12px;
}

.sign-content .sign-icon-box {
    width: 100%;
    margin: 12px 0;
    text-align: center;
}

.sign-content .sign-icon {
    width: 70%;
    max-width: 280px;
    height: auto;
}

.sign-content .features-panel {
    width: 100%;
    display: flex;
    background-color: #FFFFFF;
    border-radius: 18px;
    padding: 12px 8px;
    border: 1px solid #EBE5F7;
    margin-top: 8px;
}

.sign-content .features-panel .feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 6px;
    position: relative;
}

.sign-content .features-panel .feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: #E0D4F5;
}

.sign-content .features-panel .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.sign-content .features-panel .feature-icon svg {
    width: 20px;
    height: auto;
}

.sign-content .features-panel .feature-icon svg path {
    fill: #FFFFFF;
}

.sign-content .features-panel .feature-icon.bg-purple {
    background-color: #8C54EC;
}

.sign-content .features-panel .feature-icon.bg-pink {
    background-color: #C77BD4;
}

.sign-content .features-panel .feature-icon.bg-light-purple {
    background-color: #9B7FD4;
}


.sign-content .head-switch {
    display: flex;
    background: #ece6ff;
}

.sign-content .head-switch .switch-btn {
    flex: 1;
    padding: 12px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #666666;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: none;
    background: transparent;
}

.sign-content .head-switch .switch-btn svg {
    width: 16px;
    height: auto;
}

.sign-content .head-switch .switch-btn svg path {
    fill: #888888;
}

.sign-content .head-switch .switch-btn.active svg path {
    fill: #8C54EC;
}

.sign-content .head-switch .switch-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12%;
    width: 76%;
    height: 2px;
    background-color: #8C54EC;
    border-radius: 8px 8px 0 0;
}

.sign-content .signup-box {
    display: none;
}

.sign-content .forgot-box {
    display: none;
}

.sign-content .form-body {
    padding: 30px;
    border-top: 1px solid #EDE6FA;
}

.sign-content .form-title {
    color: #1F1361;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

.sign-content .form-subtitle {
    color: #8C54EC;
    font-weight: 600;
    font-size: 0.82rem;
    text-align: center;
    margin-bottom: 18px;
}

.sign-content .sign-input-row {
    display: flex;
    gap: 10px;
}

.sign-content .sign-field-label {
    display: block;
    color: #1F1361;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.sign-content .sign-input-box {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 12px;
}

.sign-content .sign-input-box.half {
    flex: 1;
    margin-bottom: 12px;
}

.sign-content .sign-input-box.half input {
    padding-left: 14px;
    padding-right: 14px;
}

.sign-content .sign-input-box input:focus {
    border-color: #8b6cff;
}

.sign-content .sign-input-box .icon {
    position: absolute;
    left: 14px;
    z-index: 2;
    width: 16px;
    display: flex;
    pointer-events: none;
}

.sign-content .sign-input-box .icon svg {
    width: 16px;
    height: auto;
}

.sign-content .sign-input-box .icon svg path {
    fill: #8C54EC;
}

.sign-content .pw-toggle {
    position: absolute;
    right: 8px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.sign-content .pw-toggle svg {
    width: 14px;
    height: auto;
}

.sign-content .pw-toggle svg path {
    fill: #8C54EC;
}

.sign-content .pw-toggle:hover {
    background-color: #F4EFFF;
}

.sign-content .sign-option-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.sign-content .remember-me {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
}

.sign-content .remember-me input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.sign-content .remember-me .checkmark {
    width: 18px;
    height: 18px;
    background-color: #EBE5F7;
    border: 1.5px solid #8C54EC;
    border-radius: 6px;
    position: relative;
}

.sign-content .remember-me input:checked ~ .checkmark {
    background-color: #8C54EC;
}

.sign-content .remember-me .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sign-content .remember-me input:checked ~ .checkmark::after {
    display: block;
}

.sign-content .remember-me .label-text {
    font-size: 0.75rem;
    color: #8C54EC;
    font-weight: 500;
}

.sign-content .sign-register-consent {
    margin-top: 12px;
    margin-bottom: 4px;
    align-items: flex-start;
}

.sign-content .sign-register-consent .checkmark {
    flex-shrink: 0;
    margin-top: 2px;
}

.sign-content .forgot-link {
    font-size: 0.75rem;
    color: #8C54EC;
    text-decoration: none;
    font-weight: 600;
}

.sign-content .forgot-link:hover {
    text-decoration: underline;
}

.sign-content .sign-form-btn {
    font-family: 'Prompt';
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background-color: #8C54EC;
    color: #FFFFFF;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
    background: #8C54EC;
}

.sign-content .sign-form-btn:hover {
    background-color: #553C8D;
    background: #4e34a0;
}

.sign-content .sign-form-btn .icon svg {
    width: 14px;
    height: auto;
}

.sign-content .sign-form-btn .icon svg path {
    fill: #FFFFFF;
}

.sign-content .sign-form-btn.loading {
    pointer-events: none;
    opacity: 0.88;
}

.sign-content .sign-form-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background-color: #8C54EC;
    background: #8C54EC;
}

.sign-content .sign-form-btn:disabled:hover {
    background-color: #8C54EC;
    background: #8C54EC;
}

.sign-content .register-suggest {
    margin-top: 16px;
    text-align: center;
    font-size: 0.7rem;
    color: #666666;
    font-weight: 400;
}

.sign-content .register-suggest a {
    color: #8C54EC;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.sign-content .register-suggest a:hover {
    text-decoration: underline;
}

.sign-content .register-suggest svg {
    width: 10px;
    height: auto;
    vertical-align: middle;
}

.sign-content .register-suggest svg path {
    fill: #8C54EC;
}

.sign-content .forgot-note {
    text-align: center;
    font-size: 0.8rem;
    color: #666666;
    margin-bottom: 14px;
}

.sign-content .sign-password-hint {
    font-size: 13px;
    line-height: 1.45;
    color: #4f4a5c;
    font-weight: 400;
    margin: 6px 0 10px 0;
}

.sign-content.sign-reset-page {
    min-height: 100vh;
}

.sign-content .sign-reset-box {
    justify-content: center;
}

.sign-content .sign-reset-col {
    width: 100%;
    max-width: 460px;
}

.sign-content .sign-main-box.is-forgot-view .form-body {
    border-top: none;
}

.sign-content .forgot-box .form-title::before {
    content: 'RESET';
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #9b95b2;
    margin-bottom: 6px;
}

.sign-content .forgot-box .forgot-note {
    color: #6f6887;
    text-align: center;
    font-weight: 400;
    font-size: 0.7rem;
    margin-bottom: 14px;
}

/*--------------------------------------------------
  Consent
--------------------------------------------------*/

.consent-field-error {
    display: none;
    color: #c83e58;
    font-size: 0.76rem;
    line-height: 1.45;
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff1f4;
    border: 1px solid #f3c2cc;
    animation: msg-fade-in 0.25s ease;
}

.elementor > .consent-content {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background-image: url("../img/objects/sign-bg-2.png");
    background-size: cover;
    background-attachment: fixed;
}

.consent-content .consent-body {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    padding: 28px 36px;
    border-radius: 20px;
    background-color: #FFFFFF;
    border: 1px solid #DFD6F2;
    box-sizing: border-box;
}

.consent-content .consent-header {
    text-align: center;
    margin-bottom: 12px;
}

.consent-content .consent-logo {
    display: inline-block;
    margin-bottom: 25px;
    width: 50%;
    height: auto;
}

.consent-content .title {
    color: #211934;
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.consent-content .sub-title {
    color: #211934;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
}

.consent-content .text {
    color: #211934;
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 1.65;
}

.consent-content .consent-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 10px;
    margin-bottom: 25px;
}

.consent-content .consent-meta-item {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 18px;
    background: #F4EFFF;
    border: 1px solid  #E1DAF0;
    color: #553C8D;
    font-size: 0.72rem;
    font-weight: 600;
}

.consent-content .consent-text-panel {
    overflow-y: auto;
    padding: 14px 16px;
    margin-bottom: 25px;
    border: 1px solid #EBE5F7;
    border-radius: 18px;
    background: #FAF8FF;
    scroll-behavior: smooth;
}

.consent-content .consent-text-panel .consent-rich {
    margin: 0 0 10px 0;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #4A3F6B;
}

.consent-content .consent-text-panel .consent-rich ul {
    margin: 0;
    padding-left: 30px;
}

.consent-content .consent-section-label {
    margin-bottom: 10px;
}

.consent-content .consent-item {
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #DED7EF;
    border-radius: 18px;
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
    margin-top: 10px;
    gap: 10px;
}

.consent-content .consent-item.has-error {
    border-color: #E07A6A;
}

.consent-content .consent-left {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: calc(100% - 150px);
    min-width: 0;
    flex: 1;
}

.consent-content .consent-item-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
}

.consent-content .consent-item-icon svg {
    width: 20px;
    height: auto;
    display: block;
}

.consent-content .consent-item-icon svg path {
    fill: #7E49D5;
}

.consent-content .consent-item .consent-item-body {
    flex: 1;
    min-width: 0;
}

.consent-content .consent-info-text {
    flex: 1;
    min-width: 0;
}

.consent-content .consent-item-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.consent-content .consent-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 150px;
    padding-left: 20px;
    flex-shrink: 0;
}

.consent-content .radio-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.7rem;
    color: #1A0D3F;
    font-weight: 500;
    user-select: none;
    position: relative;
}

.consent-content .radio-label input {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.consent-content .radio-label input:focus-visible + .radio-custom {
    outline: 2px solid #7E49D5;
    outline-offset: 2px;
}

.consent-content .radio-custom {
    height: 18px;
    width: 18px;
    background-color: #FFFFFF;
    border: 1.5px solid #8C54EC;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.consent-content .radio-custom::after {
    content: "";
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8C54EC;
}

.consent-content .radio-label input:checked ~ .radio-custom::after {
    display: block;
}

.consent-content .consent-field-error {
    width: 100%;
    flex-basis: 100%;
    font-size: 0.68rem;
    color: #B84A3A;
    font-weight: 600;
    min-height: 0;
}

.consent-content .consent-field-error:not(:empty) {
    margin-top: 4px;
}

.consent-content .consent-info-box {
    width: 100%;
    background-color: #F4EFFF;
    border-radius: 15px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-sizing: border-box;
    margin-top: 12px;
}

.consent-content .consent-info-box svg {
    width: 20px;
    height: auto;
    flex-shrink: 0;
    margin-top: 5px;
}

.consent-content .consent-info-box svg path {
    fill: #7E49D5;
}

.consent-content .consent-read-box {
    margin: 25px 0 30px 0;
}

.consent-content .consent-read-box.has-error {
    border-color: #E07A6A;
}

.consent-content .consent-read-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #1A0D3F;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
}

.consent-content .consent-read-label input {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 0;
}

.consent-content .consent-read-label input:focus-visible + .consent-check-custom {
    outline: 2px solid #7E49D5;
    outline-offset: 2px;
}

.consent-content .consent-check-custom {
    width: 18px;
    height: 18px;
    border: 1.5px solid #8C54EC;
    border-radius: 4px;
    background: #FFFFFF;
    flex-shrink: 0;
    position: relative;
    margin-top: 2px;
}

.consent-content .consent-read-label input:checked ~ .consent-check-custom {
    background: #8C54EC;
}

.consent-content .consent-read-label input:checked ~ .consent-check-custom::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-content .consent-action-bar {
    width: 100%;
    margin: 16px auto 0 auto;
    display: flex;
    gap: 16px;
    box-sizing: border-box;
}

.consent-content .consent-action-bar .consent-btn {
    flex: 1;
    padding: 10px 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    border: none;
}

.consent-content .consent-action-bar .btn-title {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.consent-content .consent-action-bar .btn-subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.85;
}

.consent-content .consent-action-bar .btn-outline {
    background-color: transparent;
    border: 1px solid #C0A9F1;
    color: #211934;
}

.consent-content .consent-action-bar .btn-outline:hover {
    background-color: #F8F6FC;
    border-color: #8C54EC;
}

.consent-content .consent-action-bar .btn-primary {
    background: #8C54EC;
    color: #FFFFFF;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.consent-content .consent-action-bar .btn-primary:hover {
    background: #553C8D;
}

.consent-content .consent-action-bar .btn-primary.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.consent-content .consent-action-bar .btn-primary.loading {
    pointer-events: none;
    opacity: 0.85;
}

.consent-content .consent-action-bar .btn-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.consent-content .consent-action-bar .icon {
    display: inline-flex;
    align-items: center;
}

.consent-content .consent-action-bar svg {
    width: 18px;
    height: auto;
}

.consent-content .consent-action-bar .btn-primary svg path {
    fill: #FFFFFF;
}

.consent-content .consent-btn .loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
}

/*--------------------------------------------------
  Course Overview
--------------------------------------------------*/

.course-content {
    width: 100%;
    min-height: 350px;
    box-sizing: border-box;
}

.course-content .header-menu {
    position: relative;
    padding: 12px 25px;
}
.course-content .final-q-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    box-sizing: border-box;
    position: relative;
}
.course-content .module-q-rich {
    font-size: 1.3rem;
    font-weight: 500;
    color: #12102a;
    line-height: 1.55;
    word-break: break-word;
    padding: 15px 0;
}
.course-content .course-micro-label {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: #8C54EC;
    margin-bottom: 0;
}

.course-content .title {
    font-size: 2rem;
    font-weight: 600;
    color: #1f1737;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0px;
}

.course-content .sub-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f1737;
    line-height: 1.35;
    margin-bottom: 8px;
}

.course-content .text {
    font-size: 0.8rem;
    color: #1a1433;
    line-height: 1.7;
    font-weight: 400;
}

.course-content .course-section {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 10px 32px;
    box-sizing: border-box;
}

.course-content .course-section-head {
    margin-bottom: 0;
}

.course-content .course-section-head .text {
    margin-bottom: 0;
}

.course-content .course-hero {
    padding: 25px 25px;
    height: calc(100dvh - 110px);
}

.course-content .course-hero .text {
    margin-bottom: 0;
}

.course-content .course-hero-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
            background-image: url(../img/objects/coruse-wel-bg.png);
        background-size: auto 40%;
        background-position: center right;
        background-repeat: no-repeat;
}

.course-content .course-hero-text {
    flex: 5.5;
    height: auto;
    display: block;
}

.course-content .course-hero-art {
    flex: 4.5;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-content .course-hero-art img {
    width: auto;
    max-height: calc(100vh - 110px);
    object-fit: contain;
}

.course-content .course-hero-btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin-top: 25px;
}

.course-content .course-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.course-content .course-btn .icon {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
}

.course-content .course-btn .icon svg {
    width: 14px;
    height: auto;
    fill: #FFF;
}

.course-content .course-btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.course-content .course-progress-hint {
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.course-content .course-progress-hint .text {
    margin: 0;
    font-weight: 600;
    color: #4e34a0;
}

.course-content .course-method-card {
    position: relative;
    border-radius: 10px;
    padding: 15px 15px;
}

.course-content .course-timeline {
    display: flex;
    gap: 0;
    padding-bottom: 8px;
}

.course-content .course-timeline-item {
    flex: 1;
    min-width: 120px;
    position: relative;
    padding: 0 10px 0 0;
}

.course-content .course-timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 32px;
    right: 0;
    height: 1px;
    background: #DED7EF;
    z-index: 0;
}

.course-content .course-timeline-marker {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.course-content .course-timeline-no {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #4e34a0;
    background: #ffffff;
    border: 1px solid #DED7EF;
}

.course-content .course-timeline-item.is-done .course-timeline-no {
    background: #8C54EC;
    color: #fff;
}

.course-content .course-timeline-item.is-current .course-timeline-no {
    background: #ece6ff;
}

.course-content .course-timeline-item.is-locked .course-timeline-no {
    color: #9b95b2;
    background: #f1edfb;
}

.course-content .course-timeline-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: #8C54EC;
    margin-bottom: 4px;
}

.course-content .course-timeline-body .text {
    font-size: 0.7rem;
    margin-bottom: 0;
}

.course-content .course-status-pill {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #ded7ef;
    background: #f1edfb;
    color: #6f6887;
}

.course-content .course-status-pill.is-done {
    background: #effbf5;
    border-color: #bdebd4;
    color: #188a57;
}

.course-content .course-status-pill.is-current {
    background: #ece6ff;
    border-color: #ded7ef;
    color: #4e34a0;
}

.course-content .course-status-pill.is-locked {
    background: #f1edfb;
    color: #9b95b2;
}

.course-content .course-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.course-content .course-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
}

.course-content .course-list .text {
    font-size: 0.8rem;
    color: #1a1433;
}

.course-content .course-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8C54EC;
}

.course-content .course-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.course-content .course-reveal.is-visible {
    opacity: 1;
}

.course-content .loader {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
}

/*--------------------------------------------------
  Journey
--------------------------------------------------*/

.journey-content {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
}

.journey-content .journey-hero-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 25px;
}
    .journey-content .journey-hero-now {
        flex: 5;
        height: auto;
        display: block;
    }
    .journey-content .journey-hero-listbox {
        flex: 5;
        height: auto;
        display: block;
    }
.journey-content .header-menu {
    position: relative;
    padding: 12px 25px;
}

.journey-content .journey-body {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 25px 25px;
    box-sizing: border-box;
    border-top: 1px solid #EDE6FA;
}

.journey-content .journey-micro-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #8C54EC;
    margin-bottom: 0;
}

.journey-content .title {
    font-size: 1.4rem;
    font-weight: 500;
    color: #1F1737;
    line-height: 1.25;
    margin-bottom: 0px;
}

.journey-content .sub-title {
    font-size: 1rem;
    font-weight: 500;
    color: #1f1737;
    line-height: 1.35;
    margin-bottom: 8px;
}

.journey-content .text {
    font-size: 0.8rem;
    color: #1a1433;
    line-height: 1.7;
    font-weight: 400;
}

.journey-content .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #8C54EC;
    text-decoration: none;
    margin: 8px 0 18px;
}

.journey-content .back-link svg {
    width: 14px;
    height: auto;
    transform: rotate(180deg);
    fill: #8C54EC;
}

.journey-content .journey-header {
    display: flex;
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 20px;
}

.journey-content .journey-header-text {
    flex: 1;
    min-width: 0;
}

.journey-content .journey-header-art {
    flex: 0 0 220px;
}

.journey-content .journey-art-frame {
    background: #ffffff;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 22px;
    position: relative;
}

.journey-content .journey-art-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 14px;
    height: 14px;
    border-top: 1px solid #ded7ef;
    border-right: 1px solid #ded7ef;
}

.journey-content .journey-art-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.journey-content .journey-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}

.journey-content .journey-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #4E34A0;
    padding-right: 10px;
    padding-left: 10px;
    border-left: 1px solid #BBB;
}

.journey-content .journey-meta-item:first-of-type {
    padding-left: 0;
    border-left: none;
}

.journey-content .journey-meta-code {
    font-size: 0.6rem;
    color: #9B95B2;
}

.journey-content .journey-preview-note {
    margin: 10px 0;
    padding: 10px 12px;
    background: #f3efff;
    border: 1px solid #d8cdf8;
    border-radius: 10px;
}

.journey-content .journey-main-action-row {
    margin-top: 14px;
    text-align: right;
}

.journey-content .journey-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.journey-content .journey-main-hint {
    margin-top: 8px;
    font-size: 0.78rem;
}

.journey-content .journey-progress-card {
    margin-bottom: 16px;
}
.journey-img-icon-box {
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
    position: relative;
}
.journey-img-icon-box img {
    max-height: calc(100vh - 430px);
        display: inline-block;
        top: 10px;
}
.journey-content .journey-progress-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.journey-content .journey-progress-percent {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8C54EC;
}

.journey-content .progress-bar-bg {
    width: 100%;
    height: 10px;
    background: #ebe6f7;
    border-radius: 999px;
    overflow: hidden;
}

.journey-content .progress-bar-fill {
    height: 100%;
    background: #8C54EC;
    border-radius: 999px;
    transition: width 0.4s ease;
}

.journey-content .journey-progress-meta {
    margin-top: 10px;
    font-size: 0.78rem;
}

.journey-content .summary-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.journey-content .summary-box {
    background: #ffffff;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.journey-content .summary-icon {
    width: 34px;
    height: 34px;
    background: #8C54EC;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.journey-content .summary-icon svg {
    width: 16px;
    height: auto;
}

.journey-content .summary-icon svg path {
    fill: #fff;
}

.journey-content .summary-box .num {
    font-size: 1.05rem;
    font-weight: 800;
    color: #4e34a0;
    margin: 0;
}

.journey-content .journey-summary-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.journey-content .journey-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #4e34a0;
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 999px;
    padding: 6px 12px;
}

.journey-content .journey-chip-code {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    color: #9b95b2;
}

.journey-content .journey-section-head {
    margin-bottom: 14px;
}

.journey-content .step-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    padding: 10px;
    border-radius: 23px;
    border: 1px solid #e0d9f0;
    max-height: calc(100vh - 317px);
    overflow: hidden;
    overflow-y: scroll;
}
.journey-content .step-list::-webkit-scrollbar {
    width: 3px; /* ความกว้างของ Scrollbar (ปรับบางลงได้ตามชอบ) */
}

.journey-content .step-list::-webkit-scrollbar-track {
    background: transparent; /* หรือใช้ #f1f1f1 ถ้าต้องการให้เห็นแถบราง */
    border-radius: 10px;
    
    margin: 20px 0;
}

.journey-content .step-list::-webkit-scrollbar-thumb {
    background: #8C54EC; /* สีของแกนเลื่อน (โทนเทาอ่อน) */
    border-radius: 10px; /* ทำปลายโค้งมน */
}

.journey-content .step-list::-webkit-scrollbar-thumb:hover {
    background: #8b5cf6; /* เปลี่ยนเป็นสีม่วงตามธีมเว็บเมื่อนำเมาส์ไปชี้ */
}
.journey-content .step-list ::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}


.journey-content .step-row {
    display: grid;
    grid-template-columns: 35px 1fr 120px 180px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e0d9f0;
    border-radius: 20px;
    background: #ffffff;
    position: relative;
    z-index: 1;
    transition: border-color 0.2s ease;
}
.journey-content .step-row > *:nth-child(4n) {
    justify-self:right; /* หรือใช้ left */
}
.journey-content .step-marker {
    display: flex;
    justify-content: center;
}

.journey-content .step-num {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #4e34a0;
    background: #ffffff;
    border: 1px solid #ded7ef;
}

.journey-content .step-row.is-done .step-num {
    background: #8C54EC;
    color: #fff;
    border-color: #8C54EC;
}

.journey-content .step-row.is-current .step-num {
    background: #ece6ff;
    border-color: #8C54EC;
}

.journey-content .step-row.is-doing .step-num {
    background: #ece6ff;
    border-color: #8C54EC;
}

.journey-content .step-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #4e34a0;
    background: #ece6ff;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 4px;
}

.journey-content .step-code {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #9b95b2;
    margin-bottom: 4px;
}

.journey-content .step-info .title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.journey-content .step-info .text {
    font-size: 0.7rem;
    margin-bottom: 4px;
}

.journey-content .step-meta-row {
    display: flex;
    flex-wrap: wrap;
}

.journey-content .step-meta {
    display: inline-flex;
    align-items: center;
      gap: 8px;
        font-size: 0.7rem;
        font-weight: 500;
        color: #4E34A0;
        padding-right: 10px;
    padding-left: 10px;
        border-left: 1px solid #BBB;
}
.journey-content .step-meta:first-of-type {
        padding-left: 0;
        border-left: none;
    }
.journey-content .step-meta.step-score {
    color: #4e34a0;
    background: #ece6ff;
}

.journey-content .step-missing-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.journey-content .step-missing-item {
    display: block;
    font-size: 0.72rem;
    color: #a96a16;
}

.journey-content .step-status {
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    color: #6f6887;
}

.journey-content .step-status.done {
    color: #188a57;
}

.journey-content .step-status.current {
    color: #4e34a0;
}

.journey-content .step-status.warning {
    color: #a96a16;
}

.journey-content .step-status.locked {
    display: none;
}

.journey-content .journey-btn-action {
           display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #FFF;
        font-weight: 500;
        padding: 8px 25px;
    gap:10px;
        font-size: 0.8rem;
        border-radius: 30px;
        background-color: #8C54EC;
        text-decoration: none;
        transition: background-color 0.2s;
}
.journey-content .journey-btn-action .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.journey-content .journey-btn-action .icon svg {
    width: 16px;
    height: auto;
    display: block;
}

.journey-content .journey-btn-action .icon svg path {
    fill: #FFF;
}
.journey-content .journey-btn-action:hover .icon {
    transform: translateX(2px);
}
.journey-content .journey-btn-action:hover {
    background-color: #553C8D;
}


.journey-content .journey-btn-action.is-active.btn-primary {
    background: #8C54EC;
    color: #fff;
    border: 1px solid #8C54EC;
}

.journey-content .journey-btn-action.is-locked {
    display: none;
}

.journey-content .journey-btn-action.is-guest {
    background: #f1edfb;
    color: #6f6887;
    border: 1px solid #ebe6f7;
}

.journey-content .journey-btn-action.is-guest {
    color: #8C54EC;
    background: #ffffff;
    border-color: #ded7ef;
}

.journey-content .journey-btn-action.loading {
    pointer-events: none;
    opacity: 0.85;
}

.journey-content .journey-btn-action .icon svg {
    width: 12px;
    height: auto;
}

.journey-content .journey-btn-action.btn-primary .loader {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
}

.journey-content .journey-main-btn .loader {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
}

.journey-content .journey-btn-action.btn-outline .loader {
    border-color: rgba(109, 77, 203, 0.2);
    border-top-color: #8C54EC;
}

.journey-content .step-row.is-current {
    border-color: #8C54EC;
    background: #ffffff;
}

.journey-content .step-row.is-doing {
    border-color: #8C54EC;
    background: #ffffff;
}

.journey-content .step-row.is-done {
    border-color: #2EC379;
    background-color: #E6F9F0;
}

.journey-content .step-row.is-warning {
    border-color: #f0dbaf;
    background: #fff8ea;
}

.journey-content .step-row.is-locked {
    background: #F1F1F1;
    grid-template-columns: 35px 1fr 0;
}

/*--------------------------------------------------
  Course Pages — Shared visual system (Pre-Test reference)
--------------------------------------------------*/

.intro-content {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
}

.final-content {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
}

.intro-content .header-menu {
    position: relative;
    padding: 12px 25px;
}

.module-content .header-menu {
    position: relative;
    padding: 12px 25px;
}

.final-content .header-menu {
    position: relative;
    padding: 12px 25px;
}

.intro-content [hidden] {
    display: none !important;
}

.module-content [hidden] {
    display: none !important;
}

.final-content [hidden] {
    display: none !important;
}

.intro-content .intro-micro-label {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #9b95b2;
    margin-bottom: 8px;
}

.module-content .module-micro-label {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #9b95b2;
    margin-bottom: 8px;
}

.final-content .final-micro-label {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #9b95b2;
    margin-bottom: 8px;
}

.intro-content .intro-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 400;
    color: #8C54EC;
    text-decoration: none;
    transition: color 0.2s;
}

.module-content .module-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 400;
    color: #8C54EC;
    text-decoration: none;
    transition: color 0.2s;
}

.final-content .final-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 400;
    color: #8C54EC;
    text-decoration: none;
    transition: color 0.2s;
}

.intro-content .intro-back-link:hover {
    color: #6631C0;
}

.module-content .module-back-link:hover {
    color: #6631C0;
}

.final-content .final-back-link:hover {
    color: #6631C0;
}

.intro-content .intro-back-link svg {
    width: 10px;
    height: auto;
    transform: rotate(180deg);
    fill: #8C54EC;
}

.module-content .module-back-link svg {
    width: 10px;
    height: auto;
    transform: rotate(180deg);
    fill: #8C54EC;
}

.final-content .final-back-link svg {
    width: 10px;
    height: auto;
    transform: rotate(180deg);
    fill: #8C54EC;
}

.intro-content .intro-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.module-content .module-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.final-content .final-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.intro-content .intro-meta-chip {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #8C54EC;
    border: 1px solid rgba(109, 77, 203, 0.22);
    background: rgba(109, 77, 203, 0.04);
    border-radius: 999px;
    padding: 4px 10px;
}

.module-content .module-meta-chip {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #8C54EC;
    border: 1px solid rgba(109, 77, 203, 0.22);
    background: rgba(109, 77, 203, 0.04);
    border-radius: 999px;
    padding: 4px 10px;
}

.final-content .final-meta-chip {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #8C54EC;
    border: 1px solid rgba(109, 77, 203, 0.22);
    background: rgba(109, 77, 203, 0.04);
    border-radius: 999px;
    padding: 4px 10px;
}

/*---------------------Shared Course Layout-------------------------*/

.course-page {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 25px;
    box-sizing: border-box;
}

.course-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E0D9F0;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3d3658;
    margin-bottom: 8px;
    line-height: 1.35;
}

.course-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: #8C54EC;
    margin-bottom: 12px;
    line-height: 1.4;
}

.course-introduction {
    font-size: 0.8rem;
    color: #3d3658;
    line-height: 1.65;
    font-weight: 400;
}

.course-introduction img {
    max-width: 100%;
    height: auto;
    display: block;
}

.course-introduction iframe {
    max-width: 100%;
    width: 100%;
    border: 0;
}

.course-introduction video {
    max-width: 100%;
    height: auto;
}


.course-stage {
    width: 100%;
}

.course-progress {
    width: 100%;
    margin-bottom: 16px;
}

.course-actions {
    width: 100%;
    margin-top: 16px;
}

.course-content .course-step-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.course-content .course-step-nav .module-btn-back[hidden] {
    visibility: hidden;
    pointer-events: none;
}

.course-content .course-step-nav .module-btn-next,
.course-content .course-step-nav .module-3-next-button,
.course-content .course-step-nav .module-4-next-button,
.course-content .course-step-nav .module-4-complete-button,
.course-content .course-step-nav .module-3-complete-button,
.course-content .course-step-nav .module2-complete-button,
.course-content .course-step-nav #module5-btn-next-main,
.course-content .course-step-nav #module5-btn-sub-next,
.course-content .course-step-nav #module5-btn-complete {
    margin-left: auto;
}

.course-answer-history {
    width: 100%;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e0d9f0;
}

.course-answer-history-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1433;
    margin: 0 0 12px;
}



.pretest-result-panel .course-answer-history-toggle-wrap,
.final-quiz-result-panel .course-answer-history-toggle-wrap {
    margin-bottom: 4px;
}

.course-page .intro-layout {
    display: block;
}

.course-page .module-layout {
    display: block;
}

.course-page .final-layout {
    display: block;
}

.course-page .pretest-header {
    display: block;
}

.course-page .intro-side-col {
    display: none;
}

.course-page .module-side-col {
    display: none;
}

.course-page .final-side-col {
    display: none;
}

.course-page .pretest-side-col {
    display: none;
}

.course-page .course-progress.pretest-progress-block {
    display: block;
}

.course-page .course-progress.module-progress-block {
    display: block;
}

.course-page .course-progress.final-progress-block {
    display: block;
}

.course-page .module-instruction-card {
    margin-bottom: 16px;
}

.intro-content .intro-body {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 10px 25px 40px;
    box-sizing: border-box;
    border-top: 1px solid #E0D9F0;
    min-height: calc(100dvh - (110px));
}

 /*--OPEN ME--------------------------------------------------------------------*/
 /*-MODULE---------------------------------------------------------------------*/

.module-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-weight: 300;
}
.module-content .module-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid #EDE6FA;
}

.module-content .module-completed {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}  
.module-content .module-opening-stage {
    display: flex;
    align-items: center;    
    min-height: calc(100vh - (110px));
    width: 100%;
}
    .module-content .module-opening-stage .opening-set {
        width: 100%;
        height: auto;        
    }
    .module-content .module-opening-stage .module-opening-body {
        width: 100%;
        height: auto;
        display: block;
        box-sizing: border-box;
    }
    .module-content .module-opening-stage .opening-stage-actions {
         width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
.module-content .module-opening-stage b {
    font-weight: 700;
    font-size: 2rem;
}
.module-content .module-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.module-content .module-topbar {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
    flex-shrink: 0;
}
    .module-content .module-topbar .side {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }
    .module-content .module-topbar .back-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: #8C54EC;
        width: 24px;
        height: 24px;
        transition: background-color 0.2s;
    }
   .module-content .module-topbar .back-link svg {
        width: 10px;
        height: auto;
        transform: rotate(180deg);
        fill: #FFF;
    }
     .module-content .module-topbar .back-link:hover {
        background-color: #553C8D;
    }
    .module-content .module-topbar .module-name {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1f1737;
        line-height: 1.25;
    }
     .module-content .module-topbar .module-name span {
        font-size: 0.9rem;
        font-weight: 400;
        color: #8C54EC;
        line-height: 1.25;
    }
    .module-content .module-topbar .option-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color:  #8C54EC;
        width: 30px;
        height: 30px;
        transition: background-color 0.2s;
    }
    .module-content .module-topbar .option-btn svg {
        height: 18px;
        fill: #FFF;
    }
    .module-content .module-topbar .option-btn g {
        fill: #FFF;
    }
.module-content .module-main-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 25px;
}
    .module-content .module-main-stage .main-stage-set {
        flex: 1;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .module-content .module-main-stage .stage-top-detail {
        width: 100%;
        height: auto;
        border-bottom: 1px solid #EDE6FA;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .module-content .module-main-stage .stage-top-detail .detail-text {
        font-weight: 400;
        font-size: 0.8rem;
        color: #1F1737;
        padding-top: 10px;
        margin-bottom: 10px;
    }
    .module-content .module-main-stage .stage-top-detail .stage-progress {
        display: flex;
        align-items: center;
        gap:10px;
    }
    .module-content .module-main-stage .stage-top-detail .progress-text {
        font-weight: 500;
        font-size: 0.7rem;
        color: #1F1737;
    }
.module-content .module-stage-overall {
    flex: 1;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}
.module-content .module-stage-overall .stage-overall-panel {
    width: 100%;
    height: auto;
    padding: 10px 0;
    position: relative;
}
.module-content .module-stage-overall .stage-overall-panel.font-special {
    font-family: "Sarabun", sans-serif !important;
}
.module-content .module-stage-overall .intro-content-editor a {
    color: #8C54EC;
}
.module-content .module-stage-overall .intro-content-editor a:hover {
    text-decoration: underline;
}

.module-content .module-completed .completed-set {
    width: 100%;
    height: auto;
    text-align: center;
    padding: 20px 25px;
}  
    .module-content .module-completed .title {
        font-weight: 600;
        font-size: 1.6rem;
        color: #1F6B45;
        display: inline-flex;
        align-items: center;
        gap:10px;
        margin-bottom: 10px;
    }  
     .module-content .module-completed .title .title-icon {
         width: 40px;
         height: 40px;
         display: inline-flex;
         align-items: center;
         justify-content: center;
         border-radius: 50%;
         background-color: #1F6B45;
    }
     .module-content .module-completed .title svg {
        height: 20px;
        fill: #FFF;
    }
    .module-content .module-completed .text {
        font-weight: 400;
        font-size: 0.9rem;
        color: #1F1737;
        display: inline-flex;
        align-items: center;
        gap:10px;
        margin-bottom: 10px;
    }  
     .module-content .module-completed .score-grid {
         width: 100%;
         height: auto;
         display: flex;
         align-items: center;
         justify-content: center;
         gap: 50px;
         margin:15px 0 0 0;
    }  
    .module-content .module-completed .score-grid .score-item {
        display: inline-flex;
        padding: 15px 0 5px 0;
        border-radius: 20px;
        position: relative;
        justify-content: center;
    }
    .module-content .module-completed .score-grid .score-label {
        font-weight: 600;
        font-size: 0.7rem;
        color: #6C658C;
        position: absolute;
        top: -5px;
    }
    .module-content .module-completed .score-grid .score-value {
        color: #8C54EC;
        font-weight: 600;
        font-size: 2.5rem;
        line-height: 1;
    }
    .module-content .module-completed .score-result-text {
        font-size: 2rem;
        font-weight: 500;
        margin: 10px 0;
    }
    .module-content .module-completed .score-result-text.passed {
        color: #10AF5F;
    }
    .module-content .module-completed .score-result-text.failed {
        color: #D51F1F;
    }
    .module-content .result-meta {
        position: relative;
       font-weight: 600;
        font-size: 0.7rem;
        color: #6C658C;
        display: inline-block;
    }
    .module-content .answer-history-btn {
         display: flex;
         justify-content: center;
        margin-top: 20px;
    }
        .module-content .answer-history-btn a {
             font-size: 0.78rem;
            font-weight: 600;
            color: #8C54EC;
        }
        .module-content .answer-history-btn a:hover {
            text-decoration: underline;
        }
    .module-content .result-action-bar {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap:10px;
        margin-top: 20px;
    }

 /*----------------------------------------------------------------------*/
.module-content .module-stage-action {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    flex-shrink: 0;
    margin-top: 30px;
}
    .module-content .module-stage-action .next-btn {
        display: inline-flex;
         align-items: center;
         justify-content: center;
         color: #FFF;
         font-weight: 500;
         padding: 8px 25px;
         font-size: 0.8rem;
         border-radius: 30px;
         background-color: #8C54EC;
         text-decoration: none;
         transition: background-color 0.2s;
    }
    .module-content .module-stage-action .next-btn:hover {
        background-color: #553C8D;
    }
.module-content .admin-banner {
    position: relative;
    border: 2px solid #8C54EC;
    border-radius: 15px;
    padding: 2px 13px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #8C54EC;
}
    .module-content .admin-banner .text {
        font-size: 0.7rem;
        font-weight: 500;
        color: #8C54EC;
    }
.module-content .module-big-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     color: #FFF;
     font-weight: 500;
     padding: 8px 25px;
     font-size: 0.8rem;
     border-radius: 30px;
     background-color: #8C54EC;
     text-decoration: none;
     transition: background-color 0.2s;
}
    .module-content .module-big-btn:hover {
        background-color: #553C8D;
    }
.module-content .module-outline-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     color: #8C54EC;
     font-weight: 500;
     padding: 8px 25px;
     font-size: 0.8rem;
     border-radius: 30px;
    outline: 2px solid #8C54EC;
     text-decoration: none;
     transition: background-color 0.2s;
}
    .module-content .module-outline-btn:hover {
        outline: 2px solid #553C8D;
        color: #553C8D;
    }
.module-content  .nav-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.module-content .nav-dot {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #D2CAE7;
    color: #D2CAE7;
    background: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.module-content .nav-dot:hover {
    border: 1px solid #A399BD;
    color: #A399BD;
}
.module-content  .nav-dot.is-current {
    background-color: #EEE8FF;
    border: 1px solid #8C54EC;
    color: #8C54EC;
}

.module-content  .nav-dot.is-answered {
    background: #8C54EC;
    border: 1px solid #8C54EC;
    color: #FFF;
}
.pretest-opening {
    background-image: url("../img/objects/bg-pretest.png");
    background-size: cover;
}
.introduction-opening {
    background-image: url("../img/objects/bg-introduction.png");
    background-size: cover;
}
.module1-opening {
    background-image: url("../img/objects/bg-module1.png");
    background-size: cover;
}
.module2-opening {
    background-image: url("../img/objects/bg-module2.png");
    background-size: cover;
}
.module3-opening {
    background-image: url("../img/objects/bg-module3.png");
    background-size: cover;
}
.module4-opening {
    background-image: url("../img/objects/bg-module4.png");
    background-size: cover;
}
.module5-opening {
    background-image: url("../img/objects/bg-module5.png");
    background-size: cover;
}
.finalquiz-opening {
    background-image: url("../img/objects/bg-finalquiz.png");
    background-size: cover;
}
 /*---PRE-TEST------------------------------------------------------------------*/

.pretest-q-head {
    width: 100%;
    height: auto;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
    .pretest-q-head .pretest-q-badge {
        display: inline-block;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0;
        color:#8C54EC;
        position: absolute;
        top: 0;
        left: 0;
        white-space: nowrap;
    }
    .pretest-q-head .pretest-q-title {
        font-size: 1.3rem;
        font-weight: 500;
        color: #12102a;
        margin-bottom: 14px;
        line-height: 1.55;
        word-break: break-word;
    }
    .pretest-choices {
        display: grid;
        gap: 10px;
    }
    .pretest-choices .pretest-choice-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    background: #fff;
    min-width: 0;
}

 .pretest-choices .pretest-choice-card:hover {
    border: 1px solid #743ED0;
}

 .pretest-choices .pretest-choice-card.is-selected {
    background-color: #F0EDF8;
    border: 1px solid #8c54ec;
}

 .pretest-choices .pretest-choice-card.is-invalid {
    border-color: #d6455d;
    border-width: 2px;
}

 .pretest-choices .pretest-choice-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

 .pretest-choices .pretest-choice-num {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid #E0D9F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1A1433;
    background: #fff;
}

 .pretest-choices .pretest-choice-card.is-selected .pretest-choice-num {
    background-color: #8C54EC;
    color: #FFFFFF;
    border-color: #8C54EC;
}

 .pretest-choices .pretest-choice-body {
    flex: 1;
    min-width: 0;
}

 .pretest-choices .pretestl-choice-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #1A1433;
    line-height: 1.6;
    word-break: break-word;
}
 /*---HISTORY ITEM------------------------------------------------------------------*/
.module-content .answer-history-box {
     width: 80%;
    margin: 20px auto 0;
}
.answer-history-list {   
    border: 1px solid #E0D9F0;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.answer-history-item {
    padding:10px;
    position: relative;
    text-align: left;
    border-bottom: 1px solid #E0D9F0;
}
.answer-history-item:nth-child(odd) {   
    border-right: 1px solid #E0D9F0;
}
.answer-history-item:nth-last-child(-n+2) {
  border-bottom: none;
}
.answer-history-head {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 20px;
    width: auto;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    background-color: #E0D9F0;
}
.answer-history-no {
    display: inline-block;
    line-height: 0;
    font-size: 0.6rem;
    font-weight: 500;
    color: #8c54ec;
}

.answer-history-question {
    font-weight: 500;
    font-size: 0.8rem;
    color: #1F1737;
    margin-top: 10px;
}
.answer-history-choice-text {
    font-weight: 500;
    font-size: 0.7rem;
    color: #8C54EC;
}
.answer-history-empty {
    color: #6b6285;
    font-style: italic;
}
 /*---POPUP-------------------------------------------------------------------*/
.tool-popup {
    position: fixed;
    inset: 0;
    z-index: 12001;
    display: none;
    align-items: center;
    justify-content: center;
}

.tool-popup.open {
    display:flex;
}

.tool-popup[hidden] {
    display: none !important;
}

.tool-popup-overlay {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(20, 12, 40, 0.55);
    cursor: pointer;

}

.tool-popup-dialog {
    position: relative;
    z-index: 2;
    width: min(40%, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    margin: 16px auto;
    background: #ffffff;
    border: 1px solid #e0d9f0;
    border-radius: 18px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tool-popup-head {
    display: flex;    
    font-weight: 500;
    font-size: 0.9rem;
    color: #1F1737;
    gap: 12px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.tool-popup-body {
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
    flex: 1 1 auto;
}

.tool-popup-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    flex-shrink: 0;
}

.tool-popup-actions .module-outline-btn,
.tool-popup-actions .module-big-btn {
    min-height: 44px;
    min-width: 96px;
    text-align: center;
    cursor: pointer;
}

.tool-font-options {
    border: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-font-options-legend {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tool-font-option {
    display: block;
    position: relative;
    cursor: pointer;
}

.tool-font-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.tool-font-option-card {
    display: block;
    border: 1px solid #DED5F5;
    border-radius: 10px;
    padding: 14px 16px;
    background: #FFF;
    box-sizing: border-box;
    min-height: 44px;
}

.tool-font-option-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f1737;
}

.tool-font-option-desc {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: #625b70;
}
.tool-font-option-card.is-selected {
    border: 1px solid #8C54EC;
    background: #F7F4FF;
}
.tool-font-option-card.is-selected .tool-font-option-title {
    color:  #8C54EC;
}

.tool-font-option-card.is-selected .tool-font-option-state {
    display: block;
}
.tool-popup-cancel, .tool-popup-close-main {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #8C54EC;
    text-decoration: none;
}
.tool-popup-cancel:hover, .tool-popup-close-main:hover {
    text-decoration: underline;
}
.tool-popup-confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-weight: 500;
    padding: 8px 25px;
    font-size: 0.8rem;
    border-radius: 30px;
    background-color: #8C54EC;
    text-decoration: none;
    transition: background-color 0.2s;
}
    .tool-popup-confirm:hover {
        background-color: #553C8D;
    }
.tool-hint-empty {
    margin: 0;
    font-size: 0.9rem;
    color: #625b70;
    line-height: 1.6;
}

.tool-popup-body .intro-content-editor {
    font-size: 0.8rem;
    font-weight: 400;
    color: #1f1737;
    word-break: break-word;
}

.tool-popup-body .intro-content-editor p {
    margin: 0 0 12px;
}

.tool-popup-body .intro-content-editor p:last-child {
    margin-bottom: 0;
}

.tool-popup-body .intro-content-editor ul,
.tool-popup-body .intro-content-editor ol {
    margin: 0 0 12px;
    padding-left: 1.4em;
}

.tool-popup-body .intro-content-editor ul {
    list-style: disc;
}

.tool-popup-body .intro-content-editor ol {
    list-style: decimal;
}

.tool-popup-body .intro-content-editor li {
    display: list-item;
    margin-bottom: 6px;
}

.tool-popup-body .intro-content-editor h1,
.tool-popup-body .intro-content-editor h2,
.tool-popup-body .intro-content-editor h3 {
    margin: 0 0 10px;
    font-weight: 600;
    color: #1f1737;
}

.tool-popup-body .intro-content-editor a {
    color: #8C54EC;
    text-decoration: underline;
}

.tool-popup-body .intro-content-editor strong {
    font-weight: 700;
}

.tool-popup-body .intro-content-editor em {
    font-style: italic;
}

.tool-popup-body .intro-content-editor u {
    text-decoration: underline;
}

.tool-popup-body .intro-content-editor img {
    max-width: 100%;
    height: auto;
}

.tool-popup-body .intro-content-editor iframe,
.tool-popup-body .intro-content-editor video {
    max-width: 100%;
}
/*--FEEDBACK--------------------------------------------------------------------------*/
.module-content .module-feedback {
    width: 80%;
    margin: 0 10% 30px 10%;
}
.module-content .module-feedback .sub-title {
    font-weight: 600;
    font-size: 1rem;
    color: #8C54EC;
    margin-bottom: 10px;
}
.module-content .module-feedback .title {
    font-weight: 500;
    font-size: 0.9rem;
    color: #1F1737;
    margin-bottom: 10px;
}
.module-content .module-feedback-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f1737;
    margin-bottom: 5px;
}
.module-content .module-feedback .module-feedback-card {
    padding: 10px;
    border: 1px solid #e0d9f0;
    border-radius: 10px 15px;
    margin-bottom: 25px;
    background-color:  #F6F3FF;
    text-align: center;
}

.module-content.module-1-page .module-selected-answer--text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #8C54EC;
}

.module-content.module-1-page .module-answer-result {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}
.module-content.module-1-page .module-answer-result--correct {
    color: #1b5e20;
}
.module-content.module-1-page .module-answer-result--incorrect {
    color: #b71c1c;
}
.module-content.module-1-page .module-feedback-explain {
    font-size: 0.8rem;
    font-weight: 400;
}

/*--THE MAP--------------------------------------------------------------------------*/
.module-1-page .module-1-stage[hidden] {
    display: none;
}
.module-1-page .module-q-rich {
    margin-bottom: 25px;
}
.module-1-page .module-q-rich img {
    width: 60%;
    height: auto;
    margin: 20px 20%; 
}
.module-content.module-1-page .module-selected-answer--image .module-feedback-img {
    margin-bottom: 0;
}
.module-content.module-1-page .module-selected-answer--image .module-feedback-img img {
    max-height: 180px;
    display: inline-block;
}
.module-content.module-1-page .module-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
}
.module-content.module-1-page .module-choice-card {
    height: 100%;
    align-items: flex-start;
}
.module-content.module-1-page .module-choice-card.is-type-text {
    align-items: center;
}
.module-content.module-1-page .module-reason-review {
    margin-bottom: 25px;
}
.module-content.module-1-page .module-reason-review-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: #1f1737;
}
.module-content.module-1-page .module-reason-review-answer {
    font-size: 0.9rem;
    font-weight: 500;
    color: #8C54EC;
    white-space: pre-wrap;
    word-break: break-word;
}
.module-content.module-1-page .module-choice-card.is-type-image {
    align-items: flex-start;
}
.module-content.module-1-page .module-choice-card.is-type-image .module-choice-body {
    width: 100%;
}
.module-content.module-1-page .module-choice-card.is-type-image .module-choice-img {
    margin-bottom: 0;
}
.module-content.module-1-page .module-choice-img {
    position: relative;
}
.module-content.module-1-page .module-choice-enlarge-btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border: 1px solid rgba(109, 77, 203, 0.35);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.96);
    color: #8C54EC;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    pointer-events: auto;
}
.module-content.module-1-page .module-choice-enlarge-btn:hover {
    background: #fff;
}
.module-content.module-1-page .module-choice-enlarge-btn:focus {
    background: #fff;
}
.module-content.module-1-page .module-choice-enlarge-icon {
    flex: 0 0 auto;
}
.module-content .module-feedback-img img {
    display: block;
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 8px;
}
.module-content .module-feedback-reason {
    margin-top: 8px;
    font-size: 0.8rem;
}
.module-content .module-feedback-match {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 600;
}
.module-content .module-feedback-match.is-match {
    border: 1px solid rgba(46, 125, 50, 0.25);
    background: rgba(46, 125, 50, 0.06);
    color: #2e7d32;
}
.module-content .module-feedback-match.is-review {
    border: 1px solid rgba(230, 81, 0, 0.25);
    background: rgba(230, 81, 0, 0.06);
    color: #e65100;
}
.module1-choice-image-popup {
    position: fixed;
    inset: 0;
    z-index: 12001;
    display: none;
    align-items: center;
    justify-content: center;
}

.module1-choice-image-popup.open {
    display: flex;
}

.module1-choice-image-popup[hidden] {
    display: none !important;
}

.module1-choice-image-popup-overlay {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(20, 12, 40, 0.55);
    backdrop-filter: blur(2px);
    cursor: pointer;
}

.module1-choice-image-popup-dialog {
    position: relative;
    z-index: 2;
    width: min(920px, calc(100% - 40px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    background: #ffffff;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 18px 18px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.module1-choice-image-popup-close {
    border: 1px solid rgba(109, 77, 203, 0.25);
    background: #fff;
    color: #8C54EC;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    position: absolute;
    right: 20px;
    top: 20px;
}

.module1-choice-image-popup-body {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.module1-choice-image-popup-body img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 140px);
    width: auto;
    height: auto;
    object-fit: contain;
}
 /*----------------------------------------------------------------------*/
 /*----------------------------------------------------------------------*/
 /*----------------------------------------------------------------------*/
 /*--CLOSE ME--------------------------------------------------------------------*/

/*--INTRODUCTION--*/
.module-content.intro-content .stage-overall-panel .intro-content-main-card {
    width: 100%;
    font-size: 0.8rem;
    font-weight: 400;
}

.module-content.intro-content .stage-overall-panel .intro-readmore-btn {
    display: inline-block;
    margin-top: 12px;
}

.intro-content .intro-readmore-btn {
    font-size: 0.78rem;
    font-weight: 600;
    color: #8C54EC;
}

.intro-content .intro-readmore-btn:hover {
    text-decoration: underline;
}
.intro-content.intro-content--completed .intro-readmore-btn {
    display: none !important;
}

.intro-content.intro-content--completed .intro-article-more {
    display: none !important;
}

.intro-content.intro-content--completed .intro-article {
    max-height: none;
    overflow: visible;
}

.intro-content.intro-content--completed .intro-article-preview {
    max-height: none;
    overflow: visible;
}

.intro-content.intro-content--completed .intro-confirm-box {
    display: none;
}

.module-content.intro-content .intro-content-main-card .module-stage-action {
    margin-top: 20px;
    width: 100%;
}

.module-content.intro-content .intro-content-main-card .intro-confirm-box {
    margin-top: 20px;
}

/*--STIGMA SHIFT--*/
.module-2-page .stage-overall-panel #module2-game-section,
.module-2-page .stage-overall-panel #module2-reading-section {
    width: 100%;
}

/*--SHADES OF DISCRIMINATION--*/
.module-3-page .stage-overall-panel .module3-stage-panel[hidden] {
    display: none;
}

.module-3-page .stage-overall-panel #module3-stage-summary .module3-summary-body {
    width: 100%;
    margin-bottom: 30px;
}

.module-3-page .stage-overall-panel #module3-stage-summary .module-stage-action {
    width: 100%;
}

/*--THE RED LINE--*/
.module-4-page .stage-overall-panel .module4-stage-panel[hidden] {
    display: none;
}

.module-4-page .stage-overall-panel #module4-stage-question .module4-stage-actions {
    width: 100%;
}

/*--THE SAFETY NET--*/
.module-5-page .stage-overall-panel #module5-library,
.module-5-page .stage-overall-panel #module5-sub-stage {
    width: 100%;
}

.module-5-page .stage-overall-panel #module5-sub-stage .module-stage-action {
    width: 100%;
}

/*--THE SAFETY NET INFO BOX--*/
.module-5-page .module5-info-box-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 80%;
    margin: 20px 10% 0 10%;
    box-sizing: border-box;
}
.module-5-page .module5-info-box-list > *:nth-child(odd):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%; 
}
.module-5-page .module5-info-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border: 2px solid #5F3FC9;
    border-radius: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.module-5-page .module5-info-box-logo {
    flex: 0 0 72px;
    width: 72px;
    max-width: 72px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-5-page .module5-info-box-logo img {
    display: block;
    width: 100%;
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
}

.module-5-page .module5-info-box-detail {
    flex: 1 1 auto;
    min-width: 0;
}

.module-5-page .module5-info-box-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: #2d1956;
    margin-bottom: 8px;
    word-break: break-word;
}

.module-5-page .module5-info-box-description {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #3a3a3a;
    word-break: break-word;
}

.module-5-page .module5-info-box-description img {
    max-width: 100%;
    height: auto;
}

/* Final quiz submit button */
.module-content .module-stage-action .next-btn[type="button"] {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.module-content .module-stage-action .next-btn[type="button"]:disabled,
.module-content .module-stage-action .next-btn[type="button"].is-disabled {
    opacity: 0.85;
    pointer-events: none;
    cursor: not-allowed;
}

/* Module 5 carousel selection + info dialog cover */
.module-content.module-5-page .module5-film-card.is-selected {
    z-index: 3;
}

.module-content.module-5-page .module5-film-card.is-selected .module5-film-cover img {
    border: 4px solid rgba(109, 77, 203, 0.55);
}

.module-content.module-5-page .module5-video-carousel.is-transitioning .module5-film-cover-select {
    pointer-events: none;
}

.module5-info-popup .module5-video-info-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 4px 4px;
}

.module5-info-popup .module5-info-dialog-cover {
    width: 100%;
    max-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module5-info-popup .module5-info-dialog-cover[hidden] {
    display: none !important;
}

.module5-info-popup .module5-info-dialog-cover img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    object-position: center;
}

.module5-info-popup .module5-info-meta {
    margin: 0;
    padding-top: 0;
}

/*--FINAL QUIZ--*/


.final-content .final-body {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 10px 25px 40px;
    box-sizing: border-box;
    border-top: 1px solid #E0D9F0;
    min-height: calc(100dvh - (110px));
}

.intro-content .intro-layout {
    display: grid;
    gap: 10px;
    align-items: start;
}

.module-content .module-layout {
    display: grid;
    align-items: start;
}

.final-content .final-layout {
    display: grid;
    align-items: start;
}

.intro-content .intro-main-col {
    min-width: 0;
}

.module-content .module-main-col {
    min-width: 0;
}

.final-content .final-main-col {
    min-width: 0;
}

.intro-content .intro-side-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
}

.module-content .module-side-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
}

.final-content .final-side-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
}

.intro-content .intro-side-panel {
    position: sticky;
    top: 16px;
    min-width: 0;
    background: #FFFFFF;
    padding: 10px;
    border-bottom: 1px solid #e0d9f0;
}

.module-content .module-side-panel {
    position: sticky;
    top: 16px;
    min-width: 0;
    background: #FFFFFF;
    padding: 10px;
    border-bottom: 1px solid #e0d9f0;
}

.final-content .final-side-panel {
    position: sticky;
    top: 16px;
    min-width: 0;
    background: #FFFFFF;
    padding: 10px;
    border-bottom: 1px solid #e0d9f0;
}

.intro-content .intro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 18px;
    border-radius: 13px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.module-content .module-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 18px;
    border-radius: 13px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.final-content .final-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 18px;
    border-radius: 13px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.intro-content .intro-btn-primary {
    background: #8C54EC;
    color: #fff;
    border-color: #8C54EC;
}



.intro-content .intro-btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.module-content .module-btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.final-content .final-btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.intro-content .intro-btn-primary.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
    margin-left: 6px;
}

.module-content .module-btn-primary.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
    margin-left: 6px;
}

.final-content .final-btn-primary.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
    margin-left: 6px;
}

.intro-content .intro-field-error {
    font-size: 0.78rem;
    color: #c62828;
    margin-top: 4px;
    font-weight: 400;
    min-height: 1em;
}

.module-content .module-field-error {
    font-size: 0.78rem;
    color: #c62828;
    margin-top: 4px;
    font-weight: 400;
    min-height: 1em;
}

.final-content .final-field-error {
    font-size: 0.78rem;
    color: #c62828;
    margin-top: 4px;
    font-weight: 400;
    min-height: 1em;
}

.intro-content .intro-admin-banner {
    display: none;
}

.module-content .module-admin-banner {
    display: none;
}

.final-content .final-admin-banner {
    border: 1px solid rgba(109, 77, 203, 0.25);
    background: rgba(109, 77, 203, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    position: absolute;
}

.module-content .module-progress-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1f1737;
    margin-bottom: 8px;
}

.final-content .final-progress-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1f1737;
    margin-bottom: 8px;
}

.module-content .module-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(109, 77, 203, 0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}

.final-content .final-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(109, 77, 203, 0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}

.module-content .module-progress-fill {
    height: 100%;
    background: #965FDC;
    border-radius: 999px;
    transition: width 0.25s ease;
}

.final-content .final-progress-fill {
    height: 100%;
    background: #965FDC;
    border-radius: 999px;
    transition: width 0.25s ease;
}

.module-content .module-answered-count {
    font-size: 0.875rem;
    color: #3d3658;
}

.final-content .final-answered-count {
    font-size: 0.875rem;
    color: #3d3658;
}

.intro-content .intro-article p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #1a1433;
    font-weight: 400;
}

.intro-content .intro-article li {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #1a1433;
    font-weight: 400;
}

.module-content .module-intro-persistent p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #1a1433;
    font-weight: 400;
}

.module-content .module-intro-persistent li {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #1a1433;
    font-weight: 400;
}
.module-content .module2-learning-body p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #1a1433;
    font-weight: 400;
}

.intro-content .intro-article-more {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #1a1433;
    font-weight: 400;
}

.intro-content .intro-article-preview {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #1a1433;
    font-weight: 400;
}

.final-content .final-course-actions {
    margin-top: 20px;
}

/*--------------------------------------------------
  Pre-Test
--------------------------------------------------*/

.intro-content .intro-stage {
    display: flex;
    width: 100%;
    flex: 1;
}

.module-content .module-stage {
    display: flex;
    width: 100%;
    flex: 1;
}

.final-content .final-stage {
    display: flex;
    width: 100%;
    flex: 1;
    background: #fff;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 10px;
}

.intro-content .course-opening-stage {
    display: block;
    width: 100%;
    flex: 1;
}

.module-content .course-opening-stage {
    display: block;
    width: 100%;
    flex: 1;
}

.final-content .course-opening-stage {
    display: block;
    width: 100%;
    flex: 1;
}


.intro-content .course-opening-body {
    width: 100%;
    min-height: calc(100% - 40px);
    padding: 50px 0;
    display: flex;
    font-weight: 400;
    align-items: center;
    justify-content: center;
}

.module-content .course-opening-body {
    width: 100%;
    min-height: calc(100% - 40px);
    padding: 50px 0;
    display: flex;
    font-weight: 400;
    align-items: center;
    justify-content: center;
}

.final-content .course-opening-body {
    width: 100%;
    min-height: calc(100% - 40px);
    padding: 50px 0;
    display: flex;
    font-weight: 400;
    align-items: center;
    justify-content: center;
}

.intro-content .course-opening-body > div {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.module-content .course-opening-body > div {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.final-content .course-opening-body > div {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}


/*--------------------------------------------------
  Introduction
--------------------------------------------------*/

.intro-content .intro-done-badge {
    border: 1px solid rgba(109, 77, 203, 0.22);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    background: rgba(109, 77, 203, 0.05);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.intro-content .intro-done-badge-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #8C54EC;
    border: 1px solid rgba(109, 77, 203, 0.3);
    border-radius: 999px;
    padding: 3px 10px;
    background: #fff;
}

.intro-content .intro-header {
    margin: 10px 0;
    border-bottom: 1px solid #e0d9f0;
}

.intro-content .intro-meta-row {
    margin-bottom: 10px;
}

.intro-content .intro-content-main-card {
    background: #fff;
}

.intro-content .intro-hero-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(109, 77, 203, 0.12);
}

.intro-content .intro-hero-image {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(109, 77, 203, 0.12);
    background: #faf9ff;
    min-height: 160px;
}

.intro-content .intro-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
}

.intro-content .intro-hero-statement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(109, 77, 203, 0.15);
    padding-left: 16px;
}

.intro-content .intro-article {
    padding: 0;
    background: transparent;
    border: 0;
}

.intro-content .intro-article p {
    margin: 0 0 14px;
}

.intro-content .intro-article ul {
    margin: 0 0 14px;
    padding-left: 20px;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #1a1433;
}

.intro-content .intro-article ol {
    margin: 0 0 14px;
    padding-left: 20px;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #1a1433;
}

.intro-content .intro-quote-card {
    margin: 20px 0 0;
    padding: 16px 18px;
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-left: 3px solid #8C54EC;
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.04);
}

.intro-content .intro-support-image {
    margin-top: 18px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(109, 77, 203, 0.12);
}

.intro-content .intro-support-image img {
    display: block;
    width: 100%;
    object-fit: contain;
    background: #faf9ff;
}

.intro-content .intro-video-wrap {
    margin-top: 18px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(109, 77, 203, 0.12);
    background: #000;
}

.intro-content .intro-video-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.intro-content .intro-video-local {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.intro-content .intro-points-card {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(109, 77, 203, 0.12);
}

.intro-content .intro-content-divider {
    height: 1px;
    background: rgba(109, 77, 203, 0.15);
    margin: 22px 0 18px;
}

.intro-content .intro-content-summary {
    margin-bottom: 4px;
}

.intro-content .intro-content-actions {
    margin-top: 8px;
}

.intro-content .intro-points-list {
    margin: 0;
    padding-left: 20px;
}

.intro-content .intro-points-list li {
    margin-bottom: 6px;
}

.intro-content .intro-divider {
    height: 1px;
    background: rgba(109, 77, 203, 0.15);
    margin-bottom: 16px;
}

.intro-content .intro-summary-text p {
    margin: 0 0 10px;
}

.intro-content .intro-confirm-box {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    padding: 10px;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.03);
    cursor: pointer;
    font-weight: 400;
    font-size: 0.8rem;
}

.intro-content .intro-confirm-box input {
    margin-top: 3px;
    accent-color: #8C54EC;
}

.intro-content .intro-complete-hint {
    margin-top: 20px;
    font-size: 0.6rem;
    color: #3d3658;
}

.intro-content .intro-side-divider {
    height: 1px;
    background: rgba(109, 77, 203, 0.12);
    margin: 14px 0;
}

.intro-content .intro-hero-card.is-text-only {
    grid-template-columns: 1fr;
}

.intro-content .intro-hero-card.is-text-only .intro-hero-statement {
    border-left: 0;
    padding-left: 0;
}

/*--------------------------------------------------
  Shared Module Styles
--------------------------------------------------*/

.module-content .module-done-badge {
    position: relative;
    border: 2px solid #8C54EC;
    border-radius: 15px;
    padding: 2px 13px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #8C54EC;
}

.module-content .module-done-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: #8C54EC;
}

.module-content .module-header {
    margin-bottom: 10px;
    border-bottom: 1px solid #e0d9f0;
    padding-bottom: 10px;
}

.module-content .module-meta-row {
    margin-bottom: 10px;
}

.module-content .module-progress-block {

}

.module-content .module-instruction-card {

}

.module-content .module-summary-card {
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.module-content .module-complete-card {
    background: #fff;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 10px;
}

.module-content .module-empty-panel {
    background: #fff;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 10px;
}

.module-content .module-action-row {
    margin-top: 20px;
}

.module-content .module-instruction-card {
    margin-bottom: 10px;
}

.module-content .module-instruction-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #1a1433;
}

.module-content .module-instruction-list li {
    margin-bottom: 4px;
}
.module-content .module-q-rich p {
    font-weight: 500;
    font-size: 1.3rem;
 }
.module-content .module-q-badge {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #8C54EC;
    top: 0;
    left: 0;
    white-space: nowrap;
}

.module-content .module-q-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #12102a;
    margin-bottom: 14px;
    line-height: 1.55;
    word-break: break-word;
}

.module-content .module-q-image {
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(109, 77, 203, 0.12);
    background: #faf9ff;
}

.module-content .module-q-image img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.module-content .module-choices {
    display: grid;
    gap: 10px;
}

/*--------------------------------------------------
  Module 1
--------------------------------------------------*/




.module-content .module-single-hint {
    margin: 0 0 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #5c4d8a;
}

.module-content .module-choice-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    background: #fff;
    min-width: 0;
    position: relative;
}


.module-content .module-choice-card:hover {
    border: 1px solid #743ED0;
}

.module-content .module-choice-card.is-selected {
    background-color: #F0EDF8;
    border: 1px solid #8c54ec;
}

.module-content .module-choice-card.is-invalid {
    border-color: #d6455d;
    border-width: 2px;
}

.module-content .module-choice-card.is-disabled {
    opacity: 0.75;
    cursor: default;
    pointer-events: none;
}

.module-content .module-choice-card.is-submitted.is-selected {
    border-color: #8C54EC;
}

.module-content .module-choice-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.module-content .module-choice-num {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid #E0D9F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1A1433;
}

.module-content .module-choice-card.is-selected .module-choice-num {
    background-color: #8C54EC;
    color: #FFFFFF;
    border-color: #8C54EC;
}

.module-content .module-choice-body {
    flex: 1;
    min-width: 0;
}

.module-content .module-choice-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #1A1433;
    line-height: 1.6;
    word-break: break-word;
}

.module-content .module-choice-img {
    display: block;
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(109, 77, 203, 0.1);
}

.module-content .module-choice-img img {
    display: block;
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    background: #faf9ff;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.module-content .module-reason-wrap {
    margin-top: 14px;
}

.module-content .module-reason-wrap.is-hidden {
    display: none;
}

.module-content .module-reason-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.module-content .module-reason-input {
    width: 100%;
    min-height: 88px;
    border: 1px solid rgba(109, 77, 203, 0.22);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-family: inherit;
    box-sizing: border-box;
}

.module-content .module-reason-input:focus {
    outline: none;
    border-color: #8C54EC;
}



.module-content .module-quote-card {
    margin-top: 16px;
    padding: 14px 16px;
    border-left: 3px solid #8C54EC;
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.04);
}

.module-content .module-summary-image img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.module-content .module2-learning-body img {
    display: block;
    width: 70%;
    margin: 0 15%;
}

.module-content .module5-sub-body img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.module-content .module-video-wrap iframe {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.module-content .module-video-wrap video {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.module-content .module5-sub-body img {
    width: auto;
    max-width: 100%;
    height: auto;
}

.module-content .module5-sub-body img.left {
    float: left;
    margin: 8px 16px 8px 0;
    max-width: 50%;
}

.module-content .module5-sub-body img.center {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
}

.module-content .module5-sub-body img.right {
    float: right;
    margin: 8px 0 8px 16px;
    max-width: 50%;
}

.module-content .module-video-wrap iframe {
    aspect-ratio: 16 / 9;
    border: 0;
}

.module-content .module-video-wrap video {
    aspect-ratio: 16 / 9;
    border: 0;
}

.module-content .module-confirm-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.03);
    cursor: pointer;
}

.module-content .module-confirm-box input {
    margin-top: 3px;
    accent-color: #8C54EC;
}

.module-content .module-nav-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.module-content .module-nav-dot {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e0d9f0;
    background: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.module-content .module-nav-dot.is-current {
    background-color: #F0EDF8;
    border: 1px solid #8c54ec;
}

.module-content .module-nav-dot.is-answered {
    background: #8c54ec;
    border: 1px solid #8c54ec;
    color: #FFF;
}

.module-content .module-practice-banner {
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.04);
}

.module-content .module-match-intro-card {
    margin-bottom: 14px;
}

.module-content .module-match-intro-body {
    margin-bottom: 10px;
}

.module-content .module-match-section {
    margin-bottom: 16px;
}

.module-content .module-match-instruction-card {
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.module-content .module-match-steps {
    margin: 10px 0 0;
    padding-left: 20px;
}

.module-content .module-match-board-wrap {
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 10px;
    padding: 16px;
}

.module-content .module-match-message {
    min-height: 0;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.module-content .module-match-message:not(:empty) {
    border-color: rgba(109, 77, 203, 0.15);
    background: rgba(109, 77, 203, 0.03);
}

.module-content .module-match-message.is-success {
    border-color: rgba(46, 125, 50, 0.25);
    background: rgba(46, 125, 50, 0.06);
    color: #2e7d32;
}

.module-content .module-match-message.is-error {
    border-color: rgba(198, 40, 40, 0.2);
    background: rgba(198, 40, 40, 0.05);
    color: #c62828;
}

.module-content .module-match-message.is-info {
    border-color: rgba(109, 77, 203, 0.2);
    background: rgba(109, 77, 203, 0.05);
    color: #8C54EC;
}

.module-content .module-match-board {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 12px;
    align-items: stretch;
    position: relative;
}

.module-content .module-match-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.module-content .module-match-col-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.module-content .module-match-col-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #8C54EC;
}

.module-content .module-match-col-code {
    font-size: 0.68rem;
    font-family: monospace;
}

.module-content .module-match-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.module-content .module-match-center {
    position: relative;
    min-height: 100%;
}

.module-content .module-match-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.module-content .module-match-line {
    fill: none;
    stroke: rgba(109, 77, 203, 0.35);
    stroke-width: 1.5;
}

.module-content .module-match-line.is-correct {
    stroke: rgba(46, 125, 50, 0.55);
}

.module-content .module-match-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding: 12px 12px 10px 14px;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 8px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.module-content .module-match-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: 8px 0 0 8px;
    background: transparent;
}

.module-content .module-match-item-code {
    font-size: 0.68rem;
    font-weight: 700;
    font-family: monospace;
    color: #8C54EC;
    letter-spacing: 0.04em;
}

.module-content .module-match-item-corner {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-top: 1px solid rgba(109, 77, 203, 0.25);
    border-right: 1px solid rgba(109, 77, 203, 0.25);
}

.module-content .module-match-item-label {
    font-size: 0.7rem;
    line-height: 1.45;
    color: #1f1737;
    font-weight: 400;
}

.module-content .module-match-item-state {
    font-size: 0.7rem;
}

.module-content .module-match-item:hover {
    outline: none;
    border-color: rgba(109, 77, 203, 0.45);
}

.module-content .module-match-item:focus {
    outline: none;
    border-color: rgba(109, 77, 203, 0.45);
}

.module-content .module-match-item.is-selected {
    border-color: #8C54EC;
    background: rgba(109, 77, 203, 0.04);
}

.module-content .module-match-item.is-selected::before {
    background: #8C54EC;
}

.module-content .module-match-item.is-matched {
    background: rgba(109, 77, 203, 0.03);
}

.module-content .module-match-item.is-targetable {
    border-style: dashed;
}

.module-content .module-match-item.is-correct {
    border-color: rgba(46, 125, 50, 0.4);
    background: rgba(46, 125, 50, 0.04);
}

.module-content .module-match-item.is-correct::before {
    background: #2e7d32;
}

.module-content .module-match-item.is-wrong {
    border-color: rgba(198, 40, 40, 0.35);
    background: rgba(198, 40, 40, 0.04);
}

.module-content .module-match-item.is-locked {
    cursor: default;
    opacity: 0.92;
}

.module-content .module-match-item.is-dragging {
    opacity: 0.65;
}

.module-content .module-match-item.is-drop-target {
    border-color: #8C54EC;
}

.module-content .module-match-chip-list {
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.module-content .module-match-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-radius: 20px;
    font-size: 0.7rem;
    line-height: 1.45;
    font-weight: 400;
    background: rgba(109, 77, 203, 0.04);
}

.module-content .module-match-chip-no {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #8C54EC;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.module-content .module-match-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.module-content .module-match-result {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(109, 77, 203, 0.12);
}

.module-content .module-match-pairs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.module-content .module-match-pair-card {
    display: flex;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.02);
}

.module-content .module-match-pair-no {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid rgba(109, 77, 203, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 700;
    color: #8C54EC;
}

.module-content .module-match-pair-body {
    flex: 1;
}

.module-content .module-match-pair-arrow {
    color: #8C54EC;
    font-size: 0.9rem;
    margin: 4px 0;
}

.module-content .module-match-pair-expl {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(109, 77, 203, 0.15);
    font-size: 0.84rem;
}

.module-content .module-reflection-section {
    margin-bottom: 16px;
}

.module-content .module-reflection-card {
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.module-content .module-reflection-label {
    display: block;
    margin: 10px 0 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f1737;
}

.module-content .module-reflection-input {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
}

.module-content .module-reflection-input:focus {
    outline: none;
    border-color: #8C54EC;
}

.module-content .module-lesson-section {
    margin-top: 16px;
}

.module-content .module-match-summary-box {
    margin-top: 16px;
    padding: 14px;
    border-left: 3px solid #8C54EC;
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.04);
}

/*--------------------------------------------------
  Module 2
--------------------------------------------------*/

.module-content.module-2-page .module2-match-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
    margin-bottom: 30px;
}

.module-content.module-2-page .module2-row-grid {
    display: grid;
    grid-template-rows: repeat(4, minmax(54px, auto));
    row-gap: 10px;
    align-items: stretch;
}

.module-content.module-2-page .module2-match-row-slot {
    min-height: 54px;
    height: 100%;
    box-sizing: border-box;
}

.module-content.module-2-page .module2-match-board > .module-match-col {
    min-width: 0;
}

.module-content.module-2-page .module2-col-body {
    min-width: 0;
}

.module-content.module-2-page .module2-pink-slot {
    display: flex;
    align-items: stretch;
    min-width: 0;
    width: 100%;
    min-height: 54px;
    box-sizing: border-box;
}

.module-content.module-2-page .module2-behavior-slot {
    display: flex;
    align-items: stretch;
    min-width: 0;
    width: 100%;
    min-height: 54px;
    box-sizing: border-box;
}

.module-content.module-2-page .module2-pink-slot .module-match-item {
    width: 100%;
    box-sizing: border-box;
}

.module-content.module-2-page .module2-grey-cell {
    width: 100%;
    box-sizing: border-box;
}

.module-content.module-2-page .module2-grey-cell {
    display: flex;
    flex-direction: column;
    min-height: 54px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.module-content.module-2-page .module-match-item.is-pink-card {
    background: rgba(109, 77, 203, 0.12);
    border-color: rgba(109, 77, 203, 0.35);
    height: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 0.9rem;
    font-weight: 400;
}

.module-content.module-2-page .module2-grey-sort-item {
    touch-action: pan-y;
}

.module-content.module-2-page .module2-grey-card-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex: 1 1 auto;
    min-height: 54px;
}

.module-content.module-2-page .module2-drag-handle {
    flex: 0 0 auto;
    cursor: grab;
    padding: 8px 4px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.45);
    user-select: none;
    align-self: center;
}

.module-content.module-2-page .module-match-item.is-grey-card {
    background: #f3f4f6;
    border-color: rgba(0, 0, 0, 0.1);
    flex: 1 1 auto;
    cursor: grab;
    user-select: none;
    touch-action: none;
    min-height: 54px;
    box-sizing: border-box;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.module-content.module-2-page .module-match-item.is-grey-card.is-dragging {
    cursor: grabbing;
}

.module-content.module-2-page .module2-grey-cell.is-dragging .module2-drag-handle {
    cursor: grabbing;
}

.module-content.module-2-page .module2-grey-cell.is-drag-source-hidden {
    visibility: hidden;
}

body.module2-sort-dragging .module2-drag-placeholder {
    position: fixed;
    pointer-events: none;
    box-sizing: border-box;
}

.module-content.module-2-page .module2-grey-cell.is-pair-locked {
    touch-action: none;
}

.module-content.module-2-page .module2-grey-cell.is-pair-locked .module2-drag-handle {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.module-content.module-2-page .module2-grey-cell.is-pair-locked .module-match-item.is-grey-card {
    cursor: default;
    touch-action: auto;
}

.module-content.module-2-page .module-match-item.is-pair-locked {
    cursor: default;
    touch-action: auto;
}

.module-content.module-2-page .module-match-item.is-pink-card.is-pair-locked {
    border-color: rgba(46, 125, 50, 0.45);
}

.module-content.module-2-page .module2-grey-cell.is-drag-source-hidden {
    visibility: hidden;
}

body.module2-sort-dragging .module2-drag-float-preview {
    display: flex;
    flex-direction: column;
    opacity: 1;
    outline: none;
    cursor: grabbing;
    box-sizing: border-box;
    background: transparent;
}

body.module2-sort-dragging .module2-drag-float-preview .module2-grey-card-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
}

body.module2-sort-dragging .module2-drag-float-preview .module2-drag-handle {
    flex: 0 0 auto;
    cursor: grabbing;
    padding: 8px 4px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.45);
    user-select: none;
    align-self: center;
}

body.module2-sort-dragging .module2-drag-float-preview .module-match-item.is-grey-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1 1 auto;
    width: 100%;
    padding: 12px 12px 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #f3f4f6;
    box-sizing: border-box;
    cursor: grabbing;
    user-select: none;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

body.module2-sort-dragging .module2-drag-float-preview .module-match-item.is-grey-card.is-correct {
    border-color: rgba(46, 125, 50, 0.4);
    background: rgba(46, 125, 50, 0.04);
}

body.module2-sort-dragging .module2-drag-float-preview .module-match-item.is-grey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: 8px 0 0 8px;
    background: transparent;
}

body.module2-sort-dragging .module2-drag-float-preview .module-match-item.is-grey-card.is-correct::before {
    background: #2e7d32;
}

body.module2-sort-dragging .module2-drag-float-preview .module-match-item-label {
    font-size: 0.7rem;
    line-height: 1.45;
    color: #1f1737;
    font-weight: 400;
    word-break: break-word;
}

.module-content.module-2-page .module2-drag-placeholder {
    min-height: 54px;
    height: 100%;
    border: 1px dashed rgba(109, 77, 203, 0.35);
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.06);
    box-sizing: border-box;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.module-content.module-2-page .module2-drop-slot {
    grid-column: 1;
    width: 100%;
    min-height: 54px;
    align-self: start;
    box-sizing: border-box;
    border: 1px dashed rgba(109, 77, 203, 0.35);
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.06);
    pointer-events: none;
    z-index: 0;
}

body.module2-sort-dragging .module-content.module-2-page .module2-drop-slot {
    transition: none !important;
}

body.module2-sort-dragging .module-content.module-2-page .module2-grey-col.is-drag-active .module2-grey-cell {
    transition: none !important;
}

body.module2-sort-dragging .module-content.module-2-page .module2-row-grid {
    transition: none !important;
}

.module-content.module-2-page .module2-grey-col.is-drag-active .module2-grey-cell {
    grid-column: 1;
    z-index: 1;
}

.module-content.module-2-page .module2-drop-slot.is-drop-slot-active {
    border-color: rgba(109, 77, 203, 0.65);
    background: rgba(109, 77, 203, 0.12);
}

.module-content.module-2-page .module2-grey-col.is-drag-active {
    touch-action: none;
}

.module-content.module-2-page .module2-behavior-head.is-hidden {
    display: none;
}

.module-content.module-2-page .module2-behavior-slot-empty {
    min-height: 54px;
    height: 100%;
    box-sizing: border-box;
    width: 100%;
}

.module-content.module-2-page .module2-response-item {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 54px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.module-content.module-2-page .module-reason-input {
    min-height: 0;
}

.module-content.module-2-page .module2-response-item .module-reason-input {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    resize: none;
    overflow: auto;
}

body.module2-sort-dragging .module-content.module-2-page .module2-response-item {
    transition: none !important;
}

body.module2-sort-dragging .module-content.module-2-page .module-reason-input {
    transition: none !important;
}

body.module2-sort-dragging .module-content.module-2-page .module2-behavior-slot-empty {
    transition: none !important;
}

body.module2-sort-dragging {
    user-select: none;
}

body.module2-sort-dragging .module-content.module-2-page .module2-grey-col {
    touch-action: none;
}

.module-content.module-2-page .module-match-item.is-module2-validation-error {
    border-color: rgba(198, 40, 40, 0.65);
}

.module-content.module-2-page .module-reason-input.is-module2-validation-error {
    border-color: rgba(198, 40, 40, 0.65);
}

.module-content.module-2-page .module2-grey-cell.is-module2-validation-error {
    outline: 2px solid rgba(198, 40, 40, 0.35);
    outline-offset: 2px;
    border-radius: 8px;
}

.module-content.module-2-page .module2-complete-admin-hint {
    margin-bottom: 12px;
}

.module-content.module-2-page .module-complete-actions .module2-complete-button {
    min-width: 10rem;
}

.module-content.module-2-page .module2-reading-actions {
    margin-top: 12px;
}

.module-content.module-2-page .module2-reading-actions .module-complete-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.module-content .module-severity-guide {
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.module-content .module-severity-scale {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 14px;
    padding: 8px 0;
}

.module-content .module-severity-scale-node {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid transparent;
}

.module-content .module-severity-scale-node.is-allow {
    color: #2e7d32;
    border-color: rgba(46, 125, 50, 0.25);
    background: rgba(46, 125, 50, 0.06);
}

.module-content .module-severity-scale-node.is-revise {
    color: #e65100;
    border-color: rgba(230, 81, 0, 0.25);
    background: rgba(230, 81, 0, 0.06);
}

.module-content .module-severity-scale-node.is-veto {
    color: #c62828;
    border-color: rgba(198, 40, 40, 0.25);
    background: rgba(198, 40, 40, 0.06);
}

.module-content .module-severity-scale-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(109, 77, 203, 0.15), rgba(109, 77, 203, 0.35), rgba(109, 77, 203, 0.15));
}

.module-content .module-severity-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.module-content .module-severity-card {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(109, 77, 203, 0.15);
    background: #fff;
}

.module-content .module-severity-card.is-allow {
    border-color: rgba(46, 125, 50, 0.25);
    background: rgba(46, 125, 50, 0.04);
}

.module-content .module-severity-card.is-revise {
    border-color: rgba(230, 81, 0, 0.25);
    background: rgba(230, 81, 0, 0.04);
}

.module-content .module-severity-card.is-veto {
    border-color: rgba(198, 40, 40, 0.25);
    background: rgba(198, 40, 40, 0.04);
}

.module-content .module-severity-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.module-content .module-severity-card-code {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.module-content .module-severity-card-th {
    font-size: 0.78rem;
    font-weight: 600;
}

.module-content .module-severity-card-icon {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    border: 1px solid currentColor;
}

.module-content .module-scenario-panel {
    margin-bottom: 14px;
}

.module-content .module-scenario-head {
    margin-bottom: 12px;
}

.module-content .module-scenario-code {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 0.06em;
    color: #8C54EC;
    margin-right: 8px;
}

.module-content .module-scenario-context {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-radius: 4px;
}

.module-content .module-scenario-title {
    margin-top: 8px;
    font-weight: 600;
}

.module-content .module-scenario-body {
    margin-top: 10px;
    line-height: 1.55;
}

.module-content .module-scenario-quote {
    margin-top: 12px;
    padding: 10px 12px;
    border-left: 3px solid #8C54EC;
    border-radius: 6px;
    background: rgba(109, 77, 203, 0.04);
}

.module-content .module-scenario-image img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.module-content .module-severity-choices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.module-content .module-severity-choice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 12px;
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s;
}

.module-content .module-severity-choice-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.module-content .module-severity-choice-mark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-top: 1px solid rgba(109, 77, 203, 0.3);
    border-right: 1px solid rgba(109, 77, 203, 0.3);
}

.module-content .module-severity-choice-code {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.module-content .module-severity-choice-th {
    font-size: 0.88rem;
    font-weight: 700;
}

.module-content .module-severity-choice-hint {
    font-size: 0.76rem;
    line-height: 1.4;
}

.module-content .module-severity-choice.is-allow {
    border-color: rgba(46, 125, 50, 0.25);
}

.module-content .module-severity-choice.is-revise {
    border-color: rgba(230, 81, 0, 0.25);
}

.module-content .module-severity-choice.is-veto {
    border-color: rgba(198, 40, 40, 0.25);
}

.module-content .module-severity-choice.is-allow.is-selected {
    border-color: rgba(46, 125, 50, 0.5);
    background: rgba(46, 125, 50, 0.05);
}

.module-content .module-severity-choice.is-revise.is-selected {
    border-color: rgba(230, 81, 0, 0.5);
    background: rgba(230, 81, 0, 0.05);
}

.module-content .module-severity-choice.is-veto.is-selected {
    border-color: rgba(198, 40, 40, 0.5);
    background: rgba(198, 40, 40, 0.05);
}

.module-content .module-severity-choice.is-invalid {
    border-color: #c62828;
}

.module-content .module-severity-choice.is-disabled {
    opacity: 0.85;
    cursor: default;
    pointer-events: none;
}

.module-content .module-reason-fields {
    margin-top: 14px;
}

.module-content .module-reason-fields.is-hidden {
    display: none;
}

.module-content .module-reason-short-input {
    width: 100%;
    border: 1px solid rgba(109, 77, 203, 0.22);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-family: inherit;
    box-sizing: border-box;
}

.module-content .module-reason-short-input:focus {
    outline: none;
    border-color: #8C54EC;
}

.module-content .module-reason-long-input {
    width: 100%;
    min-height: 88px;
    border: 1px solid rgba(109, 77, 203, 0.22);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-family: inherit;
    box-sizing: border-box;
    resize: vertical;
}

.module-content .module-reason-long-input:focus {
    outline: none;
    border-color: #8C54EC;
}

.module-content .module-reason-wrap.is-locked .module-reason-short-input {
    background: rgba(109, 77, 203, 0.03);
}

.module-content .module-reason-wrap.is-locked .module-reason-long-input {
    background: rgba(109, 77, 203, 0.03);
}

.module-content .module-scenario-feedback {
    margin-top: 14px;
}



.module-content .module-severity-result {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(109, 77, 203, 0.15);
}

.module-content .module-severity-result.is-allow {
    border-color: rgba(46, 125, 50, 0.3);
    background: rgba(46, 125, 50, 0.04);
}

.module-content .module-severity-result.is-revise {
    border-color: rgba(230, 81, 0, 0.3);
    background: rgba(230, 81, 0, 0.04);
}

.module-content .module-severity-result.is-veto {
    border-color: rgba(198, 40, 40, 0.3);
    background: rgba(198, 40, 40, 0.04);
}

.module-content .module-severity-result-code {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

/*--------------------------------------------------
  Module 3
--------------------------------------------------*/

.module-content.module-3-page .module3-stage-panel {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #1a1433;
    font-weight: 400;
}

.module-content.module-3-page #module3-stage-intro {
    scroll-margin-top: 72px;
}

.module-content.module-3-page .module3-flow-layout {
    display: block;
    width: 100%;
}

.module-content.module-3-page .module3-image-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin-top: 12px;
    overflow: hidden;
}

.module-content.module-3-page .module3-image-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.module-content.module-3-page .module3-card-meta {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 8px;
}

.module-content.module-3-page .module3-info-card-stage {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #f7f4ff;
}

.module-content.module-3-page .module3-info-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.module-content.module-3-page .module3-info-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.module-content.module-3-page .module3-info-card-body {
    position: relative;
    z-index: 1;
    padding: 16px;
}

.module-content.module-3-page .module3-info-card-stage.has-background-image .module3-info-card-body {
    margin: 50px 80px;
}

.module-content.module-3-page .module3-info-card-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 auto 30px auto;
    text-align: center;
    padding: 2px 15px;
    display: inline-block;
    color: #FFF;
}

.module-content.module-3-page .module3-info-card-content,
.module-content.module-3-page .module3-info-card-example-body,
.module-content.module-3-page .module3-info-card-impact-body {
    font-size: 0.8rem;
    line-height: 1.7;
}

.module-content.module-3-page .module3-info-card-example,
.module-content.module-3-page .module3-info-card-impact {
    margin-top: 50px;
}

.module-content.module-3-page .module3-info-card-section-label {
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 4px;
    color: #FFF;
    padding: 3px 8px;
    background-color: #5f35b5;
    display: inline-block;
}

.module-content.module-3-page .module3-image-content-legacy {
    margin-top: 0;
}

.module-content.module-3-page .module3-stage-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.module-content.module-3-page .module3-unavailable-panel {
    margin-top: 16px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
}

.module-content.module-3-page .module3-admin-diagnostic {
    margin-top: 16px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
}

.module-content.module-3-page .module3-read-progress-block {
    margin-top: 14px;
}

.module-content.module-3-page .module3-read-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 0.78rem;
    color: #9b95b2;
    margin-bottom: 8px;
}

.module-content.module-3-page .module3-read-percent {
    font-weight: 600;
    color: #8C54EC;
}

.module-content.module-3-page .module3-read-bar {
    height: 6px;
    background: rgba(109, 77, 203, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.module-content.module-3-page .module3-read-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(109, 77, 203, 0.55), #8C54EC);
    border-radius: 999px;
    transition: width 0.25s ease;
}

.module-content.module-3-page .module3-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 20px;
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 16px;
}

.module-content.module-3-page .module3-hero-card.is-text-only {
    grid-template-columns: 1fr;
}

.module-content.module-3-page .module3-hero-image {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(109, 77, 203, 0.12);
    background: #faf9ff;
}

.module-content.module-3-page .module3-hero-image img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.module-content.module-3-page .module3-hero-statement {
    margin-top: 14px;
    padding: 12px 14px;
    border-left: 3px solid #8C54EC;
    background: rgba(109, 77, 203, 0.04);
    font-weight: 500;
    line-height: 1.6;
}

.module-content.module-3-page .module3-section-card {
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 16px;
}

.module-content.module-3-page .module3-def-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.module-content.module-3-page .module3-def-card {
    border: 1px solid rgba(109, 77, 203, 0.16);
    border-radius: 10px;
    padding: 12px 14px;
    background: rgba(109, 77, 203, 0.02);
}

.module-content.module-3-page .module3-def-card-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #8C54EC;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.module-content.module-3-page .module3-keyword {
    font-weight: 700;
    color: #8C54EC;
}

.module-content.module-3-page .module3-compare-note {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(109, 77, 203, 0.12);
    font-size: 0.88rem;
}

.module-content.module-3-page .module3-type-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.module-content.module-3-page .module3-type-no {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(109, 77, 203, 0.25);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #8C54EC;
}

.module-content.module-3-page .module3-type-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
    align-items: start;
}

.module-content.module-3-page .module3-example-box {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(109, 77, 203, 0.12);
}

.module-content.module-3-page .module3-keypoint-box {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(109, 77, 203, 0.12);
}

.module-content.module-3-page .module3-example-box {
    background: rgba(109, 77, 203, 0.03);
}

.module-content.module-3-page .module3-keypoint-box {
    background: #fff;
    border-color: rgba(109, 77, 203, 0.22);
}

.module-content.module-3-page .module3-example-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9b95b2;
    margin-bottom: 4px;
}

.module-content.module-3-page .module3-keypoint-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9b95b2;
    margin-bottom: 4px;
}

.module-content.module-3-page .module3-type-visual img {
    display: block;
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(109, 77, 203, 0.12);
    object-fit: cover;
    max-height: 200px;
}

.module-content.module-3-page .module3-expand-wrap {
    margin-top: 12px;
}

.module-content.module-3-page .module3-expand-btn {
    border: 1px solid rgba(109, 77, 203, 0.25);
    background: #fff;
    color: #8C54EC;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.module-content.module-3-page .module3-expand-panel {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px dashed rgba(109, 77, 203, 0.2);
    border-radius: 8px;
}

.module-content.module-3-page .module3-compare-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.module-content.module-3-page .module3-compare-card {
    border: 1px solid rgba(109, 77, 203, 0.16);
    border-radius: 10px;
    padding: 14px 16px;
    background: rgba(109, 77, 203, 0.015);
}

.module-content.module-3-page .module3-compare-card.is-answered {
    border-color: rgba(109, 77, 203, 0.3);
}

.module-content.module-3-page .module3-compare-no {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9b95b2;
    margin-bottom: 6px;
}

.module-content.module-3-page .module3-type-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.module-content.module-3-page .module3-type-choice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s;
}

.module-content.module-3-page .module3-type-choice:hover {
    border-color: rgba(109, 77, 203, 0.4);
}

.module-content.module-3-page .module3-type-choice.is-selected {
    border-color: #8C54EC;
    background: rgba(109, 77, 203, 0.04);
}

.module-content.module-3-page .module3-type-choice-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.module-content.module-3-page .module3-type-choice:focus-within {
    outline: 2px solid rgba(109, 77, 203, 0.4);
    outline-offset: 2px;
}

.module-content.module-3-page .module3-type-choice-text {
    font-size: 0.82rem;
    line-height: 1.45;
}

.module-content.module-3-page .module3-compare-result {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.86rem;
}

.module-content.module-3-page .module3-compare-result.is-match {
    border: 1px solid rgba(46, 125, 50, 0.25);
    background: rgba(46, 125, 50, 0.05);
}

.module-content.module-3-page .module3-compare-result.is-review {
    border: 1px solid rgba(230, 81, 0, 0.25);
    background: rgba(230, 81, 0, 0.05);
}

.module-content.module-3-page .module3-compare-result-label {
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.module-content.module-3-page .module3-summary-panel {
    border: 0;
    padding: 0;
    background: transparent;
}

.module-content.module-3-page .module3-keypoints {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(109, 77, 203, 0.12);
}

.module-content.module-3-page .module3-keypoints-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.module-content.module-3-page .module3-keypoint-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(109, 77, 203, 0.08);
}

.module-content.module-3-page .module3-keypoint-no {
    flex: 0 0 28px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #8C54EC;
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-radius: 4px;
    text-align: center;
    padding: 2px 0;
}

.module-content.module-3-page .module3-side-panel {
    position: sticky;
    top: 16px;
}

.module-content.module-3-page .module3-nav-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 280px;
    overflow-y: auto;
}

.module-content.module-3-page .module3-nav-btn {
    width: 100%;
    text-align: left;
    border: 1px solid transparent;
    background: transparent;
    font-size: 0.82rem;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.module-content.module-3-page .module3-nav-btn:hover {
    color: #8C54EC;
    border-color: rgba(109, 77, 203, 0.2);
    background: rgba(109, 77, 203, 0.04);
}

.module-content.module-3-page .module3-nav-btn.is-active {
    color: #8C54EC;
    border-color: rgba(109, 77, 203, 0.2);
    background: rgba(109, 77, 203, 0.04);
}

.module-content.module-3-page .module3-side-divider {
    height: 1px;
    background: rgba(109, 77, 203, 0.12);
    margin: 14px 0;
}

.module-content.module-3-page .module3-side-stat-label {
    display: block;
    font-size: 0.72rem;
    color: #9b95b2;
    margin-bottom: 4px;
}

.module-content.module-3-page .module3-side-stat-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #8C54EC;
}

.module-content.module-3-page .module3-nav-toggle {
    display: none;
    width: 100%;
    margin-top: 10px;
    border: 1px solid rgba(109, 77, 203, 0.2);
    background: #fff;
    color: #8C54EC;
    font-size: 0.82rem;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.module-content.module-3-page .module3-complete-actions .module-btn {
    margin-bottom: 8px;
}

/*--------------------------------------------------
  Module 4
--------------------------------------------------*/

.module-content .module4-intro-body {
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 400;
}
.module-content .module4-intro-body img {
    width: 80%;
    margin: 0 10%;
    display: inline-block;
}
.module-content.module-4-page .module4-question-meta {
    display: inline-block;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0;
        color: #8C54EC;
        white-space: nowrap;
    margin-bottom: 10px;
}

.module-content.module-4-page .module4-question-text {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: #1f1737;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.module-content.module-4-page .module4-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    margin-top: 40px;
}

.module-content.module-4-page .module4-choice-btn {
    flex: 1 1 180px;
    min-height: 72px;
    padding: 12px 14px;
    cursor: pointer;
    text-align: center;
    border-radius: 20px;
}

.module-content.module-4-page .module4-vote-btn {
    flex: 1 1 180px;
    min-height: 72px;
    padding: 12px 14px;
    cursor: pointer;
    text-align: center;
    border-radius: 20px;
}

.module-content.module-4-page .module4-choice-btn[data-response="allow"] {
    background-color: #BAD5A7;
    border: 5px solid #BAD5A7;
}

.module-content.module-4-page .module4-choice-btn[data-response="revise"] {
    background-color: #FFE599;
    border: 5px solid #FFE599;
}

.module-content.module-4-page .module4-choice-btn[data-response="veto"] {
    background-color: #FFA0A0;
    border: 5px solid #FFA0A0;
}

.module-content.module-4-page .module4-choice-btn[data-response="allow"].is-selected {
    background-color: #70ad47;
    border: 5px solid #457C21;
}

.module-content.module-4-page .module4-choice-btn[data-response="revise"].is-selected {
    background-color: #ffc000;
    border: 5px solid #AC8200;
}

.module-content.module-4-page .module4-choice-btn[data-response="veto"].is-selected {
    background-color: #ee0000;
    border: 5px solid #B40000;
}

.module-content.module-4-page .module4-choice-label-th {
    display: block;
    font-weight: 500;
    color: #1f1737;
}

.module-content.module-4-page .module4-choice-label-en {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: #1f1737;
}

.module-content.module-4-page .module4-explanation {
    margin: 16px 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: #FAF8FF;
    border: 1px solid #DFD6F2;
}
.module-content.module-4-page .module4-explanation .sub-title {
        font-size: 0.8rem;
        font-weight: 600;
        color: #1f1737;
        margin-bottom: 5px;
    }
.module-content.module-4-page .module4-explanation .module4-explanation-body {
    font-size: 0.8rem;
    font-weight: 400;
}
.module-content.module-4-page .module4-focus-explanation {
    margin: 16px 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: #F5E3E4;
    border: 1px solid #DFC2C2;
}
.module-content.module-4-page .module4-focus-explanation .sub-title {
        font-size: 0.8rem;
        font-weight: 600;
        color: #1f1737;
        margin-bottom: 5px;
    }
.module-content.module-4-page .module4-focus-explanation .module4-focus-explanation-body {
    font-size: 0.8rem;
    font-weight: 400;
}
.module-content.module-4-page .module4-explanation[hidden] {
    display: none !important;
}

.module-content.module-4-page .module4-focus-explanation[hidden] {
    display: none !important;
}

.module-content.module-4-page .module4-explanation .content-button-link {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #8C54EC;
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
}

.module-content.module-4-page .module4-explanation .content-button-link:hover {
    background: #553C8D;
}

.module-content.module-4-page .module4-stage-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.module-content.module-4-page .module4-unavailable-panel {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(140, 84, 236, 0.05);
    border: 1px solid #DFD6F2;
}

.module-content.module-4-page .module4-admin-diagnostic {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(140, 84, 236, 0.05);
    border: 1px solid #DFD6F2;
}

.module-content.module-4-page .module4-nav-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.module-content.module-4-page .module4-nav-dot {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e0d9f0;
    background: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.module-content.module-4-page .module4-nav-dot.is-locked {
    opacity: 0.45;
    cursor: default;
}

.module-content.module-4-page .module4-nav-dot.is-current {
    font-weight: 700;
    border-color: #8C54EC;
    color: #8C54EC;
}

.module-content.module-4-page .module4-nav-dot.is-answered {
    background: rgba(140, 84, 236, 0.12);
    border-color: rgba(140, 84, 236, 0.35);
}

/*--------------------------------------------------
  Module 5
--------------------------------------------------*/

.module-content.module-5-page .module5-watch-meta {
    margin-top: 10px;
    font-size: 0.84rem;
    color: #8C54EC;
    font-weight: 600;
}

.module-content.module-5-page .module5-intro-card {
    margin-bottom: 18px;
}

.module-content.module-5-page .module5-library {
    margin-bottom: 20px;
    overflow-x: clip;
}

.module-content.module-5-page .module5-library-head {
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.module-content.module-5-page .module5-video-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    outline: none;
}

.module-content.module-5-page .module5-video-carousel:focus-visible {
    outline: 2px solid rgba(109, 77, 203, 0.45);
    outline-offset: 4px;
    border-radius: 10px;
}

.module-content.module-5-page .module5-video-carousel-viewport {
    flex: 1 1 auto;
    min-width: 0;
    touch-action: pan-y;
    align-items: center;
}

.module-content.module-5-page .module5-video-track {
    position: relative;
    width: 100%;
    min-height: 280px;
    align-items: center;
    display: inline-flex;
}

.module-content.module-5-page .module5-video-carousel.is-dragging .module5-film-card {
    transition: none !important;
}

.module-content.module-5-page .module5-carousel-arrow {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #8C54EC;
    background: #fff;
    color: #8C54EC;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s, opacity 0.2s;
}

.module-content.module-5-page .module5-carousel-arrow-icon {
    font-size: 0.8rem;
    line-height: 1;
}

.module-content.module-5-page .module5-carousel-arrow:hover:not([aria-disabled="true"]) {
    border-color: #8C54EC;
    background: #8C54EC;
    outline: none;
    color: #FFF;
}

.module-content.module-5-page .module5-carousel-arrow:focus-visible:not([aria-disabled="true"]) {
    border-color: rgba(109, 77, 203, 0.55);
    background: rgba(109, 77, 203, 0.08);
    outline: none;
}
.module-content.module-5-page .module5-carousel-arrow:focus-visible:not([aria-disabled="true"]) {
    border-color: rgba(109, 77, 203, 0.55);
    background: rgba(109, 77, 203, 0.08);
    outline: none;
}
.module-content.module-5-page .module5-carousel-arrow:active:not([aria-disabled="true"]) {
    background: rgba(109, 77, 203, 0.14);
}

.module-content.module-5-page .module5-carousel-arrow[aria-disabled="true"] {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.module-content.module-5-page .module5-carousel-arrow.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.module-content.module-5-page .module5-video-carousel.is-static .module5-carousel-arrow {
    display: none;
}

.module-content.module-5-page .module5-video-carousel.is-transitioning .module5-film-card.is-side .module5-film-cover-select {
    pointer-events: none;
}

.module-content.module-5-page .module5-video-carousel.is-transitioning .module5-carousel-arrow {
    pointer-events: none;
}

.module-content.module-5-page .module5-film-card {
    position: absolute;
    top: 0;
    background: #fff;
    border: 1px solid #e0d9f0;
    border-radius: 20px;
    box-sizing: border-box;
    transform-origin: top center;
    outline: none;
}

.module-content.module-5-page .module5-film-card.is-center {
    z-index: 2;
}

.module-content.module-5-page .module5-film-card.is-center img {
    border: 4px solid rgba(109, 77, 203, 0.55);
}

.module-content.module-5-page .module5-film-card.is-side {
    z-index: 1;
}

.module-content.module-5-page .module5-film-card.is-hidden-slot {
    visibility: hidden;
    pointer-events: none;
}

.module-content.module-5-page .module5-film-cover-select {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: inherit;
    font: inherit;
    color: inherit;
    text-decoration: none;
}

.module-content.module-5-page .module5-film-card.is-center .module5-film-cover-select {
    pointer-events: none;
    cursor: default;
}

.module-content.module-5-page .module5-film-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.module-content.module-5-page .module5-film-cover:hover {
    opacity: 0.8;
}

.module-content.module-5-page .module5-film-cover.is-placeholder::before {
    content: '';
    position: absolute;
    inset: 12px;
    pointer-events: none;
}

.module-content.module-5-page .module5-film-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
}

.module-content.module-5-page .module5-film-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #8C54EC;
    border: 2px solid #fff;
}

.module-content.module-5-page .module5-film-check::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.module5-info-popup {
    position: fixed;
    inset: 0;
    z-index: 11900;
    display: none;
    align-items: center;
    justify-content: center;
}

.module5-info-popup.open {
    display: flex;
}

.module5-info-popup .module5-info-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 12, 40, 0.55);
    backdrop-filter: blur(2px);
}

.module5-info-popup[data-close-backdrop="false"] .module5-info-overlay {
    cursor: default;
}

.module5-info-popup .module5-info-dialog {
    position: relative;
    z-index: 2;
    width: min(640px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 16px auto;
    background: #ffffff;
    border: 1px solid #e0d9f0;
    border-radius: 12px;
    padding: 18px 18px 20px;
    box-sizing: border-box;
}

.module5-info-popup .module5-info-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    border: 1px solid rgba(109, 77, 203, 0.25);
    background: #fff;
    color: #8C54EC;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.module5-info-popup .module5-info-close:focus-visible {
    outline: 2px solid rgba(109, 77, 203, 0.45);
    outline-offset: 2px;
}

.module5-info-popup .module5-video-info-panel {
    width: 100%;
    margin-top: 0;
    background: #fff;
    border-radius: 0;
    box-sizing: border-box;
    border: none;
}

.module5-info-popup .module5-video-info-inner {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 8px 20px;
    padding: 28px 4px 4px;
    align-items: center;
    transition: opacity 0.22s ease;
}

.module5-info-popup .module5-video-info-inner.is-updating {
    opacity: 0.72;
}

.module5-info-popup .module5-info-category {
    grid-area: category;
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9b95b2;
}

.module5-info-popup .module5-video-info-inner .title {
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 500;
    margin: 0;
}

.module5-info-popup .module5-info-detail {
    font-size: 0.8rem;
    line-height: 1.5;
    font-weight: 400;
}

.module5-info-popup .module5-info-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: 0.7rem;
    color: #9b95b2;
    font-weight: 400;
}

.module5-info-popup .module5-info-status[data-status="completed"] {
    color: #8C54EC;
}

.module5-info-popup .module5-info-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-weight: 500;
    padding: 8px 25px;
    font-size: 0.8rem;
    border-radius: 30px;
    background-color: #8C54EC;
    text-decoration: none;
    transition: background-color 0.2s;
    margin-top: 20px;
}
.module5-info-popup .module5-info-watch:hover {
    background-color: #553C8D;
}
.module5-info-popup .module5-info-watch:focus-visible {
    background-color: #553C8D;
}



.module-content.module-5-page .module5-lesson-section {
    margin-bottom: 16px;
}

.module-content.module-5-page .module5-summary-section {
    margin-bottom: 16px;
}

.module-content.module-5-page .module5-reflection-section {
    margin-bottom: 16px;
}

.module-content.module-5-page .module5-lesson-card {
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 12px;
    padding: 20px 22px;
}

.module-content.module-5-page .module5-summary-panel {
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 12px;
    padding: 20px 22px;
}

.module-content.module-5-page .module5-lesson-image {
    margin: 12px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(109, 77, 203, 0.12);
}

.module-content.module-5-page .module5-lesson-image img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.module-content.module-5-page .module5-lesson-hint {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px dashed rgba(109, 77, 203, 0.25);
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.03);
    font-size: 0.86rem;
}

.module-content.module-5-page .module5-keypoints {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(109, 77, 203, 0.12);
}

.module-content.module-5-page .module5-keypoints-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.module-content.module-5-page .module5-keypoint-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(109, 77, 203, 0.08);
}

.module-content.module-5-page .module5-keypoint-no {
    flex: 0 0 28px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #8C54EC;
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-radius: 4px;
    text-align: center;
    padding: 2px 0;
}

.module-content.module-5-page .module5-complete-actions .module-btn {
    margin-bottom: 8px;
}

.module-content.module-5-page .module5-replay-nav {
    margin-bottom: 16px;
}

.module-content.module-5-page .module5-replay-paused-hint {
    margin: 0 0 16px;
    color: #9b95b2;
    font-size: 0.84rem;
}



.module5-video-popup {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
}

.module5-video-popup.open {
    display: flex;
}

.module5-video-popup .module5-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 12, 40, 0.55);
    backdrop-filter: blur(2px);
}

.module5-video-popup .module5-video-dialog {
    position: relative;
    z-index: 2;
    width: min(920px, calc(100% - 40px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: 20px auto;
    background: #ffffff;
    border: 1px solid #e0d9f0;
    border-radius: 20px;
    padding: 30px;
}

.module5-video-popup[data-close-backdrop="false"] .module5-video-overlay {
    cursor: default;
}

.module5-video-popup .module5-video-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 1px solid rgba(109, 77, 203, 0.25);
    background: #fff;
    color: #8C54EC;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 3;
    text-decoration: none;
}

.module5-video-popup .module5-popup-head {
    padding-right: 72px;
    margin-bottom: 12px;
}
.module5-video-popup .module5-popup-head .title {
    font-weight: 500;
    font-size: 1rem;
}
.module5-video-popup .module5-popup-head .text {
    font-weight: 400;
    font-size: 0.8rem;
}
.module5-video-popup .module5-popup-code {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #9b95b2;
    margin-bottom: 6px;
}

.module5-video-popup .module5-popup-progress {
    color: #FF0033;
    margin-top: 6px;
}

.module5-video-popup .module5-video-player-wrap {
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 15px;
    overflow: hidden;
    background: #0f0a1f;
}

.module5-video-popup .module5-video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.module5-video-popup .module5-video-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.module5-video-popup .module5-video-player video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.module5-video-popup .module5-yt-holder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.module5-video-popup .module5-player-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #fff;
    text-align: center;
}

.module5-video-popup .module5-video-ended {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(109, 77, 203, 0.12);
}

.module5-video-popup .module5-ended-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.module-content .module5-sub-stage-inner {
    font-size: 0.8rem;
    font-weight: 400;
}
.module-content .module5-sub-stage-inner .title {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}
/*--------------------------------------------------
  Final Quiz
--------------------------------------------------*/

.final-content .final-panel {
    background: #fff;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 10px;
}

.final-content .final-header {
    margin-bottom: 10px;
    border-bottom: 1px solid #e0d9f0;
    padding-bottom: 10px;
}

.final-content .final-instruction-card {
    background: #fff;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.final-content .final-instruction-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #1a1433;
}

.final-content .final-instruction-list li {
    margin-bottom: 4px;
}

.final-content .final-progress-block {
    margin-bottom: 10px;
    background: #FFFFFF;
    padding: 10px;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
}
.module-content .final-q-head {
        width: 100%;
        height: auto;
        min-height: 350px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }
.module-content .final-q-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #12102a;
    margin-bottom: 14px;
    line-height: 1.55;
    word-break: break-word;
}

.module-content .final-q-badge {
     display: inline-block;
     font-size: 1rem;
     font-weight: 600;
     letter-spacing: 0;
     color: #8C54EC;
     position: absolute;
     top: 0;
     left: 0;
     white-space: nowrap;
}

.final-content .final-q-image {
    margin-bottom: 14px;
    border: 1px solid rgba(109, 77, 203, 0.12);
    border-radius: 8px;
    overflow: hidden;
    background: #faf9ff;
}

.final-content .final-q-image img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.module-content .final-choices {
    display: grid;
    gap: 8px;
}

.module-content .final-choice-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    background: #fff;
    min-width: 0;
}

.module-content .final-choice-card:hover {
    border: 1px solid #743ED0;
}

.module-content .final-choice-card.is-selected {
    background-color: #F0EDF8;
    border: 1px solid #8c54ec;
}

.module-content .final-choice-card.is-invalid {
    border-color: #d6455d;
    border-width: 2px;
}

.module-content .final-choice-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.module-content .final-choice-num {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid #E0D9F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1A1433;
    background: #fff;
}

.module-content .final-choice-card.is-selected .final-choice-num {
    background-color: #8C54EC;
    color: #FFFFFF;
    border-color: #8C54EC;
}

.module-content .final-choice-body {
    flex: 1;
    min-width: 0;
}

.final-content .final-choice-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #1A1433;
    line-height: 1.6;
    word-break: break-word;
}

.final-content .final-choice-img {
    display: block;
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(109, 77, 203, 0.1);
}

.final-content .final-choice-img img {
    display: block;
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    background: #faf9ff;
}

.final-content .final-reason-wrap {
    margin-top: 14px;
}

.final-content .final-reason-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #1f1737;
    margin-bottom: 6px;
}

.final-content .final-reason-input {
    width: 100%;
    min-height: 88px;
    border: 1px solid rgba(109, 77, 203, 0.22);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-family: inherit;
    color: #1f1737;
    resize: vertical;
    box-sizing: border-box;
}

.final-content .final-reason-input:focus {
    outline: none;
    border-color: #8C54EC;
}

.module-content .final-nav-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.module-content .final-nav-dot {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #D2CAE7;
    color: #D2CAE7;
    background: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.module-content .final-nav-dot:hover {
    border: 1px solid #A399BD;
    color: #A399BD;
}
.module-content .final-nav-dot.is-current {
    background-color: #EEE8FF;
    border: 1px solid #8C54EC;
    color: #8C54EC;
}

.module-content .final-nav-dot.is-answered {
    background: #8C54EC;
    border: 1px solid #8C54EC;
    color: #FFF;
}

.final-content .final-quiz-result {
    margin-top: 12px;
}

.final-content .final-quiz-result-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1433;
    margin-bottom: 16px;
}

.final-content .final-quiz-result-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.final-content .final-quiz-result-metric {
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 14px 16px;
    background: #faf9ff;
    text-align: center;
}

.final-content .final-quiz-result-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: #8C54EC;
    margin-bottom: 6px;
}

.final-content .final-quiz-result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1433;
    line-height: 1.3;
}

.final-content .final-quiz-result-status {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.final-content .final-quiz-result-status--passed {
    color: #2e7d52;
}

.final-content .final-quiz-result-status--failed {
    color: #c0392b;
}

.final-content .final-quiz-result-actions {
    margin-top: 0;
}

.final-content .final-mini-prev {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px dashed rgba(109, 77, 203, 0.25);
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.03);
    font-size: 0.82rem;
}

.final-content .final-no-retry {
    display: block;
    margin-bottom: 8px;
}

/*--------------------------------------------------
  Member Dashboard
--------------------------------------------------*/

.member-content {
    width: 100%;
    min-height: 100vh;
    padding: 24px;
    box-sizing: border-box;
}

.member-content .member-header {
    max-width: 1100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.member-content .member-logo img {
    width: auto;
    height: 14px;
    display: block;
}

.member-content .member-welcome {
    max-width: 1100px;
    margin: 0 auto 24px;
    background: #FFFFFF;
    border: 1px solid #DFD6F2;
    border-radius: 20px;
    padding: 25px;
}

.member-content .title {
    color: #1F1361;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.member-content .sub-title {
    color: #1F1361;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 6px;
}

.member-content .text {
    color: #4A3F6B;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.6;
}

.member-content .member-main-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    padding: 12px 30px;
    background: #8C54EC;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
}

.member-content .member-main-btn:hover {
    background: #553C8D;
}

.member-content .member-main-btn .icon svg path {
    fill: #FFFFFF;
}

.member-content .member-main-btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.member-content .member-main-hint {
    margin-top: 10px;
}

.member-content .member-welcome-progress {
    margin-top: 16px;
}

.member-content .member-welcome-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 16px;
    align-items: center;
}

.member-content .member-welcome-col {
    flex: 1 1 calc(50% - 12px);
    min-width: 0;
    box-sizing: border-box;
}

.member-content .member-welcome-col-progress .text {
    margin-bottom: 12px;
}

.member-content .member-welcome-col-progress .member-welcome-progress {
    margin-top: 0;
}

.member-content .member-welcome-col-lesson .member-welcome-lesson {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.member-content .member-welcome-progress-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.member-content .member-welcome-percent {
    color: #8C54EC;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1;
}

.member-content .member-welcome-lesson {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #EBE5F7;
}

.member-content .member-welcome-lesson-title {
    color: #1F1361;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.member-content .member-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.member-content .member-card {
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 20px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.member-content .member-span-2 {
    grid-column: span 2;
}

.member-content .member-progress-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 0;
}

.member-content .member-progress-percent {
    font-size: 1.6rem;
    font-weight: 700;
    color: #8C54EC;
}

.member-content .member-progress-bar {
    width: 100%;
    height: 10px;
    background: #EBE5F7;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 12px;
}

.member-content .member-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8C54EC, #8b6cff);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.member-content .member-progress-meta .text {
    margin-bottom: 4px;
}

.member-content .member-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.member-content .member-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #C0A9F1;
    color: #8C54EC;
    background: #FFFFFF;
    cursor: pointer;
}

.member-content .member-btn.primary {
    background: #8C54EC;
    color: #FFFFFF;
    border-color: #8C54EC;
}

.member-content .member-btn.primary svg path {
    fill: #FFFFFF;
}

.member-content .member-btn.outline {
    background: #FAF8FF;
}

.member-content .member-btn.small {
    padding: 6px 10px;
    font-size: 0.68rem;
}

.member-content .member-btn.is-disabled,
.member-content a[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
}

.member-content .member-btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.member-content .member-btn .loader {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(103, 73, 167, 0.25);
    border-top-color: #8C54EC;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
}

.member-content .member-main-btn .loader {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
}

.member-content .member-path-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.member-content .member-path-item {
    display: grid;
    grid-template-columns: 36px 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #EBE5F7;
    border-radius: 12px;
    background: #FAF8FF;
}

.member-content .member-path-no {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #8C54EC;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}

.member-content .member-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid #ded7ef;
    background: #ece6ff;
    color: #4e34a0;
    letter-spacing: 0.04em;
}

.member-content .member-badge.done {
    background: #E5FAEE;
    color: #1E8E4E;
}

.member-content .member-badge.doing {
    background: #E8F0FF;
    color: #3D5FA8;
}

.member-content .member-badge.pending {
    background: #F4EFFF;
    color: #8C54EC;
}

.member-content .member-badge.locked {
    background: #F2F0F8;
    color: #8F85B5;
}

.member-content .member-badge.fail {
    background: #FFE8E3;
    color: #B84A3A;
}

.member-content .member-badge.cert-ready {
    background: #E5D2FC;
    color: #553C8D;
}

.member-content .member-badge.cert-issued {
    background: #E5FAEE;
    color: #1E8E4E;
}

.member-content .member-badge.cert-profile {
    background: #F4EFFF;
    color: #8C54EC;
}

.member-content .member-badge.cert-no_right {
    background: #F4EFFF;
    color: #8C54EC;
}

.member-content .member-badge.cert-suspended {
    background: #F4EFFF;
    color: #8C54EC;
}

.member-content .member-quiz-score {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1F1361;
    margin: 8px 0;
}

.member-content .member-muted {
    color: #8F85B5;
    font-size: 0.7rem;
}

.member-content .member-cert-missing {
    margin: 10px 0;
}

.member-content .member-cert-missing ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

.member-content .member-cert-missing li {
    font-size: 0.72rem;
    color: #4A3F6B;
    margin-bottom: 4px;
    font-weight: 400;
}

.member-content .member-activity-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.member-content .member-activity-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #EBE5F7;
    font-size: 0.72rem;
}

.member-content .member-activity-list .act-label {
    color: #1F1361;
    font-weight: 600;
}

.member-content .member-activity-list .act-date {
    color: #8F85B5;
    white-space: nowrap;
}

.member-content.profile-page .profile-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.member-content.profile-page .profile-page-head {
    margin-bottom: 20px;
}

.member-content.profile-page .profile-micro-label {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #8F85B5;
    margin-bottom: 8px;
}

.member-content.profile-page .profile-back-btn {
    display: inline-flex;
    margin-top: 12px;
    padding: 8px 14px;
    border: 1px solid #DFD6F2;
    border-radius: 30px;
    color: #8C54EC;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    background: #fff;
}

.member-content.profile-page .profile-back-btn:hover {
    background: #F4EFFF;
}

.member-content.profile-page .profile-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.member-content.profile-page .profile-avatar-wrap {
    text-align: center;
    margin-bottom: 12px;
}

.member-content.profile-page .profile-avatar-lg {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #EBE5F7;
}

.member-content.profile-page .profile-complete-block {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #EBE5F7;
}

.member-content.profile-page .profile-complete-label {
    font-size: 0.72rem;
    color: #8F85B5;
    margin-bottom: 4px;
    font-weight: 400;
}

.member-content.profile-page .profile-complete-percent {
    font-size: 1.5rem;
    font-weight: 800;
    color: #8C54EC;
    margin-bottom: 8px;
}

.member-content.profile-page .profile-missing {
    margin-top: 8px;
    color: #B84A3A;
}

.member-content.profile-page .profile-cert-ready {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #F4EFFF;
    border: 1px solid #DFD6F2;
}

.member-content.profile-page .profile-cert-ready-label {
    display: block;
    font-size: 0.72rem;
    color: #8F85B5;
    font-weight: 400;
}

.member-content.profile-page .profile-cert-ready-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: #8C54EC;
}

.member-content.profile-page .profile-readonly-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #EBE5F7;
    font-size: 0.7rem;
    font-weight: 400;
}

.member-content.profile-page .profile-readonly-row:last-child {
    border-bottom: none;
}

.member-content.profile-page .profile-link-btn {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #8C54EC;
    text-decoration: none;
}

.member-content.profile-page .profile-cert-warn {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(214, 69, 93, 0.25);
    background: rgba(214, 69, 93, 0.05);
}

.member-content.profile-page .profile-cert-warn .text {
    color: #9b2c3d;
    margin-bottom: 4px;
}

.member-content.profile-page .profile-field-row {
    margin-bottom: 14px;
}

.member-content.profile-page .profile-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1F1361;
    margin-bottom: 6px;
}

.member-content.profile-page .profile-req {
    color: #B84A3A;
}

.member-content.profile-page .profile-input {
    width: 100%;
    border: 1px solid #DFD6F2;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-family: inherit;
    color: #1F1361;
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.2s;
}

.member-content.profile-page .profile-textarea {
    width: 100%;
    border: 1px solid #DFD6F2;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-family: inherit;
    color: #1F1361;
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.2s;
}

.member-content.profile-page .profile-textarea {
    resize: vertical;
    min-height: 88px;
}

.member-content.profile-page .profile-input:focus {
    outline: none;
    border-color: #8C54EC;
}

.member-content.profile-page .profile-textarea:focus {
    outline: none;
    border-color: #8C54EC;
}

.member-content.profile-page .profile-input.is-readonly {
    background: #FAF8FF;
    color: #666;
}

.member-content.profile-page .profile-input.is-invalid {
    border-color: #d6455d;
}

.member-content.profile-page .profile-textarea.is-invalid {
    border-color: #d6455d;
}

.member-content.profile-page .profile-field-error {
    min-height: 1.1em;
    font-size: 0.76rem;
    color: #c62828;
    margin-top: 4px;
}

.member-content.profile-page .profile-hint {
    margin-top: 4px;
    font-size: 0.74rem;
    color: #8F85B5;
}

.member-content.profile-page .profile-pass-wrap {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.member-content.profile-page .profile-pass-wrap .profile-input {
    flex: 1;
}

.member-content.profile-page .profile-pass-toggle {
    flex: 0 0 auto;
    min-width: 64px;
    border: 1px solid #DFD6F2;
    border-radius: 10px;
    background: #FAF8FF;
    color: #8C54EC;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.member-content.profile-page .profile-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.member-content.profile-page .profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.86rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.member-content.profile-page .profile-btn-primary {
    background: #8C54EC;
    color: #fff;
    border-color: #8C54EC;
}

.member-content.profile-page .profile-btn-primary:hover {
    background: #553C8D;
}

.member-content.profile-page .profile-btn-outline {
    background: #fff;
    color: #8C54EC;
    border-color: #DFD6F2;
}

.member-content.profile-page .profile-btn-outline:hover {
    background: #F4EFFF;
}

.member-content.profile-page .profile-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.member-content.profile-page .profile-btn.is-disabled,
.member-content.profile-page .profile-btn[aria-disabled="true"] {
    opacity: 0.7;
    pointer-events: none;
}

.member-content.profile-page .profile-btn-primary.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
    margin-left: 6px;
}

.member-content.profile-page .profile-image-note {
    margin-top: 0;
}

.member-content.profile-page .profile-password-card {
    margin-top: 14px;
}

.journey-set {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background-image: url("../img/objects/course-bg.png");
    background-size: cover;
}

.journey-set .journey-body {
    width: 900px;
    height: auto;
    display: block;
    padding: 20px 40px;
    border-radius: 20px;
    background-color: #FFF;
    border: 1px solid #DFD6F2;
    background: #f7f5fc;
}

.journey-set .journey-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.journey-set .journey-header .header-text {
    max-width: 70%;
}

.journey-set .journey-header h1 {
    font-size: 1rem;
    color: #1F1361;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.journey-set .journey-header p {
    font-size: 0.7rem;
    color: #1F1361;
    font-weight: 400;
    margin: 0;
}

.journey-set .journey-header .header-illustration img {
    height: 120px;
    object-fit: contain;
}

.journey-set .status-summary-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.journey-set .status-box {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #EBE5F7;
}

.journey-set .status-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    background-color: #F4EFFF;
}

.journey-set .status-icon-box svg {
    width: 30px;
    height: auto;
    display: inline-block;
}

.journey-set .status-icon-box svg path {
    fill: #7E49D5;
}

.journey-set .status-txt {
    display: flex;
    flex-direction: column;
}

.journey-set .status-txt .lbl {
    font-size: 0.7rem;
    color: #1A0D3F;
    font-weight: 500;
    line-height: 1;
}

.journey-set .status-txt .num {
    font-size: 1rem;
    font-weight: 700;
    color: #1A0D3F;
}

.journey-set .status-txt .num span {
    font-size: 0.7rem;
    font-weight: 400;
    color: #888;
}

.journey-set .course-rows-container {
    display: flex;
    flex-direction: column;
    border: 1px solid #EBE5F7;
    border-radius: 20px;
}

.journey-set .course-row {
    padding: 15px;
    display: grid;
    grid-template-columns: 140px 1fr 100px 120px;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #EBE5F7;
}

.journey-set .course-img-thumb {
    width: 140px;
    height: 90px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #F4EFFF;
}

.journey-set .course-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journey-set .course-info-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.journey-set .badge-module {
    background-color: #C0A9F1;
    color: #4e34a0;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 8px;
    background: #ece6ff;
    border: 1px solid #ded7ef;
}

.journey-set .course-info-detail h3 {
    font-size: 1rem;
    color: #1F1361;
    margin: 0 0 0 0;
    font-weight: 700;
}

.journey-set .course-info-detail p {
    font-size: 0.7rem;
    color: #1F1361;
    font-weight: 400;
    margin: 0;
}

.journey-set .course-row-progress {
    text-align: center;
}

.journey-set .status-text {
    font-size: 0.7rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-set .text-green {
    color: #2ecc71;
}

.journey-set .text-purple {
    color: #8C54EC;
}

.journey-set .text-gray {
    color: #999;
}

.journey-set .course-row-action {
    text-align: right;
}

.journey-set .btn-journey {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5px 15px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.journey-set .btn-outline {
    border: 1.5px solid #C0A9F1;
    color: #8C54EC;
    background-color: transparent;
}

.journey-set .btn-outline:hover {
    background-color: #F4EFFF;
    border-color: #8C54EC;
}

.journey-set .btn-primary {
    background: #8C54EC;
    color: #FFFFFF;
    border: 1.5px solid #8C54EC;
}

.journey-set .btn-primary:hover {
    background: #553C8D;
    border-color: #553C8D;
}

.pretest-portal-set {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background-image: url("../img/objects/course-bg.png");
    background-size: cover;
}

.pretest-portal-set .pretest-portal-box {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.pretest-portal-set .portal-main-container {
    display: grid;
    grid-template-columns: 1fr 0.3fr;
    gap: 20px;
    position: relative;
}

.pretest-portal-set .portal-title {
    color: #1F1361;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.pretest-portal-set .text {
    color: #1F1361;
    font-weight: 400;
    font-size: 0.7rem;
    margin: 0;
}

.pretest-portal-set .portal-left-column {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #FFF;
    border-radius: 20px;
}

.pretest-portal-set .portal-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pretest-portal-set .portal-sub-card {
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    background-color: #FFF;
    border: 1px solid #EBE5F7;
}

.pretest-portal-set .progress-box {
    margin: 20px 0;
}

.pretest-portal-set .progress-box .progress-header {
    display: flex;
    align-items: baseline;
}

.pretest-portal-set .progress-box h2 {
    font-size: 0.8rem;
    color: #1A0A3A;
    margin: 0;
    font-weight: 600;
}

.pretest-portal-set .progress-box .percent-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #7239D6;
    margin-left: 10px;
}

.pretest-portal-set .progress-box .module-count {
    font-size: 0.7rem;
    color: #8C54EC;
    font-weight: 500;
}

.pretest-portal-set .progress-box .module-count strong {
    font-size: 0.8rem;
    color: #7239D6;
}

.pretest-portal-set .progress-display {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pretest-portal-set .bar-bg {
    flex: 1;
    height: 8px;
    background-color: #EBE5F7;
    border-radius: 10px;
    overflow: hidden;
}

.pretest-portal-set .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #8C54EC, #8b6cff);
    border-radius: 10px;
}

.pretest-portal-set .quiz-question-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pretest-portal-set .q-badge {
    background-color: #8C54EC;
    color: #FFF;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.pretest-portal-set .q-title {
    color: #1F1361;
    font-weight: 700;
    font-size: 1rem;
    margin: 10px 0;
}

.pretest-portal-set .quiz-options-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.pretest-portal-set .option-item {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1.5px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.pretest-portal-set .option-item:hover {
    background-color: #FBF9FF;
    border-color: #C0A9F1;
}

.pretest-portal-set .option-item.active {
    border-color: #8C54EC;
    background-color: #FFFFFF;
    background: #ece6ff;
}

.pretest-portal-set .option-item input {
    display: none;
}

.pretest-portal-set .opt-num {
    width: 28px;
    height: 28px;
    border: 1.5px solid #C0A9F1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #8C54EC;
    flex-shrink: 0;
    transition: all 0.2s;
}

.pretest-portal-set .option-item.active .opt-num {
    background-color: #8C54EC;
    color: #FFFFFF;
    border-color: #8C54EC;
}

.pretest-portal-set .opt-text {
    font-size: 0.9rem;
    color: #1A0D3F;
    font-weight: 500;
    line-height: 1.4;
}

.pretest-portal-set .quiz-nav-buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.pretest-portal-set .btn-nav {
    padding: 11px 30px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.pretest-portal-set .btn-prev {
    background: transparent;
    border: 1.5px solid #C0A9F1;
    color: #8C54EC;
}

.pretest-portal-set .btn-prev:hover {
    background-color: #FFFFFF;
}

.pretest-portal-set .btn-next {
    background-color: #8C54EC;
    color: #FFFFFF;
    border: 1.5px solid #8C54EC;
    background: #8C54EC;
    border-color: #8C54EC;
}

.pretest-portal-set .btn-next:hover {
    background-color: #553C8D;
    border-color: #553C8D;
}

.pretest-portal-set .stats-summary-card h3 {
    font-size: 0.95rem;
    color: #1A0A3A;
    margin: 0 0 18px 0;
    font-weight: 700;
}

.pretest-portal-set .steps-vertical-card h3 {
    font-size: 0.95rem;
    color: #1A0A3A;
    margin: 0 0 18px 0;
    font-weight: 700;
}

.pretest-portal-set .instruction-tips-card h3 {
    font-size: 0.95rem;
    color: #1A0A3A;
    margin: 0 0 18px 0;
    font-weight: 700;
}

.pretest-portal-set .stats-layout-grid {
    display: flex;
    align-items: center;
    gap: 25px;
}

.pretest-portal-set .donut-chart-wrapper {
    position: relative;
    width: 85px;
    height: 85px;
    flex-shrink: 0;
}

.pretest-portal-set .donut-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.pretest-portal-set .donut-chart-wrapper::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 61px;
    height: 61px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.pretest-portal-set .donut-num-txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.95rem;
    font-weight: 800;
    color: #1A0A3A;
    z-index: 2;
}

.pretest-portal-set .stats-text-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pretest-portal-set .stat-row {
    font-size: 0.85rem;
    color: #1A0A3A;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.pretest-portal-set .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.pretest-portal-set .dot.purple {
    background-color: #8C54EC;
}

.pretest-portal-set .dot.gray {
    background-color: #EBE5F7;
}

.pretest-portal-set .dot.pink {
    background-color: #FF87D2;
}

.pretest-portal-set .dot.light-purple {
    background-color: #C0A9F1;
}

.pretest-portal-set .vertical-timeline {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

.pretest-portal-set .vertical-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 1.5px;
    background-color: #EBE5F7;
    z-index: 0;
}

.pretest-portal-set .timeline-item {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.pretest-portal-set .circle-idx {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #F4EFFF;
    color: #8C54EC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    border: 2px solid #FFFFFF;
    flex-shrink: 0;
}

.pretest-portal-set .timeline-item.is-done .circle-idx {
    background-color: #8C54EC;
    color: #FFFFFF;
}

.pretest-portal-set .timeline-item.is-active .circle-idx {
    background-color: #FFFFFF;
    border-color: #8C54EC;
    color: #8C54EC;
}

.pretest-portal-set .item-meta {
    display: flex;
    flex-direction: column;
}

.pretest-portal-set .item-meta strong {
    font-size: 0.85rem;
    color: #1A0A3A;
    font-weight: 700;
}

.pretest-portal-set .item-meta span {
    font-size: 0.75rem;
    color: #777;
    margin-top: 1px;
}

.pretest-portal-set .instruction-tips-card {
    background-color: #F4EFFF;
    border: none;
}

.pretest-portal-set .tips-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pretest-portal-set .tips-list-items li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #553C8D;
    margin-bottom: 10px;
    font-weight: 500;
}

.pretest-portal-set .tips-list-items li:last-child {
    margin-bottom: 0;
}

.pretest-portal-set .tips-list-items i {
    color: #8C54EC;
    font-size: 0.95rem;
}

.journey-set .status-box {
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 20px;
}

.journey-set .course-row {
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 20px;
}

.pretest-portal-set .portal-sub-card {
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 14px;
}

.pretest-portal-set .option-item {
    background: #ffffff;
    border: 1px solid #ded7ef;
    border-radius: 14px;
}

/*--------------------------------------------------
  Member Profile
--------------------------------------------------*/

.member-content .member-profile-box {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.member-content .member-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #EBE5F7;
}

.member-content .member-profile-text .sub-title {
    color: #1F1361;
    font-weight: 700;
    font-size: 0.85rem;
}

.member-content .member-menu-name {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.member-content .member-profile-text .text {
    color: #666;
    font-size: 0.72rem;
}

.member-content .member-menu-toggle {
    width: 34px;
    height: 34px;
    border: 1px solid #DFD6F2;
    border-radius: 10px;
    background: #FAF8FF;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
}

.member-content .member-menu-toggle svg {
    width: 16px;
    height: auto;
}

.member-content .member-menu-toggle svg path {
    fill: #8C54EC;
}

.member-content .member-profile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #FFFFFF;
    border: 1px solid #DFD6F2;
    border-radius: 12px;
    padding: 8px;
    z-index: 20;
}

.member-content .member-profile-menu.open {
    display: block;
}

.member-content .member-profile-menu a {
    display: block;
    padding: 10px 12px;
    color: #1F1361;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
}

.member-content .member-profile-menu a:hover {
    background: #F4EFFF;
    color: #8C54EC;
}

.member-content .member-profile-percent {
    font-size: 1.4rem;
    font-weight: 700;
    color: #8C54EC;
    margin: 8px 0;
}

.member-content .member-profile-fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0;
}

.member-content .member-profile-field {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #FAF8FF;
    font-size: 0.72rem;
}

.member-content .member-profile-field.done .status {
    color: #1E8E4E;
    font-weight: 700;
}

.member-content .member-profile-field.missing .status {
    color: #B84A3A;
    font-weight: 700;
}

.member-content .member-profile-field.optional .status {
    color: #3D5FA8;
}

/*--------------------------------------------------
  Certificate
--------------------------------------------------*/

.cert-content {
    width: 100%;
        min-height: 100vh;
        padding: 24px;
        box-sizing: border-box;
        background: #f7f5fc;
}

.cert-content .cert-header {
    max-width: 1100px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    font-size: 1rem;
    font-weight: 600;
        flex-wrap: wrap;
    color: #8C54EC;
}

.cert-content .cert-logo img {
   width: auto;
        height: 14px;
        display: block;
}
.cert-content  .member-profile-box {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.cert-content  .member-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #EBE5F7;
}

.cert-content  .member-profile-text .sub-title {
    color: #1F1361;
    font-weight: 700;
    font-size: 0.85rem;
}

.cert-content  .member-menu-name {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.cert-content  .member-profile-text .text {
    color: #666;
    font-size: 0.72rem;
}

.cert-content  .member-menu-toggle {
    width: 34px;
    height: 34px;
    border: 1px solid #DFD6F2;
    border-radius: 10px;
    background: #FAF8FF;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
}

.cert-content  .member-menu-toggle svg {
    width: 16px;
    height: auto;
}

.cert-content .member-menu-toggle svg path {
    fill: #8C54EC;
}

.cert-content  .member-profile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #FFFFFF;
    border: 1px solid #DFD6F2;
    border-radius: 12px;
    padding: 8px;
    z-index: 20;
}

.cert-content .member-profile-menu.open {
    display: block;
}

.cert-content  .member-profile-menu a {
    display: block;
    padding: 10px 12px;
    color: #1F1361;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
}

.cert-content  .member-profile-menu a:hover {
    background: #F4EFFF;
    color: #8C54EC;
}
.cert-content .cert-body {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0  10px;
    box-sizing: border-box;
}

.cert-content .cert-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #8C54EC;
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 18px;
}

.cert-content .cert-back-link:hover {
    text-decoration: underline;
}

.cert-content .cert-back-link svg {
    width: 14px;
    transform: rotate(180deg);
}

.cert-content .cert-micro-label {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #9b95b2;
    margin-bottom: 8px;
}

.cert-content .title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1f1737;
    line-height: 1.25;
    margin-bottom: 8px;
}

.cert-content .sub-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f1737;
    margin-bottom: 8px;
}

.cert-content .text {
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 400;
}

.cert-content .cert-page-head {
    margin-bottom: 18px;
}

.cert-content .cert-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.cert-content .cert-status-chip {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #8C54EC;
    border: 1px solid rgba(109, 77, 203, 0.22);
    background: rgba(109, 77, 203, 0.04);
    border-radius: 999px;
    padding: 4px 10px;
}

.cert-content .cert-status-chip.cert-status-issued {
    color: #2e7d52;
    border-color: rgba(46, 125, 82, 0.25);
    background: rgba(46, 125, 82, 0.06);
}

.cert-content .cert-status-chip.cert-status-revoked {
    color: #b23b4b;
    border-color: rgba(178, 59, 75, 0.25);
    background: rgba(178, 59, 75, 0.06);
}

.cert-content .cert-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.cert-content .cert-panel {
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 14px;
}

.cert-content .cert-checklist {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.cert-content .cert-check-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(109, 77, 203, 0.08);
}

.cert-content .cert-check-item:last-child {
    border-bottom: none;
}

.cert-content .cert-check-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-top: 3px;
    border: 2px solid rgba(109, 77, 203, 0.25);
}

.cert-content .cert-check-item.is-done .cert-check-icon {
    background: #8C54EC;
    border-color: #8C54EC;
}

.cert-content .cert-check-item.is-missing .cert-check-icon {
    background: #fff;
}

.cert-content .cert-check-item.is-revoked .cert-check-icon {
    background: #d6455d;
    border-color: #d6455d;
}

.cert-content .cert-check-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: #1f1737;
}

.cert-content .cert-check-detail {
    font-size: 0.8rem;
    margin-top: 2px;
}

.cert-content .cert-check-action {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #8C54EC;
    text-decoration: none;
}

.cert-content .cert-missing-box {
    margin-top: 14px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.04);
    border: 1px dashed rgba(109, 77, 203, 0.2);
}

.cert-content .cert-missing-list {
    margin: 6px 0 0;
    padding-left: 18px;
    font-size: 0.84rem;
    font-weight: 400;
}

.cert-content .cert-side-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.cert-content .cert-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.cert-content .cert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.86rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.cert-content .cert-btn-primary {
    background: #8C54EC;
    color: #fff;
    border-color: #8C54EC;
}

.cert-content .cert-btn-primary:hover {
    background: #5f3fc9;
}

.cert-content .cert-btn-outline {
    background: #fff;
    color: #8C54EC;
    border-color: rgba(109, 77, 203, 0.35);
}

.cert-content .cert-btn-outline:hover {
    background: rgba(109, 77, 203, 0.05);
}

.cert-content .cert-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.cert-content .cert-btn.is-disabled,
.cert-content .cert-btn[aria-disabled="true"] {
    opacity: 0.7;
    pointer-events: none;
    cursor: not-allowed;
}

.cert-content .cert-btn-primary.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
    margin-left: 6px;
}

.cert-content .cert-eligible-preview {
    margin: 14px 0;
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.cert-content .cert-eligible-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(109, 77, 203, 0.08);
    font-size: 0.88rem;
}

.cert-content .cert-eligible-row:last-child {
    border-bottom: none;
}

.cert-content .cert-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.cert-content .cert-meta-item {
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 8px;
    padding: 10px 12px;
    background: rgba(109, 77, 203, 0.03);
}

.cert-content .cert-meta-label {
    font-size: 0.72rem;
    color: #9b95b2;
    margin-bottom: 4px;
}

.cert-content .cert-meta-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f1737;
    word-break: break-word;
}

.cert-content .cert-name-warn {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(214, 69, 93, 0.25);
    background: rgba(214, 69, 93, 0.05);
    color: #9b2c3d;
}

.cert-content .cert-state-revoked {
    border-color: rgba(214, 69, 93, 0.25);
}

.cert-content .cert-preview-wrap {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    margin: 12px auto 16px;
    box-sizing: border-box;
}

.cert-content .cert-preview-frame {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.cert-content .cert-preview-sheet {
    position: relative;
    width: 100%;
    height: auto;
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.25);
    box-sizing: border-box;
    overflow: visible;
}

.cert-content .cert-preview-sheet.has-bg {
    background-color: #fff;
    background-image: none;
}

.cert-content .cert-preview-bg {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 0;
    pointer-events: none;
    vertical-align: top;
}

.cert-content .cert-preview-corner {
    position: absolute;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(109, 77, 203, 0.35);
}

.cert-content .cert-preview-corner-tl {
    top: 18px;
    left: 18px;
    border-right: none;
    border-bottom: none;
}

.cert-content .cert-preview-corner-tr {
    top: 18px;
    right: 18px;
    border-left: none;
    border-bottom: none;
}

.cert-content .cert-preview-corner-bl {
    bottom: 18px;
    left: 18px;
    border-right: none;
    border-top: none;
}

.cert-content .cert-preview-corner-br {
    bottom: 18px;
    right: 18px;
    border-left: none;
    border-top: none;
}

.cert-content .cert-preview-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 72px;
    box-sizing: border-box;
}

.cert-content .cert-preview-logo {
    max-height: 56px;
    margin-bottom: 12px;
}

.cert-content .cert-preview-label {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: #9b95b2;
}

.cert-content .cert-preview-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2b1d4d;
    margin: 8px 0;
}

.cert-content .cert-preview-course {
    font-size: 1rem;
    color: #8C54EC;
    margin-bottom: 8px;
}

.cert-content .cert-preview-text {
    font-size: 0.92rem;
    max-width: 620px;
}

.cert-content .cert-preview-name {
    font-family: "Sarabun", sans-serif;
    font-weight: bold;
    margin: 0;
    padding: 0;
    line-height: 1.15;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    max-width: none;
}

.cert-content .cert-preview-date {
    font-family: "Sarabun", sans-serif;
    font-weight: bold;
    margin: 0;
    padding: 0;
    line-height: 1.15;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    max-width: none;
}

.cert-content .cert-preview-meta {
    font-size: 0.82rem;
}

.cert-content .cert-preview-sign {
    max-height: 48px;
    margin-top: 16px;
}

.cert-content .cert-preview-signer {
    font-size: 0.82rem;
}

.cert-content .cert-preview-verify {
    margin-top: 14px;
}

.cert-content .cert-preview-qr-placeholder {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    border: 1px dashed rgba(109, 77, 203, 0.35);
    padding: 6px 10px;
    border-radius: 6px;
    color: #9b95b2;
}

.cert-content .cert-preview-token {
    font-family: monospace;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin-top: 6px;
    color: #8C54EC;
}

.cert-content .cert-history-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.cert-content .cert-history-item {
    text-align: center;
    border: 1px solid rgba(109, 77, 203, 0.15);
    border-radius: 8px;
    padding: 10px;
    background: rgba(109, 77, 203, 0.03);
}

.cert-content .cert-history-label {
    font-size: 0.72rem;
    color: #9b95b2;
}

.cert-content .cert-history-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #8C54EC;
    margin-top: 4px;
}

.cert-content .cert-email-hint {
    display: block;
    width: 100%;
    font-size: 0.82rem;
    color: #9b95b2;
}

.cert-content .cert-support-panel .text {
    margin-bottom: 6px;
}

/*--------------------------------------------------
  Certificate Verification
--------------------------------------------------*/

.home-content .ui-state {
    text-align: center;
    padding: 28px 22px;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 12px;
    background: #fff;
    margin: 16px 0;
}

.intro-content .ui-state {
    text-align: center;
    padding: 28px 22px;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 12px;
    background: #fff;
    margin: 16px 0;
}

.module-content .ui-state {
    text-align: center;
    padding: 28px 22px;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 12px;
    background: #fff;
    margin: 16px 0;
}

.member-content .ui-state {
    text-align: center;
    padding: 28px 22px;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 12px;
    background: #fff;
    margin: 16px 0;
}

.cert-content .ui-state {
    text-align: center;
    padding: 28px 22px;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 12px;
    background: #fff;
    margin: 16px 0;
}

.verify-content .ui-state {
    text-align: center;
    padding: 28px 22px;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 12px;
    background: #fff;
    margin: 16px 0;
}


.final-content .ui-state {
    text-align: center;
    padding: 28px 22px;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 12px;
    background: #fff;
    margin: 16px 0;
}

.journey-content .ui-state {
    text-align: center;
    padding: 28px 22px;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 12px;
    background: #fff;
    margin: 16px 0;
}

.home-content .ui-state .sub-title {
    color: #8C54EC;
    margin: 0 0 8px 0;
}

.intro-content .ui-state .sub-title {
    color: #8C54EC;
    margin: 0 0 8px 0;
}

.module-content .ui-state .sub-title {
    color: #8C54EC;
    margin: 0 0 8px 0;
}

.member-content .ui-state .sub-title {
    color: #8C54EC;
    margin: 0 0 8px 0;
}

.cert-content .ui-state .sub-title {
    color: #8C54EC;
    margin: 0 0 8px 0;
}

.verify-content .ui-state .sub-title {
    color: #8C54EC;
    margin: 0 0 8px 0;
}

.home-content .ui-state .text {
    margin: 0;
    line-height: 1.55;
}

.intro-content .ui-state .text {
    margin: 0;
    line-height: 1.55;
}

.module-content .ui-state .text {
    margin: 0;
    line-height: 1.55;
}

.member-content .ui-state .text {
    margin: 0;
    line-height: 1.55;
}

.cert-content .ui-state .text {
    margin: 0;
    line-height: 1.55;
}

.verify-content .ui-state .text {
    margin: 0;
    line-height: 1.55;
}

.verify-content .verify-form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.verify-content .verify-form-inline .verify-search-input {
    flex: 1 1 220px;
}

.verify-content {
    width: 100%;
    min-height: calc(100vh - 80px);
    background: radial-gradient(ellipse at 12% 0%, rgba(139, 108, 255, 0.07), transparent 45%),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(109, 77, 203, 0.03) 79px, rgba(109, 77, 203, 0.03) 80px),
        #f7f5fc;
    padding: 0 25px 48px;
    box-sizing: border-box;
}

.verify-content .title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #1f1737;
    line-height: 1.25;
    margin-bottom: 10px;
}

.verify-content .sub-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f1737;
    margin-bottom: 8px;
}

.verify-content .text {
    font-size: 0.9rem;
    line-height: 1.55;
}

.verify-content .verify-hero {
    max-width: 720px;
    margin: 28px auto 22px;
    text-align: center;
}

.verify-content .verify-micro-label {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #9b95b2;
    margin-bottom: 8px;
}

.verify-content .verify-tech-label {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #9b95b2;
    margin-bottom: 8px;
}

.verify-content .verify-card {
    max-width: 640px;
    margin: 0 auto;
}

.verify-content .verify-panel {
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.18);
    border-radius: 12px;
    padding: 24px 26px;
}

.verify-content .verify-form {
    margin-top: 18px;
}

.verify-content .verify-field-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #1f1737;
    margin-bottom: 8px;
}

.verify-content .verify-search-input {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(109, 77, 203, 0.25);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.92rem;
    color: #1f1737;
    box-sizing: border-box;
    margin-bottom: 12px;
    font-family: inherit;
}

.verify-content .verify-search-input:focus {
    outline: none;
    border-color: #8C54EC;
}

.verify-content .verify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
    box-sizing: border-box;
}

.verify-content .verify-btn-primary {
    width: 100%;
    background: #8C54EC;
    color: #fff;
    border-color: #8C54EC;
}

.verify-content .verify-btn-primary:hover {
    background: #5f3fc9;
}

.verify-content .verify-btn-outline {
    background: #fff;
    color: #8C54EC;
    border-color: rgba(109, 77, 203, 0.35);
}

.verify-content .verify-btn-outline:hover {
    background: rgba(109, 77, 203, 0.05);
}

.verify-content .verify-btn.loading {
    opacity: 0.55;
    pointer-events: none;
}

.verify-content .verify-btn.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.verify-content .verify-btn-primary.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sign-spin 0.8s linear infinite;
    margin-left: 6px;
}

.verify-content .verify-hint-box {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(109, 77, 203, 0.1);
}

.verify-content .verify-status-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(109, 77, 203, 0.1);
}

.verify-content .verify-status-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verify-content .verify-status-icon svg {
    width: 22px;
    height: 22px;
}

.verify-content .verify-status-code {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.verify-content .verify-status-valid .verify-status-icon {
    background: rgba(76, 175, 120, 0.12);
    color: #3d9a6a;
    border: 1px solid rgba(76, 175, 120, 0.25);
}

.verify-content .verify-status-valid .verify-status-code {
    color: #3d9a6a;
}

.verify-content .verify-status-revoked .verify-status-icon {
    background: rgba(214, 69, 93, 0.1);
    color: #c43d55;
    border: 1px solid rgba(214, 69, 93, 0.22);
}

.verify-content .verify-status-revoked .verify-status-icon svg {
    width: 20px;
    height: 20px;
}

.verify-content .verify-status-revoked .verify-status-code {
    color: #c43d55;
}

.verify-content .verify-status-invalid .verify-status-icon {
    background: rgba(109, 77, 203, 0.08);
    color: #7a5fd4;
    border: 1px solid rgba(109, 77, 203, 0.2);
}

.verify-content .verify-status-invalid .verify-status-code {
    color: #7a5fd4;
}

.verify-content .verify-detail-list {
    margin: 16px 0 6px;
    padding: 0;
}

.verify-content .verify-detail-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 8px 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(109, 77, 203, 0.08);
}

.verify-content .verify-detail-row dt {
    font-size: 0.78rem;
    font-weight: 600;
    color: #9b95b2;
    margin: 0;
}

.verify-content .verify-detail-row dd {
    font-size: 0.9rem;
    color: #1f1737;
    margin: 0;
    word-break: break-word;
}

.verify-content .verify-cert-no-value {
    font-family: monospace;
    letter-spacing: 0.04em;
}

.verify-content .verify-copy-btn {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #8C54EC;
    background: rgba(109, 77, 203, 0.06);
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-radius: 6px;
    cursor: pointer;
}

.verify-content .verify-copy-btn:hover {
    background: rgba(109, 77, 203, 0.1);
}

.verify-content .verify-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.verify-content .verify-action-row .verify-btn-primary {
    width: auto;
}

.verify-content .verify-contact-box {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px dashed rgba(109, 77, 203, 0.22);
    border-radius: 8px;
    background: rgba(109, 77, 203, 0.03);
}

.verify-content .verify-footer-links {
    max-width: 640px;
    margin: 22px auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    font-size: 0.8rem;
}

.verify-content .verify-footer-links a {
    color: #8C54EC;
    text-decoration: none;
}

.verify-content .verify-footer-links a:hover {
    text-decoration: underline;
}

.verify-content .verify-footer-org {
    color: #9b95b2;
}

.verify-content .verify-preview-popup {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(43, 29, 77, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.verify-content .verify-preview-popup-inner {
    width: 100%;
    max-width: 1000px;
    max-height: 92vh;
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-radius: 12px;
    padding: 16px 18px 20px;
}

.verify-content .verify-preview-popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.verify-content .verify-preview-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(109, 77, 203, 0.2);
    border-radius: 8px;
    background: #fff;
    color: #1f1737;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.verify-content .verify-preview-wrap {
    width: 100%;
    overflow: hidden;
    transform-origin: top left;
}

.verify-content .cert-preview-frame {
    width: 960px;
    transform-origin: top left;
}

.verify-content .cert-preview-sheet {
    position: relative;
    width: 960px;
    aspect-ratio: 297 / 210;
    background: #fff;
    border: 1px solid rgba(109, 77, 203, 0.25);
    background-size: cover;
    background-position: center;
}

.verify-content .cert-preview-sheet.has-bg {
    background-color: #fff;
}

.verify-content .cert-preview-corner {
    position: absolute;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(109, 77, 203, 0.35);
}

.verify-content .cert-preview-corner-tl {
    top: 18px;
    left: 18px;
    border-right: none;
    border-bottom: none;
}

.verify-content .cert-preview-corner-tr {
    top: 18px;
    right: 18px;
    border-left: none;
    border-bottom: none;
}

.verify-content .cert-preview-corner-bl {
    bottom: 18px;
    left: 18px;
    border-right: none;
    border-top: none;
}

.verify-content .cert-preview-corner-br {
    bottom: 18px;
    right: 18px;
    border-left: none;
    border-top: none;
}

.verify-content .cert-preview-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 72px;
    box-sizing: border-box;
}

.verify-content .cert-preview-logo {
    max-height: 56px;
    margin-bottom: 12px;
}

.verify-content .cert-preview-label {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: #9b95b2;
}

.verify-content .cert-preview-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2b1d4d;
    margin: 8px 0;
}

.verify-content .cert-preview-course {
    font-size: 1rem;
    color: #8C54EC;
    margin-bottom: 8px;
}

.verify-content .cert-preview-text {
    font-size: 0.92rem;
    max-width: 620px;
}

.verify-content .cert-preview-name {
    font-size: 2rem;
    font-weight: 800;
    color: #1f1737;
    margin: 14px 0 10px;
    line-height: 1.2;
    word-break: break-word;
}

.verify-content .cert-preview-meta {
    font-size: 0.82rem;
}

.verify-content .cert-preview-sign {
    max-height: 48px;
    margin-top: 16px;
}

.verify-content .cert-preview-signer {
    font-size: 0.82rem;
}

.verify-content .cert-preview-verify {
    margin-top: 14px;
}

.verify-content .cert-preview-qr-placeholder {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    border: 1px dashed rgba(109, 77, 203, 0.35);
    padding: 6px 10px;
    border-radius: 6px;
    color: #9b95b2;
}

.verify-content .cert-preview-token {
    font-family: monospace;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin-top: 6px;
    color: #8C54EC;
}

/*--------------------------------------------------
  Footer
--------------------------------------------------*/

.course-welcome-set .footer-info-bar {
    width: 100%;
    display: flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background-color: #8C54EC;
    position: fixed;
    left: 0;
    bottom: 0;
}

.course-welcome-set .footer-info-bar .info-content {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #FFF;
    font-weight: 400;
}

.public-footer {
    background: #FFF;
    border-top: 1px solid #EDE6FA;
}

.public-footer .public-footer-bar {
    padding: 12px 25px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 400;
    color: #555555;
    background: #FFFFFF;
}

.public-footer .public-footer-note {
    margin-left: 8px;
    color: #9b95b2;
}

/*--------------------------------------------------
  Utility and State Classes
--------------------------------------------------*/

.sign-main-box .head-switch .switch-btn.active {
    background-color: #FFFFFF;
    color: #8C54EC;
    border-radius: 20px 20px 0 0;
}

.sign-main-box .head-switch .switch-btn.active svg g {
    fill: #8C54EC;
}

.sign-main-box .head-switch .switch-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 4px;
    background-color: #8C54EC;
    border-radius: 10px 10px 0 0;
}

.quote-box .quote-icon.open {
    top: 0;
    left: 0;
}

#home-video-popup.home-video-popup.open {
    display: flex;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

#guide-in-popup.guide-in-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

#guide-in-popup.guide-in-popup.open {
    display: flex;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

#guide-in-popup .guide-in-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto;
}

#guide-in-popup .guide-in-dialog {
    position: relative;
    z-index: 1001;
    width: min(780px, calc(100vw - 32px));
    max-height: 85vh;
    max-height: 85dvh;
    background-color: #FFFFFF;
    border: 1px solid #ded7ef;
    border-radius: 16px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
}

#guide-in-popup .guide-in-head {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    padding: 12px 14px 10px;
}

#guide-in-popup .guide-in-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6d4dcb;
    text-decoration: none;
    cursor: pointer;
}

#guide-in-popup .guide-in-close:hover {
    text-decoration: underline;
}

#guide-in-popup .guide-in-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 25px 25px 25px;
    box-sizing: border-box;
}

#guide-in-popup .guide-in-content {
    width: 100%;
    margin: 0;
    padding: 4px 0 8px;
    box-sizing: border-box;
}

#guide-in-popup .guide-in-content .guide-in-set {
    width: 100%;
    max-width: none;
}

/*--------------------------------------------------
  Guide-In (standalone + popup content)
--------------------------------------------------*/

.guide-in-content {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.guide-in-content .guide-in-set {
    width: auto;
    max-width: 760px;
}

.guide-in-content .brand-bar {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.guide-in-content .brand-bar .nhrc svg {
    width: 100px;
    max-width: 100%;
    height: auto;
}

.guide-in-content .brand-bar .moved svg {
    width: 100px;
    max-width: 100%;
    height: auto;
    position: relative;
    top: -10px;
}

.guide-in-content .brand-bar .fair svg {
    width: 130px;
    max-width: 100%;
    height: auto;
}

.guide-in-content .guide-in-super-text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    color: #211934;
    text-align: center;
    margin-bottom: 36px;
}

.guide-in-content .title {
    font-size: 0.8rem;
    font-weight: 400;
    color: #1F1361;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 24px;
}

.guide-in-content .title span {
    padding: 6px 18px;
    background-color: #1F1361;
    color: #FFF;
    border-radius: 16px;
}

.guide-in-content .sub-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: #8C54EC;
    line-height: 1.3;
    margin-bottom: 8px;
}

.guide-in-content .text {
    font-size: 0.7rem;
    color: #444444;
    line-height: 1.55;
    font-weight: 400;
}

.guide-in-content .guide-in-card {
    margin-bottom: 16px;
}

.guide-in-content .guide-in-card > .text {
    max-width: 100%;
    margin-bottom: 6px;
}

.guide-in-content .text.rich-text p {
    margin: 0 0 8px;
}

.guide-in-content .text.rich-text p:last-child {
    margin-bottom: 0;
}

.guide-in-content .text.rich-text ul {
    margin: 6px 0 10px;
    padding-left: 18px;
}

.guide-in-content .text.rich-text li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.guide-in-content .text.rich-text a {
    color: #8C54EC;
    font-weight: 600;
    text-decoration: none;
}

.guide-in-content .text.rich-text a:hover {
    text-decoration: underline;
}

.guide-in-content .guide-in-timeline {
    margin-top: 16px;
    position: relative;
    padding-left: 4px;
}

.guide-in-content .guide-in-timeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 14px;
    bottom: 32px;
    width: 2px;
    background-color: #E0D4F5;
}

.guide-in-content .guide-in-step-item {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    position: relative;
}

.guide-in-content .guide-in-step-item:last-child {
    margin-bottom: 0;
}

.guide-in-content .guide-in-step-marker {
    flex: 0 0 40px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.guide-in-content .guide-in-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #8C54EC;
    color: #fff;
    font-weight: 500;
    font-size: 0.68rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.guide-in-content .guide-in-step-body {
    flex: 1;
    min-width: 0;
    border: 1px solid #EDE6FA;
    border-radius: 14px;
    padding: 8px 12px;
}

.guide-in-content .guide-in-step-body .sub-title {
    font-size: 0.92rem;
    font-weight: 500;
    color: #1F1361;
    margin: 0;
}

.guide-in-content .guide-in-step-body .text {
    font-size: 0.7rem;
    color: #555555;
}

.guide-in-content .guide-in-step-body .text ul {
    margin: 0;
    padding-left: 16px;
}

.guide-in-content .guide-in-step-body .text li {
    margin-bottom: 4px;
}

#guide-in-popup .guide-in-content .guide-in-super-text {
    margin-bottom: 24px;
}

#guide-in-popup .guide-in-content .guide-in-card {
    margin-bottom: 14px;
}

#guide-in-popup .guide-in-content .brand-bar {
    gap: 24px;
}

#guide-in-popup .guide-in-content .brand-bar .nhrc svg,
#guide-in-popup .guide-in-content .brand-bar .moved svg {
    width: 88px;
}

#guide-in-popup .guide-in-content .brand-bar .fair svg {
    width: 112px;
}

.ui-state-action {
    margin-top: 14px;
}

.ui-state.is-error {
    border-color: rgba(180, 60, 60, 0.25);
    background: rgba(180, 60, 60, 0.04);
}

.ui-state.is-warning {
    border-color: rgba(180, 130, 40, 0.25);
    background: rgba(180, 130, 40, 0.04);
}

.ui-state.is-unavailable {
    border-color: rgba(109, 77, 203, 0.3);
    background: rgba(109, 77, 203, 0.04);
}

.public-header .header-user-box.open .header-user-drop {
    display: block;
}

.course-admin-banner {
    display: inline-block;
    padding: 5px 15px;
    background-color: #000000;
    position: absolute;
    right: 10px;
    border-radius: 18px;
}

.course-admin-banner .text {
    color: #FFFFFF;
    margin: 0;
}

.course-admin-banner.course-content-missing-summary {
    position: relative;
    padding: 0 0 0 40px;
    background-color: transparent;
    color: #000000;
}

.course-admin-banner.course-content-missing-summary .text {
    color: #DC0000;
}

.course-admin-banner.course-content-missing {
    position: relative;
    background-color: transparent;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-admin-banner.course-content-missing .text {
    color: #B0A400;
    font-size: 0.6rem;
}

/*--------------------------------------------------
  Course opening stage (เนื้อหาเปิดตัว)
--------------------------------------------------*/

.intro-content .intro-stage .course-opening-stage {
    
}

.module-content .module-stage .course-opening-stage {
    max-width: none;
    margin: 0;
    padding: 0 0 24px;
}

.final-content .final-stage .course-opening-stage {
    max-width: none;
    margin: 0;
    padding: 0 0 24px;
}


.intro-content .course-opening-body img {
    max-width: 100%;
    height: auto;
}

.module-content .course-opening-body img {
    max-width: 100%;
    height: auto;
}

.final-content .course-opening-body img {
    max-width: 100%;
    height: auto;
}

.intro-content .course-opening-body iframe {
    max-width: 100%;
}

.module-content .course-opening-body iframe {
    max-width: 100%;
}

.final-content .course-opening-body iframe {
    max-width: 100%;
}

.intro-content .course-opening-actions {
    display: flex;
    justify-content: flex-end;
}

.module-content .course-opening-actions {
    display: flex;
    justify-content: flex-end;
}

.final-content .course-opening-actions {
    display: flex;
    justify-content: flex-end;
}

.intro-content .course-opening-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 28px;
    border-radius: 999px;
    border: 1px solid #8C54EC;
    background: #8C54EC;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.module-content .course-opening-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 28px;
    border-radius: 999px;
    border: 1px solid #8C54EC;
    background: #8C54EC;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.final-content .course-opening-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 28px;
    border-radius: 999px;
    border: 1px solid #8C54EC;
    background: #8C54EC;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}


.intro-content .course-opening-next:hover {
    background: #5a3eb0;
    border-color: #5a3eb0;
    color: #ffffff;
}

.module-content .course-opening-next:hover {
    background: #5a3eb0;
    border-color: #5a3eb0;
    color: #ffffff;
}

.final-content .course-opening-next:hover {
    background: #5a3eb0;
    border-color: #5a3eb0;
    color: #ffffff;
}

/*--------------------------------------------------
  Animations
--------------------------------------------------*/

@keyframes msg-fade-in {
    from { opacity: 0;
    transform: translateY(-6px);
    }
    to { opacity: 1;
    transform: translateY(0);
    }
}

@keyframes about-spin {
    0% { transform: rotate(0deg);
    }
    100% { transform: rotate(360deg);
    }
}

@keyframes guide-spin {
    0% { transform: rotate(0deg);
    }
    100% { transform: rotate(360deg);
    }
}

@keyframes home-spin {
    0% { transform: rotate(0deg);
    }
    100% { transform: rotate(360deg);
    }
}

@keyframes sign-spin {
    0% { transform: rotate(0deg);
    }
    100% { transform: rotate(360deg);
    }
}

/*--------------------------------------------------
  Public Theme Unification
--------------------------------------------------*/

.course-maintenance-page {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.course-maintenance-card {
    background: #ffffff;
    border: 1px solid #e5e0ef;
    border-radius: 16px;
    max-width: 720px;
    padding: 28px 24px;
    width: 100%;
}

.course-maintenance-card .title {
    color: #201a35;
    font-size: 1.2rem;
    margin-bottom: 16px;
    text-align: center;
}

.course-maintenance-body {
    color: #403756;
    font-size: 0.95rem;
    line-height: 1.7;
}
    
.sign-in-box.reset-pass {
    border-radius: 20px;
 }
    
    
    
}
