:root {
	--page-title-display: block;
}
.elementor-widget.elementor-list-item-link-full_width a {
	color: var(--e-global-color-text);
}
.elementor-widget.elementor-list-item-link-full_width a:hover {
	color: var(--e-global-color-secondary);
}
h1.entry-title {
	padding: 3rem 0;
    text-align: center;
    font-size: 3rem;
}
.elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img,
.elementor-posts .elementor-post__card .elementor-post__thumbnail img {
    height: auto;
    left: calc(50% + 1px);
    position: absolute;
    top: calc(50% + 1px);
    transform: scale(1.01) translate(-50%, -50%);
}

.elementor-1806 .elementor-element.elementor-element-a743bff button.elementskit-menu-hamburger > .ekit-menu-icon {
    fill: #fff;
}

/* 汉堡菜单内底部：Sign up / Dashboard（与桌面 header 按钮逻辑一致） */
@media (min-width: 1025px) {
	.header-mobile-nav-cta {
		display: none !important;
	}
}

@media (max-width: 1024px) {
	#ekit-megamenu-main-menu.elementskit-menu-container {
		display: flex;
		flex-direction: column;
		height: 100%;
		max-height: 100vh;
	}
	#ekit-megamenu-main-menu .elementskit-nav-identity-panel {
		order: -1;
		flex: 0 0 auto;
	}
	#ekit-megamenu-main-menu > .elementskit-navbar-nav {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
	}
	#ekit-megamenu-main-menu .header-mobile-nav-cta {
		flex: 0 0 auto;
		margin-top: auto;
		padding: 1.25rem 1rem 1.75rem;
		border-top: 1px solid rgba(0, 0, 0, 0.08);
		text-align: center;
	}
	#ekit-megamenu-main-menu .header-mobile-nav-cta .elementor-button {
		display: inline-flex;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		justify-content: center;
	}
}

/* 消息提示框 */
.sub-message-box {
    margin-top: 10px;
    padding: 0;
    font-size: 13px;
    transition: all 0.3s ease;
    height: 0;
    overflow: hidden;
    opacity: 0;
    text-align: left;
}

.sub-message-box.is-success {
    color: #28a745;
    height: auto;
    opacity: 1;
    padding: 5px 0;
}

.sub-message-box.is-error {
    color: #dc3545;
    height: auto;
    opacity: 1;
    padding: 5px 0;
}

/* 按钮加载动画 */
.sub-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: sub-spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes sub-spin {
    to { transform: rotate(360deg); }
}

/* 按钮禁用状态 */
form.is-processing button {
    cursor: not-allowed;
    filter: grayscale(0.5);
}


/* 状态提示容器 - 使用 BEM 命名避免冲突 */
.custom-form-status {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: none; /* 默认隐藏 */
    line-height: 1.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 成功状态 - 使用修饰符 */
.custom-form-status--success {
    display: block;
    background-color: #f0fff4; /* 浅绿背景 */
    color: #276749;           /* 深绿文字 */
    border: 1px solid #c6f6d5;
}

/* 错误状态 - 使用修饰符 */
.custom-form-status--error {
    display: block;
    background-color: #fff5f5; /* 浅红背景 */
    color: #c53030;           /* 深红文字 */
    border: 1px solid #fed7d7;
}

/* 旋转加载动画容器 */
.custom-form-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: currentColor; /* 自动适配文字颜色 */
    animation: custom-form-spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

/* 动画关键帧命名也需要唯一 */
@keyframes custom-form-spin {
    to { transform: rotate(360deg); }
}

/* 提交中的表单状态锁定 */
.custom-form-processing {
    pointer-events: none; /* 防止二次点击 */
}

.custom-form-processing .elementor-button {
    filter: grayscale(0.5);
    opacity: 0.8;
}

.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: white;
	border: 2px solid #6366f1;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
	transition: all 0.3s ease;
	z-index: 999;
}

.scroll-to-top:hover {
	background: #6366f1;
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.scroll-to-top:hover svg {
	stroke: white;
}

.scroll-to-top.show {
	display: flex;
}

.scroll-to-top svg {
	width: 24px;
	height: 24px;
	stroke: #6366f1;
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: stroke 0.3s ease;
}

.elementor-1806 .elementor-element.elementor-element-52beb72 img {
    max-width: 180px!important;
}

.elementor-2818 .elementor-element .elementor-flip-box {
	height: 30vh!important;
}

.elementor-2818 .elementor-element .elementor-flip-box__layer__description ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.elementor-2818 .elementor-element .elementor-flip-box__layer__description li {
	display: flex;
	align-items: flex-start;
	gap: 5px;
	padding: 5px;
}

.elementor-2818 .elementor-element .elementor-flip-box__layer__description .elementor-icon-list-icon {
	margin-right: 5px;
	margin-top: 5px;
}


@media(max-width: 767px) {
	.page-content {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

.header-signin-link {
    margin-right: 16px;
    color: var(--e-global-color-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.header-signin-link:hover {
    color: var(--e-global-color-primary);
}

.header-signin-link-mobile {
    padding: 1.5rem 0;
    display: block;
    text-transform: uppercase !important;
    margin: 0;
}

.signin-page-content,
.signup-page-content {
    max-width: 520px;
    margin: 40px auto 80px;
}

.signin-card,
.signup-card {
    background: #fff;
    border: 1px solid #e7e7ef;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
}

.signin-title {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.signin-subtitle {
    margin: 0 0 22px;
    color: #5f6270;
    font-size: 15px;
    line-height: 1.6;
}

.signin-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 22px;
    border-bottom: 1px solid #e7e7ef;
}

.signin-tab {
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #7d8191;
    padding: 10px 0;
    margin-right: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
}

.signin-tab.is-active {
    border-bottom-color: var(--e-global-color-secondary);
    color: #1d212f;
}

.signin-tab:last-child {
    margin-right: 0;
}

.signin-form-wrap {
    display: none;
}

.signin-form-wrap.is-active {
    display: block;
}

.signin-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.signin-form label {
    font-size: 14px;
    font-weight: 600;
}

.signin-form input {
    border: 1px solid #d8d8e2;
    border-radius: 8px;
    min-height: 44px;
    padding: 0 12px;
}

.signin-form .elementor-button {
    margin-top: 10px;
    justify-content: center;
}

/* Unified primary action color on Sign In / Sign Up / Dashboard */
.signin-form button[type="submit"],
.signin-form .elementor-button,
.signup-page-template button[type="submit"],
.signup-page-template input[type="submit"],
.signup-page-template .elementor-button,
.dashboard-page-template .adyen-action-btn {
    background: var(--e-global-color-secondary) !important;
    border-color: var(--e-global-color-secondary) !important;
}

.signin-form button[type="submit"]:hover,
.signin-form .elementor-button:hover,
.signup-page-template button[type="submit"]:hover,
.signup-page-template input[type="submit"]:hover,
.signup-page-template .elementor-button:hover,
.dashboard-page-template .adyen-action-btn:hover {
    background: var(--e-global-color-secondary) !important;
    border-color: var(--e-global-color-secondary) !important;
    filter: brightness(0.95);
}

.signin-message {
    margin-top: 14px;
    font-size: 14px;
    display: none;
}

.signin-message.is-success {
    display: block;
    color: #0c7a43;
}

.signin-message.is-error {
    display: block;
    color: #c53030;
}

.dashboard-page-content {
    max-width: 960px;
    margin: 30px auto 80px;
}

.dashboard-logout-wrap {
    margin-top: 20px;
    text-align: right;
}

.dashboard-logout-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--e-global-color-primary);
}
