/* ===== 代理商申请页 ===== */
.ag-section {
	background: url(merchant-bg.png) center center / cover no-repeat;
	min-height: 620px;
	display: flex;
	align-items: center;
	padding: 56px 0;
}

.ag-container {
	display: flex;
	align-items: flex-start;
	gap: 60px;
}

/* ---- 左侧文案区 ---- */
.ag-left {
	flex: 1;
	color: #fff;
	padding-top: 20px;
}
.ag-slogan-title {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 8px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.ag-slogan-sub {
	font-size: 16px;
	opacity: 0.85;
	margin: 0 0 36px;
	letter-spacing: 2px;
}
.ag-benefits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.ag-benefits li {
	display: flex;
	align-items: center;
	gap: 16px;
}
.ag-ben-icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}
.ag-ben-icon svg {
	width: 40px;
	height: 40px;
}
.ag-benefits li div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ag-benefits li strong {
	font-size: 15px;
	font-weight: 600;
}
.ag-benefits li span {
	font-size: 13px;
	opacity: 0.8;
}

/* ---- 右侧申请卡片 ---- */
.ag-card {
	width: 440px;
	flex-shrink: 0;
	background: #fff;
	border-radius: 16px;
	padding: 32px 30px 36px;
	box-shadow: 0 10px 40px rgba(60,90,160,0.18);
}
.ag-card-title {
	font-size: 20px;
	font-weight: 600;
	color: #1668ff;
	text-align: center;
	margin: 0 0 20px;
}

/* 错误提示 */
.ag-err {
	background: #fff3f3;
	border: 1px solid #ffb3b3;
	color: #e53935;
	border-radius: 6px;
	padding: 8px 12px;
	font-size: 13px;
	margin-bottom: 14px;
}

/* 表单 */
.ag-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ag-field {
	display: flex;
	align-items: center;
	height: 44px;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 0 12px;
	gap: 8px;
	background: #fff;
	transition: border-color 0.2s;
}
.ag-field:focus-within {
	border-color: #1668ff;
}
.ag-field-flex {
	flex: 1;
}
.ag-icon {
	color: #b5b5b5;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.ag-field input {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	font-size: 13px;
	color: #333;
	min-width: 0;
}
.ag-field input::placeholder { color: #b5b5b5; }

/* 两列行 */
.ag-row2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

/* 文本域 */
.ag-textarea-wrap {
	height: auto;
	align-items: flex-start;
	padding: 10px 12px;
}
.ag-textarea-wrap textarea {
	width: 100%;
	border: none;
	outline: none;
	resize: none;
	font-size: 13px;
	color: #333;
	background: transparent;
	line-height: 1.6;
}
.ag-textarea-wrap textarea::placeholder { color: #b5b5b5; }

/* 验证码行 */
.ag-row-captcha {
	display: flex;
	align-items: center;
	gap: 10px;
}
.ag-captcha-box {
	width: 116px;
	height: 44px;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f9f9f9;
}
.ag-captcha-img {
	width: 112px;
	height: 32px;
	display: block;
}

/* 同意条款 */
.ag-agree {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #666;
	cursor: pointer;
}
.ag-checkbox {
	width: 15px;
	height: 15px;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background 0.2s, border-color 0.2s;
}
.ag-checkbox.checked {
	background: #1668ff;
	border-color: #1668ff;
	color: #fff;
}
.ag-agree-link { color: #1668ff; text-decoration: none; }

/* 提交按钮 */
.ag-submit-btn {
	width: 100%;
	height: 46px;
	background: #1668ff;
	color: #fff !important;
	font-size: 15px;
	font-weight: 500;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s;
	margin-top: 4px;
}
.ag-submit-btn:hover { background: #1257e0; }

/* 底部提示 */
.ag-login-tip {
	text-align: center;
	font-size: 12px;
	color: #999;
	margin-top: 2px;
}
.ag-login-tip a { color: #1668ff; text-decoration: none; }

/* 提交成功 */
.ag-success {
	text-align: center;
	padding: 20px 0 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.ag-success h3 { font-size: 17px; color: #333; margin: 0; }
.ag-success p { font-size: 13px; color: #888; margin: 0; }
.ag-back-btn {
	display: inline-block;
	margin-top: 8px;
	padding: 10px 28px;
	background: #1668ff;
	color: #fff !important;
	border-radius: 8px;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.2s;
}
.ag-back-btn:hover { background: #1257e0; }

/* select 字段样式 */
.ag-field-select { padding-right: 0; }
.ag-field select {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	font-size: 14px;
	color: #333;
	height: 100%;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	padding-right: 24px;
}
.ag-field select:invalid, .ag-field select option[value=''] { color: #b5b5b5; }
.ag-field-select::after {
	content: '';
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 0; height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #aaa;
	pointer-events: none;
}
.ag-field-select { position: relative; }
