/* =====================================================
   预约弹窗样式、预约成功弹窗样式
   ===================================================== */
.reservation-modal,
.reservation-success-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 1000;
	align-items: center;
	justify-content: center;
}

.reservation-modal.active,
.reservation-success-modal.active {
	display: flex;
}

.reservation-modal .modal-overlay,
.reservation-success-modal .modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
}

.reservation-modal .modal-content {
	position: relative;
	width: 8.38rem;
    height: 6.84rem;
	background: url('https://media.zlongame.com/media/pictures/cn/ef/pc/img/yy/yy_bg.png') no-repeat center center;
	background-size: 100% auto;
	z-index: 1001;
}

/* 关闭按钮 */
.reservation-modal .modal-close,
.reservation-success-modal .modal-close {
	position: absolute;
	top: 0.2rem;
	right: -0.5rem;
	width: 0.34rem;
	height: 0.34rem;
	background: url('https://media.zlongame.com/media/pictures/cn/ef/pc/img/yy/close.png') no-repeat center center;
	background-size: contain;
	cursor: pointer;
	z-index: 1002;
	transition: transform 0.3s ease;
}

.modal-close:hover {
	transform: rotate(90deg);
}

.reservation-modal .modal-title,
.reservation-success-modal .modal-title {
    color: #232323;
    font-size: 0.42rem;
    font-weight: bold;
    margin: 0.3rem 0 0 0.5rem;
}
/* Tab切换区域 */
.reservation-modal .modal-tabs {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: .15rem 0.98rem 0;
	position: relative;
}

.reservation-modal .modal-tabs::after {
	content: '';
	position: absolute;
	left: 0.98rem;
	right: 0.98rem;
	bottom: 0;
	height: 2px;
	background-color: #5b5b5b;
}

.reservation-modal .tab-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	gap: 0.1rem;
	padding: 0.15rem 0;
	font-size: 0.28rem;
	color: #6a6a6a;
	cursor: pointer;
	transition: all 0.3s ease;
	border-bottom: 5px solid transparent;
	font-weight: 500;
}

.reservation-modal .tab-item.active {
    color: #232323;
	border-bottom-color: #b3f100;
	font-weight: bold;
	z-index: 1;
}

.reservation-modal .tab-item.active::before {
	content: '▶';
	margin-right: 0.08rem;
	font-size: 0.14rem;
	color: #b3f100;
	flex-shrink: 0;
}

.reservation-modal .tab-item.active::after {
	content: '◀';
	margin-left: 0.08rem;
	font-size: 0.14rem;
	color: #b3f100;
	flex-shrink: 0;
}

.reservation-modal .tuijian-icon {
	display: inline-block;
	width: 0.58rem;
	height: 0.24rem;
    margin-top: 0.08rem;
	background-color: #b3f100;
    color: #232323;
    font-size: 0.16rem;
    text-align: center;
    line-height: 0.24rem;
    border-radius: 0.24rem;
	vertical-align: middle;
}

/* 内容区域 */
.reservation-modal .tab-content {
	display: none;
}

.reservation-modal .tab-content.active {
	display: block;
}

/* 微信扫码预约内容 */
.reservation-modal .code-section {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.4rem;
	padding: 1.2rem 0.98rem 0 1.15rem;
}
.reservation-modal .qr-code-area {
	width: 1.85rem;
	height: 1.89rem;
    border: 2px solid #b7f600;
    border-bottom: 0.1rem solid #b7f600;
    background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.reservation-modal .qr-code {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.reservation-modal .code-text {
	text-align: left;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.reservation-modal .code-title {
	font-size: 0.26rem;
	font-weight: bold;
	color: #232323;
}

.reservation-modal .code-desc {
	font-size: 0.26rem;
	font-weight: bold;
	color: #232323;
}

.reservation-modal .phone-link {
    margin-top: 0.45rem;
	font-size: 0.2rem;
	color: #4599d4;
	text-decoration: underline;
	cursor: pointer;
	align-self: flex-start;
}
/* 手机号预约表单 */
.reservation-modal .reserve-form {
	padding: 0.1rem 0.98rem 0;
}

.reservation-modal .form-group {
	margin-bottom: 0.1rem;
}

.reservation-modal .form-label {
	display: block;
    font-size: 0.24rem;
    font-weight: bold;
    color: #232323;
    margin-bottom: 0.12rem;
}

.reservation-modal .form-input {
	width: 100%;
	height: 0.5rem;
	padding: 0 0.2rem;
	border: 1px solid #6a6a6a;
	font-size: 0.2rem;
	outline: none;
    background: none;
	transition: border-color 0.3s ease;
	box-sizing: border-box;
	color: #6a6a6a;
    display: block;
}

.reservation-modal .form-input::placeholder {
	color: #6a6a6a;
}

.reservation-modal .verify-group {
	position: relative;
}

.reservation-modal .btn-verify {
    width: 1.77rem;
	height: 0.5rem;
	background: url('https://media.zlongame.com/media/pictures/cn/ef/pc/img/yy/yy_code.png') no-repeat;
    background-size: 100% auto;
	cursor: pointer;
	position: absolute;
    top: 0;
    right: 0;
    font-size: 0.2rem;
    font-weight: bold;
    line-height: 0.5rem;
    text-align: center;
}
.reservation-modal .btn-verify .icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 0.28rem;
	height: 0.27rem;
	background: url('https://media.zlongame.com/media/pictures/cn/ef/pc/img/icon_bai1.png') no-repeat center center;
	background-size: contain;
    vertical-align: middle;
    margin-top: -2px;
}
.reservation-modal .btn-verify:hover {
	background-color: #9acd32;
}

.reservation-modal .btn-verify:disabled,
.reservation-modal .btn-verify.disabled {
	background-color: #ccc;
	cursor: not-allowed;
	pointer-events: none;  /* 禁止点击 */
	opacity: 0.6;
}
.reservation-modal .agreement-group {
	margin: 0.2rem 0;
}

.reservation-modal .checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.1rem;
	cursor: pointer;
	font-size: 0.2rem;
	color: #666;
	line-height: 1.4;
}

.reservation-modal .agreement-checkbox {
	display: none;
}

.reservation-modal .checkbox-custom {
	width: 0.26rem;
	height: 0.26rem;
	min-width: 0.26rem;
	background: url('https://media.zlongame.com/media/pictures/cn/ef/pc/img/yy/check.png') no-repeat center center;
	background-size: contain;
	position: relative;
	flex-shrink: 0;
	margin-top: 0.02rem;
}

.reservation-modal .checkbox-custom::after {
	content: none;
}

.reservation-modal .agreement-checkbox:checked + .checkbox-custom {
	background-image: url('https://media.zlongame.com/media/pictures/cn/ef/pc/img/yy/checked.png');
}

.reservation-modal .agreement-text {
	flex: 1;
}

.reservation-modal .agreement-link {
	color: #4599d4;
	text-decoration: none;
}

.reservation-modal .agreement-link:hover {
	text-decoration: underline;
}

.reservation-modal .btn-submit {
	width: 2.81rem;
	height: 0.76rem;
	background: url('https://media.zlongame.com/media/pictures/cn/ef/pc/img/yy/yy_submit.png') no-repeat center center;
	background-size: contain;
	border: none;
	cursor: pointer;
	display: block;
	margin: 0 auto;
}

.reservation-modal .btn-submit:hover {
	background-image: url('https://media.zlongame.com/media/pictures/cn/ef/pc/img/yy/yy_submit_hover.png');
}

.reservation-modal .switch-link {
	text-align: center;
	margin-top: 0.25rem;
}

.reservation-modal .link-wechat {
	color: #4599d4;
	font-size: 0.18rem;
	text-decoration: underline;
	cursor: pointer;
    display: block;
}

/* 底部参与测试按钮 */
.reservation-modal .participate-btn,
.reservation-success-modal .participate-btn {
	position: absolute;
    right: 0;
    bottom: 0;
	width: 8.14rem;
	height: 0.76rem;
	background-image: url('https://media.zlongame.com/media/pictures/cn/ef/pc/img/yy/canyuzm.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}

.reservation-modal .participate-btn:hover {
	background-image: url('https://media.zlongame.com/media/pictures/cn/ef/pc/img/yy/canyuzm_hover.png');
}

.reservation-success-modal .modal-content {
	position: relative;
	width: 8.38rem;
    height: 6.84rem;
	background: url('https://media.zlongame.com/media/pictures/cn/ef/pc/img/yy/yy_success_bg.png') no-repeat center center;
	background-size: 100% auto;
	z-index: 1001;
}

.reservation-success-modal .tab-content {
    width: 6.6rem;
    height: 2rem;
    background: rgb(106, 106, 106, 0.2);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.reservation-success-modal .tuijian-guanzhu {
    width: 1.1rem;
    height: 0.24rem;
    font-size: 0.16rem;
    color: #232323;
    background: #b7f600;
    text-align: center;
    line-height: 0.24rem;
    border-radius: 0.24rem;
    position: absolute;
    top: -0.1rem;
    left: -0.3rem;
}

/* 微信扫码预约内容 */
.reservation-success-modal .code-section {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem;
}
.reservation-success-modal .qr-code-area {
	width: 1.25rem;
	height: 1.29rem;
    border: 2px solid #b7f600;
    border-bottom: 0.1rem solid #b7f600;
    background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.reservation-success-modal .qr-code {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.reservation-success-modal .code-text {
	text-align: left;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.reservation-success-modal .code-title,
.reservation-success-modal .code-desc {
	font-size: 0.26rem;
	color: #232323;
}

/* Toast 显示期间，锁定预约弹窗内全部点击 */
.reservation-modal.tip-lock {
  pointer-events: none;
}