/*
 * 會員中心（page-member-dashboard.php）與個人檔案。外觀與原網站的 Thrive 登入表單、會員首頁相同。
 */

/* ---------- 區段 ---------- */
.ic-member {
	position: relative;
	margin: 20px 0;
	padding: 1px;
}

.ic-member__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.ic-member__in {
	position: relative;
	z-index: 1;
	min-height: 150px;
}

.ic-member-spacer {
	position: relative;
	padding: 1px;
}

.ic-member-spacer__in {
	position: relative;
	z-index: 1;
	min-height: 150px;
}

/* ---------- 登入／註冊白框 ---------- */
.ic-auth {
	box-sizing: border-box;
	min-width: 540px;
	max-width: 540px;
	margin: 0 auto;
	padding: 28px 40px 22px; /* 2026-11-28：登入、註冊都要在一個螢幕內（原本 40px）。 */
	background-color: var(--ic-white);
	box-shadow: rgba(0, 0, 0, 0.06) 0 0 25px 7px;
	font-family: Rubik, sans-serif;
	font-size: 14px;
	line-height: normal;
	color: rgb(80, 86, 95);
}

.ic-auth__state[hidden] {
	display: none;
}

.ic-auth__state,
.ic-auth__form,
.ic-auth__fields {
	box-sizing: content-box;
}

.ic-auth__title {
	box-sizing: content-box;
	margin: 0 0 10px;
	padding: 1px;
}

.ic-auth__title h2,
.ic-auth__heading h2 {
	margin: 0;
	padding: 0 0 10px;
	font-family: var(--ic-font-heading);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4em;
	text-align: center;
	color: rgb(79, 79, 79);
}

.ic-auth__title span,
.ic-auth__heading span {
	color: var(--ic-gold-main);
}

.ic-auth__item {
	position: relative;
	box-sizing: content-box;
	text-align: left;
}

.ic-auth__input {
	position: relative;
	box-sizing: content-box;
}

.ic-auth__icon {
	position: absolute;
	top: 23px;
	left: 0;
	z-index: 2;
	box-sizing: content-box;
	width: 24px;
	height: 24px;
	font-size: 24px;
	line-height: 0;
	text-align: center;
	color: rgb(80, 86, 95);
	transform: translate(15px, -12px);
}

.ic-auth__icon svg {
	display: inline-block;
	width: 24px;
	height: 24px;
	vertical-align: middle;
	fill: currentColor;
}

.ic-auth__input input {
	display: inline-block;
	box-sizing: border-box;
	width: 100%;
	margin: 4px 0 10px;
	padding: 6px 12px 4px 54px;
	overflow: clip;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 0;
	outline: none;
	background-color: var(--ic-white);
	background-clip: padding-box;
	font: inherit;
	font-size: 18px;
	line-height: 26px;
	color: rgba(10, 10, 10, 0.6);
	box-shadow: none;
}

.ic-auth__input input::placeholder {
	color: inherit;
	opacity: 0.7;
}

/* 記住我 */
.ic-auth__item--remember {
	display: flex;
	align-items: center;
}

.ic-auth__check {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	box-sizing: content-box;
	margin: 10px 0;
}

.ic-auth__check-grid {
	display: flex;
	flex-wrap: wrap;
	box-sizing: content-box;
	margin-left: -25px;
}

.ic-auth__check-wrap {
	position: relative;
	flex: 0 0 100%;
	max-width: calc(100% - 25px);
	margin-left: 25px;
}

.ic-auth__check-wrap input {
	display: none;
}

.ic-auth__check-wrap label {
	position: relative;
	z-index: 9;
	display: flex;
	align-items: center;
	min-height: 20px;
	margin: 0;
	font-family: Mulish, sans-serif;
	font-weight: 300;
	cursor: pointer;
}

.ic-auth__checkmark {
	position: relative;
	flex: 0 0 auto;
	box-sizing: content-box;
	width: 10px;
	height: 10px;
	margin: 0 10px 0 0;
	padding: 1px;
	border: 1px solid rgb(175, 175, 175);
	border-radius: 4px;
	background-color: var(--ic-white);
}

.ic-auth__checkmark svg {
	display: none;
	width: 100%;
	height: 100%;
	fill: var(--ic-gold-main);
}

.ic-auth__check-wrap input:checked + label .ic-auth__checkmark svg {
	display: block;
}

.ic-auth__check-text {
	z-index: 10;
	min-width: 10px;
	font-size: 16px;
	line-height: 1em;
	color: rgba(79, 79, 79, 0.5);
}

/* 送出按鈕：放大 1.1 倍（原網站的進場動畫結束後的樣子） */
.ic-auth__submit {
	position: relative;
	display: table;
	box-sizing: content-box;
	width: 60%;
	max-width: 60%;
	margin: 14px auto;
	transform: scale(1.1);
}

.ic-auth__submit button {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 6px 40px 6px 6px;
	overflow: hidden;
	border: 0;
	border-radius: 100px;
	background-color: var(--ic-gold-main);
	font: inherit;
	font-size: 18px;
	line-height: 1.2em;
	letter-spacing: 1px;
	text-align: center;
	color: var(--ic-white);
	cursor: pointer;
}

.ic-auth__submit-icon {
	position: relative;
	line-height: 0;
}

.ic-auth__submit-icon-in {
	display: block;
	box-sizing: content-box;
	width: 18px;
	height: 18px;
	padding: 13px;
	overflow: hidden;
	border-radius: 100px;
	box-shadow: rgba(0, 0, 0, 0.12) 0 0 14px 0;
}

.ic-auth__submit-icon-in svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: var(--ic-white);
}

.ic-auth__submit-texts {
	position: relative;
	flex: 1 1 0%;
	padding-left: 15px;
}

.ic-auth__submit-text {
	display: block;
	font-size: 20px;
	font-weight: 300;
}

/* 切換連結 */
.ic-auth__links {
	box-sizing: content-box;
	margin: 4px 0 0;
	padding: 6px 1px 1px;
}

.ic-auth__switch {
	margin: 0;
	padding: 0 0 10px;
	font-family: Mulish, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5em;
	text-align: center;
	color: rgba(79, 79, 79, 0.5);
}

.ic-auth__switch a {
	font-weight: 400;
	text-decoration: underline;
	color: rgba(67, 67, 67, 0.8);
}

.ic-auth__muted {
	color: rgba(64, 61, 61, 0.9);
}

/* 忘記密碼／已寄出：外框裡的標題（靠左）、說明、欄位 */
.ic-auth__box {
	position: relative;
	min-height: 10px;
}

.ic-auth__box-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background-clip: padding-box;
}

.ic-auth__box-cb {
	position: relative;
	z-index: 1;
	display: flow-root;
	min-height: 10px;
}

.ic-auth__heading {
	margin: 0 0 20px;
	padding: 1px;
}

.ic-auth__heading h2 {
	text-align: left;
}

.ic-auth__info {
	margin: 0 0 40px;
	padding: 1px;
}

.ic-auth__info p {
	margin: 0;
	padding: 0 0 24px;
	font-family: Mulish, sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.5em;
	text-align: left;
	color: rgba(79, 79, 79, 0.7);
}

/* 忘記密碼、註冊的按鈕是不透明的金色（與原網站相同） */
.ic-auth__submit--forgot button,
.ic-auth__submit--register button {
	background-color: rgb(204, 150, 0);
}

.ic-auth__submit--register .ic-auth__submit-text {
	font-weight: 400;
}

/* 註冊 */
.ic-auth__register .ic-auth__item {
	z-index: 1;
}

.ic-auth__captcha {
	position: relative;
	z-index: 3;
	display: table;
	box-sizing: content-box;
	margin: 10px auto;
}

.ic-auth__strength {
	position: absolute;
	top: 23px;
	left: 325px;
	right: 20px;
	box-sizing: content-box;
	transform: translateY(-9.5px);
}

.ic-auth__strength div {
	float: left;
	box-sizing: content-box;
	width: 28.28px;
	height: 13px;
	margin: 3px 0;
	background-color: rgb(232, 232, 232);
}

.ic-auth__links--register .ic-auth__switch {
	font-family: var(--ic-font-body);
	font-weight: 400;
}

/* 錯誤訊息：欄位下方的紅色小字（與原網站相同） */
.ic-auth__error {
	position: relative;
	display: inline-block;
	box-sizing: content-box;
	font-size: 13px;
	color: rgb(217, 43, 43);
}

/* 表單訊息：放在標題正下方，用框框起來，前面一個圖示（錯誤＝驚嘆號三角形，成功＝打勾）。 */
.ic-auth__message {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid rgba(46, 125, 50, 0.35);
	border-radius: 8px;
	background-color: rgba(46, 125, 50, 0.07);
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
	color: rgb(46, 125, 50);
}

.ic-auth__message::before {
	content: "";
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.6-4.1-4.1 1.4-1.4 2.7 2.7 6-6 1.4 1.4-7.4 7.4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.6-4.1-4.1 1.4-1.4 2.7 2.7 6-6 1.4 1.4-7.4 7.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ic-auth__message.is-error {
	border-color: rgba(217, 43, 43, 0.4);
	background-color: rgba(217, 43, 43, 0.06);
	color: rgb(200, 35, 35);
}

.ic-auth__message.is-error::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2zm1 15h-2v-2h2v2zm0-4h-2V9h2v4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2zm1 15h-2v-2h2v2zm0-4h-2V9h2v4z'/%3E%3C/svg%3E");
}

.ic-auth__form.is-busy .ic-auth__submit button {
	opacity: 0.7;
	cursor: wait;
}

.ic-auth__error:empty,
.ic-auth__message:empty {
	display: none;
}

@media (max-width: 1023px) {
	.ic-auth__title h2,
	.ic-auth__heading h2,
	.ic-auth__switch {
		padding-bottom: 22px;
	}
}

@media (max-width: 767px) {
	.ic-auth {
		min-width: 100%;
		padding: 22px 20px 16px;
	}

	.ic-auth__title h2,
	.ic-auth__heading h2 {
		padding-bottom: 8px;
		font-size: 22px;
	}

	/* 左邊留位置給圖示（圖示在 15～39px），不然圖示會壓到輸入的文字。 */
	.ic-auth__input input {
		margin: 4px 0 8px;
		padding: 6px 8px 4px 50px;
		font-size: 17px;
	}

	.ic-auth__check {
		margin-bottom: 14px;
	}

	.ic-auth__check-wrap label {
		min-height: 0;
		margin-bottom: 4px;
	}

	/* 欄位高 37px（上方 4px 間距），圖示垂直置中。 */
	.ic-auth__icon {
		top: 23px;
	}

	.ic-auth__switch {
		padding-bottom: 10px;
		font-size: 13px;
	}
}

/* ---------- 會員首頁（已登入） ---------- */
.ic-member--dash {
	z-index: 15;
	margin: 0;
}

.ic-dash {
	position: relative;
	z-index: 15;
	max-width: 1080px;
	min-height: 150px;
	margin: 0 auto;
	/* 原網站是 rgba(250, 187, 0, 0.12) 疊在白底上；直接用疊好的顏色，畫出來才會跟原網站同一個色碼 */
	background-color: rgb(254, 246, 224);
}

.ic-dash__row,
.ic-dash__user-row,
.ic-dash__cards-row,
.ic-mc__row {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

.ic-dash__side {
	flex: 1 1 auto;
	box-sizing: border-box;
	max-width: 25%;
}

.ic-dash__side-in {
	position: relative;
	z-index: 15;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	padding: 40px;
	border-right: 1px solid rgb(150, 159, 166);
	background-color: var(--ic-white);
}

/* 大頭貼與歡迎詞 */
.ic-dash__user {
	position: relative;
	min-height: 10px;
	padding: 10px 20px;
}

.ic-dash__user-bg,
.ic-dash__menu-box-bg,
.ic-dash__help-bg,
.ic-dash__panel-bg,
.ic-mc__info-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background-clip: padding-box;
}

.ic-dash__user-bg {
	box-sizing: border-box;
	border: 1px solid rgb(188, 188, 188);
	border-radius: 6px;
	background-color: rgb(251, 247, 239);
}

.ic-dash__user-cb,
.ic-dash__menu-box-cb,
.ic-dash__help-cb,
.ic-dash__panel-cb,
.ic-mc__info-cb {
	position: relative;
	z-index: 1;
	display: flow-root;
	min-height: 10px;
}

.ic-dash__user-row,
.ic-dash__cards-row,
.ic-mc__row {
	margin-left: -15px;
}

.ic-dash__user-col,
.ic-dash__cards-col,
.ic-mc__col {
	flex: 1 1 auto;
	box-sizing: border-box;
	padding-left: 15px;
}

.ic-dash__user-col--avatar {
	max-width: 38%;
}

.ic-dash__user-col--name {
	max-width: 61.9975%;
}

.ic-dash__user-col-in,
.ic-dash__cards-col-in,
.ic-mc__col-in {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ic-dash__user-col--name .ic-dash__user-col-in {
	justify-content: center;
}

.ic-dash__avatar {
	position: relative;
	width: 60px;
	max-width: 100%;
	overflow: hidden;
	border-radius: 45px;
}

.ic-dash__avatar-frame {
	position: relative;
	display: block;
	max-width: 100%;
	overflow: hidden;
}

.ic-dash__avatar img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.ic-dash__welcome,
.ic-dash__name,
.ic-dash__menu-title,
.ic-dash__heading {
	padding: 1px;
}

.ic-dash__welcome p {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.75;
	color: rgb(194, 180, 149);
}

.ic-dash__name p,
.ic-dash__menu-title p {
	margin: 0;
	padding: 0;
	line-height: 1.75;
}

.ic-dash__name strong,
.ic-dash__menu-title strong {
	font-weight: 800;
}

/* 選單 */
.ic-dash__menu-box {
	position: relative;
	z-index: 15;
	min-height: 10px;
	margin: 20px 0;
}

.ic-dash__menu-box-cb {
	z-index: 15;
}

.ic-dash__help {
	position: relative;
	z-index: 14;
	min-height: 10px;
	margin: 20px 0;
	padding: 20px 0;
}

.ic-dash__help-cb {
	z-index: 14;
}

.ic-dash__menu {
	position: relative;
	z-index: 15;
	max-width: 600px;
	margin: 10px 0 20px;
}

.ic-dash__menu--plain {
	z-index: 14;
}

.ic-dash__menu ul {
	position: relative;
	z-index: 13;
	display: inline-block;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ic-dash__menu-item {
	margin: 4px 0;
	padding: 12px 16px;
	border-radius: 4px;
	box-shadow: rgba(0, 0, 0, 0.08) 0 1px 8px 0;
	font-size: 16px;
	line-height: 1.75;
	color: rgba(10, 10, 10, 0.85);
}

.ic-dash__menu-item a {
	position: relative;
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	font-family: Poppins, sans-serif;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	color: rgb(34, 34, 34);
}

.ic-dash__menu-item a[href] {
	cursor: pointer;
}

.ic-dash__menu-item.is-active a {
	font-weight: 500;
	color: rgb(145, 105, 4);
}

.ic-dash__menu-icon {
	position: relative;
	display: flex;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	margin: 0 8px 0 0;
	background: no-repeat 50% 50% / cover;
}

.ic-dash__menu-text {
	flex: 1 1 auto;
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
}

/* 右欄 */
.ic-dash__main {
	flex: 1 1 auto;
	box-sizing: border-box;
	max-width: 75.0003%;
}

.ic-dash__main-in {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ic-dash__panel {
	position: relative;
	min-height: 10px;
	margin: 0 20px;
	padding: 10px 20px;
}

.ic-dash__panel-bg {
	background-color: var(--ic-white);
}

.ic-dash__cards-col {
	max-width: 50%;
}

.ic-dash__html {
	margin: 20px 0;
	padding: 1px;
}

.ic-dash__heading h2 {
	margin: 0;
	padding: 0;
	font-family: var(--ic-font-heading);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ic-dark);
}

.ic-dash__notice {
	padding: 1px;
	background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)) no-repeat 50% 50%;
}

.ic-dash__notice p {
	margin: 0;
	padding: 0 0 24px;
	line-height: 1.75;
}

/* 我的課程 */
.ic-mc {
	margin: 10px 0;
}

.ic-mc__row {
	padding: 15px 0;
}

.ic-mc__col {
	max-width: 100%;
}

.ic-mc__list {
	display: flex;
	flex-wrap: wrap;
	margin: 20px 0;
}

.ic-mc__item {
	position: relative;
	box-sizing: border-box;
	width: calc(33.3333% - 20px);
	min-height: 20px;
	padding: 1px;
	overflow: hidden;
	border-radius: 12px;
	background-color: rgb(248, 248, 248);
	cursor: pointer;
}

.ic-mc__item:not(:nth-child(3n)) {
	margin-right: 30px;
}

.ic-mc__item:nth-child(n+4) {
	margin-top: 30px;
}

.ic-mc__cover-link {
	display: block;
	text-decoration: none;
}

.ic-mc__cover {
	position: relative;
	min-height: 10px;
	margin: 0 0 20px;
	padding: 10px 15px;
}

.ic-mc__cover-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: 5px;
	background: no-repeat 50% 50% / cover;
	background-clip: padding-box;
}

.ic-mc__cover-cb {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 165px;
}

.ic-mc__label {
	margin: 20px 0;
	padding: 1px;
}

.ic-mc__label-tx {
	padding: 1px;
}

.ic-mc__label p {
	margin: 0;
	padding: 0;
	font-weight: 800;
	line-height: 1.75;
	color: var(--ic-white);
}

.ic-mc__info {
	position: relative;
	min-height: 10px;
	padding: 10px 15px;
}

.ic-mc__name {
	margin: 0 0 20px;
	padding: 1px;
}

.ic-mc__name h3 {
	margin: 0;
	padding: 0;
	font-family: var(--ic-font-heading);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ic-dark);
}

.ic-mc__name a {
	font-weight: 400;
	text-decoration: none;
	color: var(--ic-gold-main);
	box-shadow: rgba(0, 0, 0, 0) 0 -1.9px 0 0 inset;
}

.ic-mc__progress {
	margin: 5px 0;
	padding: 1px;
}

.ic-mc__progress-in {
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	justify-content: space-between;
}

.ic-mc__bar {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 13px;
	margin: 20px 0;
}

.ic-mc__bar-bg,
.ic-mc__bar-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 13px;
	border-radius: 100px;
}

.ic-mc__bar-bg {
	z-index: 11;
	width: 100%;
	background-color: rgb(240, 242, 251);
}

.ic-mc__bar-fill {
	z-index: 13;
	width: 20%;
	background-color: var(--ic-gold-main);
}

.ic-mc__progress-label div {
	font-family: Hind, sans-serif;
	font-size: 11px;
	line-height: 1.5;
	letter-spacing: 7px;
	text-transform: uppercase;
	color: rgb(88, 88, 88);
}

.ic-mc__empty {
	color: rgb(66, 66, 66);
}

/*
 * 自製外掛（icoach-member-dashboard）的最新消息卡、活動卡：與原網站訪客實際看到的相同——
 * 字級 15px／標題 26px（原網站的 Thrive 頁面沒有輸出外掛「會員專區 → 設定」裡的字級 13／22px），
 * 標題用網站的標題字型。（待確認：是否改用設定裡的字級。）
 */
.ic-dash .icmd {
	--icmd-fs: 15px;
	--icmd-fs-heading: 26px;
}

.ic-dash .icmd h2,
.ic-dash .icmd h3 {
	font-family: var(--ic-font-heading);
}

/* 外掛內文：原網站套用 Thrive 的段落、連結、粗體樣式 */
.ic-dash .icmd p {
	padding-bottom: 24px;
	line-height: 1.75;
	color: rgb(106, 107, 108);
}

.ic-dash .icmd p a {
	color: rgb(0, 143, 255);
}

.ic-dash .icmd strong {
	font-weight: 800;
}

/* 原網站這頁沒有載入 Muli 600，外掛裡 600 的字實際以 700 顯示 */
.ic-dash .icmd:not(#icmd-a):not(#icmd-b) .icmd-btn,
.ic-dash .icmd:not(#icmd-a):not(#icmd-b) .icmd-poll-question,
.ic-dash .icmd:not(#icmd-a):not(#icmd-b) .icmd-feedback-prompt,
.ic-dash .icmd:not(#icmd-a):not(#icmd-b) .icmd-table th,
.ic-dash .icmd:not(#icmd-a):not(#icmd-b) .icmd-status-cell.is-confirmed,
.ic-dash .icmd:not(#icmd-a):not(#icmd-b) .icmd-status-cell.is-waitlist {
	font-weight: 700;
}

/* 會員選單的漢堡按鈕：桌機不顯示 */
.ic-dash__toggle {
	display: none;
}

/* 平板與手機：兩個選單收合成漢堡按鈕，點了往下展開（與原網站相同） */
@media (max-width: 1023px) {
	.ic-dash__toggle {
		display: block;
		position: relative;
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		line-height: 0;
		color: rgb(17, 17, 17);
		cursor: pointer;
	}

	.ic-dash__toggle-ic {
		display: block;
		box-sizing: content-box;
		width: 33px;
		margin: 0 auto;
		padding: 9.9px;
		line-height: 0;
	}

	.ic-dash__toggle .ic-icon {
		display: inline-block;
		width: 33px;
		height: 33px;
		vertical-align: middle;
		fill: currentColor;
	}

	.ic-dash__toggle-close,
	.ic-dash__menu.is-open .ic-dash__toggle-open {
		display: none !important;
	}

	.ic-dash__menu.is-open .ic-dash__toggle-close {
		display: block !important;
	}

	.ic-dash__menu ul {
		display: none;
	}

	.ic-dash__menu.is-open ul {
		display: flex;
		position: absolute;
		top: 100%;
		left: 0;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: auto;
		overflow: hidden auto;
		background-color: var(--ic-white);
	}

	.ic-dash__menu.is-open .ic-dash__menu-item {
		box-sizing: border-box;
		width: 100%;
		padding: 10px 15px;
		background-color: var(--ic-white);
		text-align: center;
	}

	.ic-dash__menu.is-open .ic-dash__menu-item a {
		padding: 10px 28px;
		font-size: 14px;
	}
}

/* 我的課程：平板一張卡片佔一半、手機佔滿；間距仍沿用桌機三欄的規則（與原網站相同） */
@media (max-width: 1023px) {
	.ic-mc__item {
		width: calc(50% - 15px);
	}
}

@media (max-width: 767px) {
	.ic-mc__item {
		width: 100%;
	}

	.ic-mc__cover {
		padding: 10px 10px 10px 15px;
	}

	.ic-mc__bar {
		min-height: 8px;
	}

	.ic-mc__bar-bg,
	.ic-mc__bar-fill {
		height: 8px;
	}
}

/* 手機：左右兩欄、大頭貼與歡迎詞、消息與活動卡片都改成上下排 */
@media (max-width: 767px) {
	.ic-dash__row,
	.ic-dash__user-row,
	.ic-dash__cards-row {
		flex-wrap: wrap;
	}

	.ic-dash__side,
	.ic-dash__main,
	.ic-dash__user-col--avatar,
	.ic-dash__user-col--name,
	.ic-dash__cards-col {
		flex: 1 0 390px;
		max-width: 100%;
	}
}

/* ---------- 分頁（活動、消息、我的課程）：右欄沒有白底，上下留 20px、四周內距 20px ---------- */
.ic-dash__panel--tab {
	margin: 20px 0;
	padding: 20px;
}

.ic-dash__panel--tab .ic-dash__panel-bg {
	background-color: transparent;
}

/* ---------- 「我的課程」分頁的課程卡片 ---------- */
.ic-mct__title {
	padding: 1px;
}

.ic-mct__title p {
	margin: 0;
	padding: 0 0 24px;
	font-size: 28px;
	line-height: 1.75;
	color: rgb(59, 59, 59);
}

.ic-mct__list {
	display: flex;
	flex-wrap: wrap;
	margin: 5px 0 20px;
	/* 原網站是 rgba(251, 247, 239, 0.9) 疊在淡黃底上；直接用畫出來的顏色 */
	background-color: rgb(250, 246, 237);
}

.ic-mct__item {
	position: relative;
	box-sizing: border-box;
	width: calc((100% - 30px) / 3);
	min-height: 20px;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0);
	background-color: var(--ic-white);
	cursor: pointer;
}

.ic-mct__item[hidden] {
	display: none;
}

.ic-mct__item:not(:nth-child(3n)) {
	margin-right: 15px;
}

.ic-mct__item:nth-child(n+4) {
	margin-top: 25px;
}

.ic-mct__cover {
	position: relative;
	min-height: 10px;
	margin: 0 0 15px;
	padding: 20px;
}

.ic-mct__cover-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: 20px;
	background: no-repeat 50% 50% / cover;
	background-clip: padding-box;
}

.ic-mct__cover-cb {
	position: relative;
	z-index: 1;
	min-height: 135px;
}

.ic-mct__name {
	margin: 0 0 15px;
	padding: 1px;
}

.ic-mct__name h4 {
	margin: 0;
	padding: 0;
	font-family: var(--ic-font-heading);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
	color: rgb(51, 51, 51);
}

.ic-mct__name a {
	font-weight: 400;
	text-decoration: none;
	color: rgba(204, 150, 0, 0.76);
}

.ic-mct__progress {
	display: flex;
	align-items: center;
	margin: 5px 0 25px;
	padding: 0 1px;
}

.ic-mct__line {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-height: 5px;
	margin: 20px 0;
	border-radius: 100px;
	box-shadow: rgba(0, 0, 0, 0.25) 0 8px 12px 0 inset;
}

.ic-mct__line-bg,
.ic-mct__line-fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	border-radius: 100px;
}

.ic-mct__line-bg {
	z-index: 11;
	right: 0;
	background-color: rgb(213, 213, 213);
	background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5) 6px, rgb(213, 213, 213) 6px, rgb(213, 213, 213) 12px);
	background-size: 1000% 100%;
	box-shadow: rgba(0, 0, 0, 0.25) 0 0 11px -5px inset;
}

.ic-mct__line-fill {
	z-index: 13;
	background-color: rgba(204, 150, 0, 0.76);
	box-shadow: rgba(0, 0, 0, 0.22) 0 0 5px 0 inset;
}

/* 卡片底部：類型圖示、單元數、按鈕（貼齊卡片底部） */
.ic-mct__foot {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	box-sizing: border-box;
	padding: 10px 10px 0;
}

.ic-mct__foot-cols {
	border-top: 1px solid rgb(232, 232, 232);
}

.ic-mct__foot-row {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin-left: -5px;
}

.ic-mct__foot-col {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	padding-left: 5px;
}

.ic-mct__foot-col--icon {
	max-width: 30px;
}

.ic-mct__foot-col--lessons {
	max-width: 43.3%;
}

.ic-mct__foot-col--btn {
	max-width: 42.9495%;
}

.ic-mct__type {
	display: flex;
	float: left;
	padding: 1px;
	font-size: 17px;
	line-height: 1.5;
}

.ic-mct__type svg {
	width: 17px;
	height: 17px;
	vertical-align: middle;
	fill: rgb(33, 166, 224);
	stroke: rgb(33, 166, 224);
	stroke-width: 0;
}

.ic-mct__type .st1 {
	fill: none;
	stroke-width: 0.5;
	stroke-linecap: round;
	stroke-miterlimit: 10;
}

.ic-mct__foot-col--lessons .ic-mct__foot-in {
	padding: 1px;
}

.ic-mct__foot-col--lessons p {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 1.1;
	text-align: left;
	text-transform: uppercase;
	color: rgb(153, 153, 153);
}

.ic-mct__foot-col--btn .ic-mct__foot-in {
	display: flow-root;
}

.ic-mct__btn {
	position: relative;
	display: inline-flex;
	float: right;
	align-items: center;
	max-width: 100%;
	padding: 10px;
	overflow: hidden;
	border: 1px solid rgb(112, 82, 0);
	border-radius: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 13.2px;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none;
	color: var(--ic-white);
}

.ic-mct__btn span {
	position: relative;
	z-index: 1;
	flex: 1 1 0%;
	letter-spacing: normal;
	text-transform: capitalize;
	color: rgba(204, 150, 0, 0.76);
}

/* 載入更多（原網站 Apprentice 課程列表的按鈕樣式） */
.ic-mct__more {
	margin: 0 auto 30px;
	padding: 6px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	text-align: center;
}

.ic-mct__more button {
	display: inline-flex;
	align-items: center;
	margin: 1px;
	padding: 12px 18px;
	border: 1px solid rgb(215, 215, 215);
	border-radius: 5px;
	background-color: var(--ic-white);
	font: inherit;
	font-weight: 500;
	line-height: 1.2;
	color: rgb(10, 10, 10);
	cursor: pointer;
}

/* 沒有課程：列表底色裡置中一行字 */
.ic-mct__list {
	min-height: 20px;
}

.ic-mct__empty {
	width: 100%;
	margin: 0;
	padding: 0;
	line-height: 1.5;
	text-align: center;
}

/* 「設定 & 協助」裡作用中的項目（原網站的預設作用中顏色） */
.ic-dash__menu--plain .ic-dash__menu-item.is-active a {
	font-weight: 400;
	color: rgb(55, 179, 233);
}

/* 「我的課程」分頁與外掛段落：平板、手機（卡片間距沿用桌機三欄的規則，與原網站相同） */
@media (max-width: 1023px) {
	.ic-mct__item {
		width: calc((100% - 15px) / 2);
	}

	.ic-mct__title p,
	.ic-dash__notice p,
	.ic-dash .icmd p {
		padding-bottom: 22px;
	}
}

@media (max-width: 767px) {
	.ic-mct__item {
		width: 100%;
	}

	.ic-mct__title p,
	.ic-dash__notice p,
	.ic-dash .icmd p {
		padding-bottom: 20px;
	}
}

/* ---------- 我的個人檔案（/myprofile/） ---------- */
.ic-profile {
	position: relative;
	padding: 1px;
}

.ic-profile__in {
	position: relative;
	z-index: 1;
	max-width: 1080px;
	min-height: 150px;
	margin: 0 auto;
}

.ic-profile__title {
	margin: 0 0 20px;
	padding: 1px;
}

.ic-profile__title h2 {
	margin: 0;
	padding: 24px 0;
	font-family: var(--ic-font-heading);
	font-size: 34px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: rgb(12, 17, 21);
}

.ic-profile__denied {
	padding: 0 20px 40px;
	text-align: center;
}

.ic-profile__box {
	position: relative;
	padding: 0 20px 20px;
}

.ic-profile__row {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin-left: -15px;
}

.ic-profile__col {
	flex: 1 1 auto;
	box-sizing: border-box;
	padding-left: 15px;
}

.ic-profile__col--side {
	max-width: 300px;
}

.ic-profile__col--main {
	max-width: 71.564%;
}

.ic-profile__col-in {
	position: relative;
	display: flex;
	flex-direction: column;
}

.ic-profile__note {
	padding: 1px;
}

.ic-profile__note p {
	margin: 0;
	padding: 0;
	line-height: 1.75;
}

.ic-profile__note strong {
	font-weight: 800;
}

.ic-profile__sample {
	position: relative;
	width: 100px;
	max-width: 100%;
	margin: 0 0 20px;
}

.ic-profile__sample img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* 上傳大頭貼（外掛的表單） */
.ic-profile__avatar {
	width: 250px;
	max-width: 100%;
	margin: 20px 0;
	padding: 1px;
	box-sizing: border-box;
}

.ic-profile__avatar img {
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.ic-profile__avatar p {
	margin: 0;
	padding: 0 0 24px;
	line-height: 1.75;
}

.ic-profile__avatar input[type="submit"] {
	display: inline-block;
	margin: 0;
	padding: 10px 20px;
	border: 1px solid rgb(230, 230, 230);
	border-radius: 0;
	background-color: rgb(230, 230, 230);
	font: inherit;
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	color: rgba(0, 0, 0, 0.8);
	cursor: pointer;
}

.ic-profile__panel {
	position: relative;
	padding: 20px;
}

/* 個人資料表單（金色底） */
.ic-up {
	max-width: 100%;
	margin: 20px 0 30px;
	padding: 10px 20px;
	overflow: hidden;
	border-radius: 20px;
	/* 原網站是 rgba(204, 150, 0, 0.5) 疊在白底上；直接用畫出來的顏色 */
	background-color: rgb(229, 202, 128);
}

.ic-up__container {
	position: relative;
}

.ic-up__form {
	margin: 0;
}

.ic-up__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 0;
}

.ic-up__label {
	margin: 0 5px;
	padding: 1px;
	overflow: hidden;
}

.ic-up__label span {
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 800;
	line-height: 24px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(17, 17, 17, 0.8);
}

.ic-up__input {
	position: relative;
	display: flex;
	flex: 1 1 0%;
	min-width: 75%;
	max-width: 75%;
	margin: 5px 0;
}

.ic-up__input input,
.ic-up__input textarea {
	flex: 1 1 0%;
	box-sizing: border-box;
	width: auto;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 15px;
	border: 0;
	border-radius: 3px;
	background-color: var(--ic-white);
	box-shadow: rgba(0, 0, 0, 0.02) 0 2px 2px 1px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 16.8px;
	color: rgba(17, 17, 17, 0.5);
}

.ic-up__input textarea {
	box-sizing: content-box;
	height: 33.6px;
	resize: vertical;
}

.ic-up__input input.is-invalid,
.ic-up__input textarea.is-invalid,
.ic-up__select.is-invalid {
	box-shadow: inset 0 0 4px #a94442;
}

/* 顯示名稱：外觀照原網站的下拉框，實際用原生下拉選單 */
.ic-up__select {
	position: relative;
	display: flex;
	justify-content: flex-end;
	box-sizing: border-box;
	min-width: 75%;
	max-width: 75%;
	margin: 5px 0;
	padding: 15px;
	border: 1px solid var(--ic-white);
	background-color: var(--ic-white);
	box-shadow: rgba(9, 24, 45, 0.02) 0 2px 2px 1px;
	color: rgb(37, 37, 37);
	cursor: pointer;
}

.ic-up__select select {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 37px 0 15px;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 16.8px;
	color: rgba(17, 17, 17, 0.25);
	appearance: none;
	cursor: pointer;
}

.ic-up__select select option {
	color: rgba(0, 0, 0, 0.7);
}

.ic-up__select-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 16.8px;
	margin-left: 8px;
	pointer-events: none;
}

.ic-up__select-arrow svg {
	width: 14px;
	height: 14px;
	fill: rgb(37, 37, 37);
}

/* 密碼強度（四格，輸入時依強度變色） */
.ic-up__strength {
	position: absolute;
	top: 50%;
	right: 20px;
	width: 25%;
	overflow: hidden;
	border-radius: 20%;
	transform: translateY(-50%);
	pointer-events: none;
}

.ic-up__strength i {
	float: left;
	width: 24.6%;
	height: 13px;
	margin: 3px 0;
	background-color: #e8e8e8;
}

.ic-up__submit {
	position: relative;
	z-index: 1;
	display: table;
	min-width: 120px;
	max-width: 100%;
	margin: 20px auto;
}

.ic-up__submit button {
	display: inline-flex;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 14px 18px;
	border: 0;
	border-radius: 0;
	background-color: rgba(204, 150, 0, 0.76);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 16.8px;
	letter-spacing: 2px;
	text-align: center;
	color: var(--ic-white);
	cursor: pointer;
}

.ic-up__submit button span {
	position: relative;
	flex: 1 1 0%;
}

.ic-up__form.is-busy button {
	opacity: 0.6;
	cursor: wait;
}

/* 錯誤訊息框（原網站的紅色提示框） */
.ic-up__errors {
	position: relative;
	box-sizing: border-box;
	margin: 10px 0 5px;
	padding: 4px 30px 4px 10px;
	border: 1px solid #ebccd1;
	border-radius: 1px;
	background-color: #f2dede;
	color: #a94442;
}

.ic-up__errors[hidden] {
	display: none;
}

.ic-up__errors div {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.ic-up__errors-close {
	position: absolute;
	top: 50%;
	right: 10px;
	width: 12px;
	height: 12px;
	margin: -6px 0 0;
	padding: 0;
	border: 0;
	background: none;
	line-height: 0;
	color: #a94442;
	cursor: pointer;
}

.ic-up__errors-close svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

/* 成功／失敗通知（與聯絡表單相同的樣式） */
.ic-profile-toast {
	position: fixed;
	top: 50px;
	left: 50%;
	z-index: 9999993;
	width: 60%;
	max-width: 500px;
	color: #000;
}

.ic-profile-toast__msg {
	position: relative;
	left: -50%;
	background: #fff;
	box-shadow: 0 0 15px #a7a7a7;
}

.ic-profile-toast__icon {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 100%;
	background: green;
}

.ic-profile-toast.is-error .ic-profile-toast__icon {
	background: #a94442;
}

.ic-profile-toast__icon svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}

.ic-profile-toast__text {
	padding: 20px 10px 20px 70px;
	font-family: Roboto, sans-serif;
	font-size: 16px;
	line-height: 24px;
}

@media (max-width: 1023px) {
	.ic-profile__title h2 {
		padding: 24px 0 22px;
		font-size: 28px;
		line-height: 39.2px;
	}

	.ic-profile__avatar p {
		padding-bottom: 22px;
	}

	/* 原網站在平板、手機只有全名、暱稱、Email、自我介紹改成標題在上；顯示名稱與密碼仍是左右排 */
	.ic-up__item--stack {
		flex-direction: column;
	}

	.ic-up__item--stack .ic-up__label {
		margin: 5px 0;
	}
}

@media (max-width: 767px) {
	.ic-profile__title h2 {
		padding: 24px 0 20px;
		font-size: 24px;
		line-height: 33.6px;
	}

	.ic-profile__avatar p {
		padding-bottom: 20px;
	}

	.ic-profile__row {
		flex-wrap: wrap;
	}

	.ic-profile__col--side,
	.ic-profile__col--main {
		flex: 1 0 390px;
		max-width: 100%;
	}

	.ic-up {
		padding: 15px;
	}

	.ic-up__submit {
		margin: 20px auto 10px;
	}
}

.ic-profile__avatar input[type="file"] {
	font: inherit;
	line-height: normal;
}

.ic-up__input input::placeholder,
.ic-up__input textarea::placeholder {
	color: inherit;
	opacity: 0.4;
}

/* ── 登入視窗（inc/auth-modal.php；2026-11-28）：電腦、平板置中，手機滿版。 ── */
html.ic-authm-open {
	overflow: hidden;
}

.ic-authm {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: auto;
	overscroll-behavior: contain;
}

.ic-authm::backdrop {
	background: rgba(20, 16, 10, 0.55);
}

.ic-authm__wrap {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	padding: 32px 16px;
}

.ic-authm__panel {
	position: relative;
	max-width: 100%;
	animation: ic-authm-in 0.2s ease-out;
}

.ic-authm .ic-auth {
	border-radius: 10px;
	box-shadow: rgba(0, 0, 0, 0.25) 0 18px 50px;
}

.ic-authm__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.05);
	color: rgb(80, 86, 95);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.ic-authm__close:hover,
.ic-authm__close:focus-visible {
	background: rgba(0, 0, 0, 0.1);
}

@keyframes ic-authm-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 767px) {
	.ic-authm__wrap {
		align-items: stretch;
		padding: 0;
	}

	.ic-authm__panel {
		width: 100%;
	}

	.ic-authm .ic-auth {
		min-width: 0;
		width: 100%;
		min-height: 100%;
		max-width: none;
		min-height: 100vh;
		min-height: 100dvh;
		padding-top: 56px;
		border-radius: 0;
		box-shadow: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ic-authm__panel {
		animation: none;
	}
}

/* ── 註冊：電腦、平板上兩個欄位一列（姓名｜暱稱、Email 一整列、密碼｜確認密碼），整個表單在一個螢幕內（2026-11-28；電話欄位已拿掉）。 ── */
@media (min-width: 768px) {
	.ic-auth__register .ic-auth__fields {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 18px;
	}

	.ic-auth__register .ic-auth__fields > * {
		grid-column: 1 / -1;
		order: 9;
	}

	.ic-auth__register .ic-auth__title,
	.ic-auth__register .ic-auth__message {
		order: 0;
	}

	.ic-auth__register .ic-auth__item--name { grid-column: 1; order: 1; }
	.ic-auth__register .ic-auth__item--nickname { grid-column: 2; order: 2; }
	.ic-auth__register .ic-auth__item--email { grid-column: 1 / -1; order: 3; }
	.ic-auth__register .ic-auth__item--password { grid-column: 1; order: 5; }
	.ic-auth__register .ic-auth__item--confirm_password { grid-column: 2; order: 6; }

	/* 半寬欄位：圖示與文字的左邊距縮小。 */
	.ic-auth__register .ic-auth__input input {
		padding-left: 44px;
		font-size: 17px;
	}

	.ic-auth__register .ic-auth__icon {
		transform: translate(10px, -12px);
	}
}

/* 密碼旁邊的灰色方塊是舊網站留下的裝飾（不會變化），註冊表單不顯示。 */
.ic-auth__register .ic-auth__strength {
	display: none;
}


/* ── 登入、忘記密碼：白框窄一點、按鈕小一點（2026-11-28）；註冊需要兩欄，維持 540px。 ── */
@media (min-width: 768px) {
	.ic-auth:not(:has(.ic-auth__state[data-state="register"].is-active)) {
		min-width: 0;
		width: 430px;
		max-width: 430px;
	}
}

.ic-auth__state:not([data-state="register"]) .ic-auth__submit {
	width: 54%;
	max-width: 54%;
	margin: 12px auto;
	transform: none;
}

.ic-auth__state:not([data-state="register"]) .ic-auth__submit-icon-in {
	padding: 10px;
}

.ic-auth__state:not([data-state="register"]) .ic-auth__submit-text {
	font-size: 18px;
}
