/* WPDM 资料搜索 */

.wpdmfs {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	font-size: 15px;
	line-height: 1.7;
	color: #1f2733;
}

.wpdmfs *,
.wpdmfs *::before,
.wpdmfs *::after {
	box-sizing: border-box;
}

/* ========== 搜索框 ========== */

.wpdmfs__form {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	margin: 0 0 18px;
	border: 1px solid #e3e8ef;
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
	transition: border-color .2s, box-shadow .2s;
}

.wpdmfs__form:focus-within {
	border-color: #1db1cd;
	box-shadow: 0 0 0 3px rgba(29, 177, 205, .12);
}

.wpdmfs__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	padding: 0 20px;
	border: 0;
	background: none;
	color: #1f2733;
	font: inherit;
	font-size: 14px;
	outline: 0;
	-webkit-appearance: none;
}

.wpdmfs__input::placeholder {
	color: #a7b1c2;
}

.wpdmfs__submit {
	flex: 0 0 auto;
	margin: 4px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: #1db1cd;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background .2s;
}

.wpdmfs__submit:hover {
	background: #189ab3;
}

/* 搜索框独立成一行，下方接两栏布局 */
.wpdmfs--top {
	margin: 0 auto 20px;
}

.wpdmfs--top .wpdmfs__form {
	margin-bottom: 0;
}

/* ========== 两栏布局 ========== */

.wpdm-category-layout.wpdmfs-search-layout {
	display: flex !important;
	align-items: flex-start !important;
	gap: 24px !important;
	width: 100%;
	max-width: 1280px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0;
	background: transparent;
}

.wpdmfs-search-layout .wpdm-category-sidebar {
	flex: 0 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.wpdmfs-search-layout .wpdm-category-nav {

	flex-direction: column;
}

.wpdmfs-search-layout .wpdm-category-item {
	margin: 0;
}

.wpdmfs-search-layout .wpdm-category-item a {
	display: block;
	padding: 13px 16px;
	color: #1db1cd;
	font-size: 15px;
	line-height: 1.5;
	text-decoration: none;
	border-left: 3px solid transparent;
	transition: background .18s, color .18s, border-color .18s;
}

.wpdmfs-search-layout .wpdm-category-item a:hover {
	background: #e6f5f8;
}

.wpdmfs-search-layout .wpdm-category-item.current-cat a {
	background: #fff;
	font-weight: 500;
	border-left-color: #1db1cd;
	box-shadow: 0 1px 4px rgba(31, 39, 51, .08);
}

/* 右侧内容区：搜索框、结果提示、结果条目左右同宽 */
.wpdmfs-search-layout .wpdm-file-content {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.wpdmfs-search-layout .wpdmfs {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

/* ========== 结果提示（单独一行） ========== */

.wpdmfs__summary {
	display: block;
	margin: 0 0 12px;
	padding: 0;
	color: #6b7a90;
	font-size: 13px;
	line-height: 1.8;
	text-align: left;
}

.wpdmfs__summary strong {
	color: #1db1cd;
}

.wpdmfs__reset {
	margin-left: 10px;
	color: #1db1cd;
	text-decoration: none;
	white-space: nowrap;
}

.wpdmfs__reset:hover {
	text-decoration: underline;
}

/* ========== 结果列表 ========== */

.wpdmfs__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.wpdmfs__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid #eef1f6;
	border-radius: 8px;
	background: #fff;
	transition: border-color .18s, box-shadow .18s;
}

.wpdmfs__item:hover {
	border-color: #bfe6ee;
	box-shadow: 0 4px 14px rgba(31, 39, 51, .06);
}

/* 框内文字：标题一行、更新时间一行 */
.wpdmfs__meta {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}

.wpdmfs__title {
	display: block;
	color: #1f2733;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	word-break: break-word;
}

.wpdmfs__title:hover {
	color: #1db1cd;
}

.wpdmfs__date {
	display: block;
	color: #9aa5b4;
	font-size: 12px;
	line-height: 1.4;
}

/* 下载按钮：靠右，垂直居中 */
.wpdmfs__btn {
	display: inline-block !important;
	flex: 0 0 auto;
	padding: 8px 22px;
	border: 1px solid #1db1cd;
	border-radius: 6px;
	background: #1db1cd;
	color: #fff !important;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	visibility: visible !important;
	opacity: 1 !important;
	transition: background .18s, color .18s, border-color .18s;
}

.wpdmfs__btn:hover {
	background: #189ab3;
	border-color: #189ab3;
	color: #fff;
}

.wpdmfs__btn--auth {
	background: #1db1cd;
	color: #fff !important;
	border-color: #1db1cd;
}

.wpdmfs__btn--auth:hover {
	background: #1db1cd;
	color: #fff !important;
}

/* ========== 空状态 / 提示 ========== */

.wpdmfs__empty,
.wpdmfs__more {
	margin: 0;
	padding: 22px 18px;
	border: 1px dashed #e3e8ef;
	border-radius: 8px;
	background: #fafbfe;
	color: #6b7a90;
	font-size: 14px;
	text-align: center;
}

.wpdmfs__more {
	margin-top: 10px;
	padding: 12px 18px;
	border-style: solid;
}

/* ========== 分类页自动补的下载按钮 ========== */

.wpdmfs-has-dl,
.wpdmfs-dl-holder {
	position: relative;
}

.wpdmfs-has-dl > .wpdmfs-dl,
.wpdmfs-dl-holder > .wpdmfs-dl {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
}

/* ========== 登录弹窗 ========== */

.wpdmfs-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: wpdmfs-fade .18s ease-out;
}

.wpdmfs-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .55);
	backdrop-filter: blur(2px);
}

.wpdmfs-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(420px, calc(100% - 40px));
	padding: 36px 30px 28px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(15, 23, 42, .25);
	text-align: center;
	animation: wpdmfs-pop .22s ease-out;
}

.wpdmfs-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 32px;
	height: 32px;
	border: 0;
	background: none;
	font-size: 22px;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
	border-radius: 50%;
	transition: background .15s, color .15s;
}

.wpdmfs-modal__close:hover {
	background: #f1f5f9;
	color: #475569;
}

.wpdmfs-modal__icon {
	font-size: 36px;
	margin-bottom: 10px;
}

.wpdmfs-modal__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	color: #1f2733;
}

.wpdmfs-modal__desc {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.6;
	color: #64748b;
}

.wpdmfs-modal__actions {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.wpdmfs-modal__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
	cursor: pointer;
	border: 1px solid transparent;
}

.wpdmfs-modal__btn--primary {
	background: #1db1cd;
	color: #fff;
}

.wpdmfs-modal__btn--primary:hover {
	background: #189ab3;
	color: #fff;
}

.wpdmfs-modal__btn--ghost {
	background: #f1f5f9;
	color: #475569;
	border-color: transparent;
}

.wpdmfs-modal__btn--ghost:hover {
	background: #e2e8f0;
}

@keyframes wpdmfs-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes wpdmfs-pop {
	from { opacity: 0; transform: translateY(8px) scale(.97); }
	to   { opacity: 1; transform: none; }
}

/* ========== 手机端 ========== */

@media (max-width: 767px) {
	.wpdmfs {
		width: 100%;
		max-width: 100%;
		margin: 0 0 18px;
	}

	.wpdmfs__form {
		width: 100%;
		max-width: 100%;
		margin-bottom: 14px;
	}

	.wpdmfs__input {
		height: 44px;
		padding: 0 14px;
		font-size: 16px; /* 避免 iOS 聚焦时自动放大 */
	}

	.wpdmfs__submit {
		padding: 0 18px;
		font-size: 14px;
	}

	/* 两栏 → 单栏 */
	.wpdm-category-layout.wpdmfs-search-layout {
		flex-direction: column !important;
		gap: 14px !important;
		width: 96%;
	}

	.wpdmfs-search-layout .wpdm-category-sidebar {
		flex: none;
		width: 100%;
	}

	.wpdmfs-search-layout .wpdm-category-nav {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 6px;
	}

	.wpdmfs-search-layout .wpdm-category-item a {
		padding: 8px 14px;
		font-size: 13px;
		border-left: 0;
		border-radius: 4px;
	}

	.wpdmfs-search-layout .wpdm-category-item.current-cat a {
		border-left: 0;
		box-shadow: none;
		background: #e6f5f8;
	}

	.wpdmfs__item {
		gap: 12px;
		padding: 14px;
	}

	.wpdmfs__title {
		font-size: 14px;
	}

	.wpdmfs__btn {
		padding: 7px 14px;
		font-size: 12px;
	}

	.wpdmfs-has-dl > .wpdmfs-dl,
	.wpdmfs-dl-holder > .wpdmfs-dl {
		right: 12px;
		padding: 6px 12px;
		font-size: 12px;
	}
}




.wpdm-category-nav p{
    display:none;
    
}