@import url('https://fonts.loli.net/css2?family=LXGW+WenKai+TC&display=swap');

* {
	margin: 0;
	padding: 0;
	font-family: 'robot';
	font-size: 18px;
	box-sizing: border-box;
}

html, body {
	overflow-x: hidden;
	width: 100%;
	background: transparent;
	position: relative;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

*::selection {
	color: #FFFFFF;
	background-color: #363636;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: #C0C0C0;
}

input {
	color: #525d76;
	resize: none;
	outline: none;
	height: 45px;
	line-height: 25px;
	padding: 0 10px;
	box-sizing: border-box;
	border: 2px solid #BBBBBB;
	vertical-align: middle;
	border-radius: 6px;
}

input[name="email"] {
	font-family: 'quicksand', sans-serif;
	letter-spacing: 0.5px; /* 添加字间距 */
}

a {
	color: #0B5ED7;
}

a:hover {
	color: #0056b3;
	text-decoration: none;
}

.btn {
	color: white;
	background: #0B5ED7;
	padding: 0 16px;
	border: 1px solid #0B5ED7;
	height: 44px;
	width: 100%;
	max-width: 420px; /* 使用 max-width 代替固定宽度 */
	margin: 10px 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	cursor: pointer;
	vertical-align: middle;
	border-radius: 6px;
	margin-top: 20px;
	font-size: 16px;
	font-weight: 500;
	font-family: 'yzzt', sans-serif;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.btn:hover:not(:disabled):not(.loading) {
	background: white;
	color: #0B5ED7;
	border: 2px solid #0B5ED7;
}

.btn:active:not(:disabled):not(.loading) {
	transform: translateY(0);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.btn:disabled,
.btn.loading {
	cursor: not-allowed;
	opacity: 0.6;
}

.btn.loading::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	margin-left: 10px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: white;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

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

.title {
	text-align: center;
	font-size: 32px;
	font-family: 'quicksand';
	margin: 30px auto 40px;
	color: #1d1d1f;
	font-weight: 400;
	letter-spacing: -0.5px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	animation: titleFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes titleFadeIn {
	0% {
		opacity: 0;
		transform: translateY(-10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.prompt {
	margin-top: 25px;
	font-size: 14px;
	color: #e74c3c;
	font-family: 'yzzt', sans-serif;
	letter-spacing: 0.5px;
	font-weight: 500;
	min-height: 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.prompt.show {
	opacity: 1;
}

.prompt.success {
	color: #4caf50;
}

.login {
  text-align: center;
  background: #fafafa;
  border-radius: 6px;
  padding: 35px 40px;
  margin: 0 auto 60px;
  max-width: 500px;
  width: auto;
  position: relative;
  border: none;
  box-shadow: none;
}

.login:hover {
  transform: none;
  box-shadow: none;
}

body > .login input[type="password"],
body > .login input[type="text"],
body > .login input[name="email"] {
  width: 100%;
  max-width: 420px; /* 使用 max-width 代替固定宽度 */
  height: 48px;
  padding: 0 16px;
  font-size: 16px;
  border: 2px solid #BBBBBB;
  border-radius: 6px;
  background: #f0f0f0;
  color: #1d1d1f;
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
  margin-top: 0;
  margin-bottom: 12px;
}

/* 针对邮箱输入框的特定字体和间距 */
body > .login input[name="email"] {
  font-family: 'quicksand', sans-serif;
  letter-spacing: 0.5px;
}

.login input[type="password"]:focus,
.login input[type="text"]:focus,
.login input[name="email"]:focus {
  border-color: #0B5ED7;
}

.login input[type="password"]::placeholder,
.login input[type="text"]::placeholder,
.login input[type="email"]::placeholder {
  color: #86868b;
  font-size: 15px;
  font-weight: 400;
}

.note {
	margin: auto;
}

.tip {
    flex: 1 1 calc(20.333% - 20px);
    margin: 10px;
   background-color: rgba(220, 220, 220, 0.3);
    border-radius: 6px;
    padding: 0 10px;
    position: relative;
    box-sizing: border-box;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.tip:hover {
   background-color: rgba(220, 220, 220, 0.6);
    box-shadow: 0px 12px 24px rgba(202, 225, 255, 0.9);
    transform: translateY(-8px);
    border: 2px solid rgba(11, 94, 215)
}

.tip:hover .tip-title {
	color: rgba(11, 94, 215);
}

.tip:hover .tip-content {
	filter: blur(0);
}

.tip-pinned-badge {
	position: absolute;
	top: -15px;
	left: -40px;
	width: 80px;
	height: 20px;
	background: #0B5ED7;
	transform: rotate(-45deg);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	z-index: 5;
}

.tip.pinned {
	border-color: #0B5ED7;
	background-color: rgba(245, 245, 245, 0.5);
}

.tip-shared-badge {
	position: absolute;
	top: -15px;
	right: -40px;
	width: 80px;
	height: 20px;
	background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
	transform: rotate(45deg);
	box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
	z-index: 5;
}

.tip-title {
	padding: 10px;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	font-family: 'quicksand';
	outline: none;
	transition: color 0.3s ease;
}

.tip-title mark {
	background-color: #ffeb3b;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	vertical-align: baseline;
	text-decoration: inherit;
}

.tip-copy {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 4px 12px;
	background: rgba(11, 94, 215);
	color: #fff;
	font-size: 12px;
	font-family: 'yzzt';
	border-radius: 6px;
	cursor: pointer;
	opacity: 0;
	transition: all 0.3s ease;
	user-select: none;
	z-index: 10;
}

.tip-actions {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: flex;
	gap: 8px;
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 10;
}

.tip:hover .tip-actions {
	opacity: 1;
}

.tip-copy,
.tip-pin,
.tip-share {
	padding: 4px 12px;
	background: rgba(11, 94, 215);
	color: #fff;
	font-size: 12px;
	font-family: 'yzzt';
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	user-select: none;
	position: static;
	opacity: 1;
}

.tip-copy:hover,
.tip-pin:hover,
.tip-share:hover {
	background: rgba(11, 94, 215, 0.8);
	transform: scale(1.05);
}

.tip-copy:active,
.tip-pin:active,
.tip-share:active {
	transform: scale(0.95);
}

.tip-share.shared {
	background: #4caf50;
}

.tip-share.shared:hover {
	background: rgba(76, 175, 80, 0.8);
}

.note-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.tip-title a {
	margin-left: 10px;
	text-decoration: none;
	font-weight: normal;
}

.tip-title a:first-child {
	margin-left: auto;
}

.tip-content {
	padding: 10px;
	padding-top: 0;
	padding-bottom: 45px;
	color: #666;
	outline: none;
	font-family: 'yzzt';
	white-space: pre-wrap;
	word-break: break-all;
	transition: filter 0.3s ease;
}

.tip-content mark {
	background-color: #ffeb3b;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	vertical-align: baseline;
	text-decoration: inherit;
}

.tip-content p {
	margin: 3px 0;
		font-family: 'yzzt';
}

.tip-timestamps {
	position: absolute;
	bottom: 8px;
	left: 10px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-family: 'yzzt';
	font-size: 10px;
	color: #888;
	opacity: 0.6;
	transition: all 0.3s ease;
	z-index: 5;
}

.tip:hover .tip-timestamps {
	opacity: 1;
	color: rgba(11, 94, 215);
	font-size: 11px;
}

.tip-time {
	display: flex;
	align-items: center;
	font-size: inherit;
	line-height: 1.1;
	margin: 0;
	transition: all 0.3s ease;
}

.tip-time::before {
	content: '•';
	margin-right: 6px;
	color: rgba(11, 94, 215);
	font-weight: bold;
}

/* 添加按钮（右上角固定） */
.fab-add-button {
	position: fixed;
	top: 30px;
	right: 30px;
	width: 100px;
	height: 45px;
	background: #0B5ED7;
	color: white;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 300;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(11, 94, 215, 0.3);
	transition: all 0.3s ease;
	border: none;
	z-index: 1000;
}

.fab-add-button:hover {
	background: #0056b3;
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(11, 94, 215, 0.4);
}

.fab-add-button span {
	line-height: 1;
}

/* FAB 悬浮按钮容器（左下角） */
.fab-container {
	position: fixed;
	bottom: 30px;
	left: 30px;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 更多菜单按钮 */
.fab-more {
	width: 50px;
	height: 50px;
	background: #363636;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	border: none;
}

.fab-more:hover {
	background: #555;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fab-more.active {
	background: #e74c3c;
	transform: rotate(90deg);
}

.fab-more span {
	line-height: 1;
}

/* 菜单列表 */
.fab-menu {
	position: absolute;
	bottom: 60px;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s ease;
	pointer-events: none;
}

.fab-menu.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* 菜单项 */
.fab-menu-item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	border: 2px solid transparent;
}

.fab-menu-item:hover {
	background: #0B5ED7;
	color: white;
	transform: translateX(5px);
	box-shadow: 0 4px 12px rgba(11, 94, 215, 0.3);
}

.fab-menu-text {
	font-size: 14px;
	font-family: 'yzzt';
	font-weight: 500;
}

/* 回到顶部按钮 */
#scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: #0B5ED7;
	color: white;
	border: 1px solid #0B5ED7;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(11, 94, 215, 0.3);
	transition: all 0.3s ease;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	z-index: 9999;
}

#scroll-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#scroll-to-top:hover {
	background: white;
	color: #0B5ED7;
	border: 2px solid #0B5ED7;
	transform: translateY(-5px);
	box-shadow: 0 6px 20px rgba(11, 94, 215, 0.4);
}

#scroll-to-top::before {
	content: '↑';
}

.form {
	margin: 10px 0;
	padding: 0 10px;
	display: flex;
}

.key {
	display: inline-block;
	text-align: right;
	padding-right: 10px;
	vertical-align: top;
	line-height: 50px;
}

.value {
	flex: 1;
	line-height: 25px;
}

.value input[type=text],
.value input[type=password],
.value input[type=number] {
	width: 100%;
}

.setting {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	margin: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 999999999;
	animation: fadeIn 0.3s ease;
	overflow: hidden;
}

.setting-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 6px;
	width: 90%;
	max-width: 450px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
	animation: modalSlideIn 0.3s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 0;
}

.setting-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 20px 15px 20px;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}

.setting-title {
	font-size: 18px;
	font-weight: bold;
	font-family: 'quicksand';
	color: #0B5ED7;
	text-align: left;
	margin-bottom: 0;
}

.setting-close {
	cursor: pointer;
	font-size: 24px;
	color: #999;
	transition: all 0.2s ease;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.setting-close:hover {
	color: #e74c3c;
	background-color: rgba(231, 76, 60, 0.1);
}

.setting-body {
	padding: 10px 20px 20px 20px;
}

.setting-body .form {
	margin: 15px 0;
	display: block;
}

.setting-body .form:first-child {
	margin-top: 0;
}

.setting-body .key {
	text-align: left;
	font-size: 16px;
	font-family: 'yzzt';
	color: #444;
	margin: 0;
	display: block;
}

.setting-body .value {
	width: 100%;
	display: block;
	margin: 0;
}

.setting-body input[type="text"] {
	width: 100%;
	border: 2px solid #BBBBBB;
	border-radius: 6px;
	padding: 0 10px;
	height: 45px;
	line-height: 25px;
	font-size: 18px;
	font-family: 'yzzt';
	outline: none;
	transition: border-color 0.3s;
	background: #fff;
	color: #525d76;
	box-sizing: border-box;
	margin: 0;
}

.setting-body input[type="text"]:focus {
	border-color: #0B5ED7;
}

.setting-footer {
	display: flex;
	justify-content: center;
	padding: 15px 20px;
	background: #fff;
	border-top: 1px solid #e5e5e5;
}

.setting-footer .btn {
	margin: 0;
	background: #363636;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.setting-footer .btn:hover {
	background: rgba(11, 94, 215);
}

/* 搜索容器 */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 10px;
    box-sizing: border-box;
    position: relative;
}

/* 搜索包装器 - 统一的外部容器 */
.search-wrapper {
    display: flex;
    width: 100%;
    max-width: 550px;
    height: 52px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(106, 90, 205, 0.15);
    border: 2px solid rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.search-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #e7c7f1, #ccc7f3, #f6d3d3);
    background-size: 200% 200%;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.search-wrapper:focus-within::before,
.search-wrapper:hover::before {
    opacity: 1;
}

.search-wrapper:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(106, 90, 205, 0.25);
    border-color: #0B5ED7;
}

/* 搜索输入框 */
#search-query {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 65px 0 20px;
    font-size: 15px;
    font-family: 'yzzt', sans-serif;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
    margin: 0;
}

#search-query::placeholder {
    color: rgba(0, 0, 0, 0.3);
    font-weight: 400;
    transition: color 0.3s ease;
}

#search-query:focus::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* 搜索输入框选中文字的样式 */
#search-query::selection {
    background-color: #6A5ACD;
    color: #ffffff;
}

/* 搜索按钮 */
.search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    width: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid #0B5ED7;
    border-radius: 50%;
    background: transparent;
    color: #0B5ED7;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.search-btn:hover {
    background: #0B5ED7;
    color: #ffffff;
    border-width: 2px;
}

/* 清空搜索按钮 */
.clear-btn {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    width: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid #e74c3c;
    border-radius: 50%;
    background: transparent;
    color: #e74c3c;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.clear-btn:hover {
    background: #e74c3c;
    color: #ffffff;
}

@media (max-width: 768px) {
	body {
		padding: 0 5px; /* 进一步减小移动端左右边距 */
	}

	.note {
		width: 100%;
		margin: auto;
	}

	.tip {
		flex: 1 1 100%;
		margin: 5px 2px;
	}

	.fab-add-button {
		top: 20px;
		right: 20px;
		width: 80px;
		height: 40px;
		font-size: 24px;
	}

	.fab-container {
		bottom: 20px;
		left: 20px;
	}

	.fab-more {
		width: 45px;
		height: 45px;
		font-size: 20px;
	}

	.fab-menu {
		bottom: 55px;
	}

	.fab-menu-item {
		padding: 10px 20px;
	}

	.fab-menu-text {
		font-size: 13px;
	}

	.login {
	 max-width: 100%;
        width: 100%;
        margin: 0 auto 40px;
        padding: 30px 20px;
        box-sizing: border-box;
	}

	.title {
		margin-top: 40px;
	}

	.note-container {
		justify-content: center;
	}

	.tip {
		flex: 1 1 100%;
		margin: 10px 20px;
	}
   #search-query {
        max-width: none;
        width: calc(80%);
    }

    /* 注册和忘记密码页面的移动端适配 */
    body > form {
        padding: 0 20px;
        box-sizing: border-box;
    }

    body > form input[type="email"],
    body > form input[type="text"],
    body > form input[type="password"],
    body > form .btn {
        width: 100%;
    }

    /* 注册页邮箱验证码移动端适配 (新方案) */
    .verify-code-group {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .verify-code-group input[type="email"] {
        flex: 1; /* 输入框占据剩余空间 */
        min-width: 0;
        height: 48px !important; /* 强制统一高度 */
    }

    .verify-code-btn {
        width: 120px !important; /* 为移动端设置合适的固定宽度 */
        flex-shrink: 0;
        height: 48px !important; /* 强制统一高度 */
    }

	#scroll-to-top {
		bottom: 20px;
		right: 20px;
		width: 45px;
		height: 45px;
		font-size: 18px;
	}

}

@font-face {
	font-family: 'robot';
	src: url('../font/ywwk.woff2') format('woff2');
}
@font-face {
	font-family: 'custom';
	src: url('../font/custom.woff2') format('woff2');
}
@font-face {
	font-family: 'quicksand';
	src: url('../font/dd.woff2') format('woff2');
}
@font-face {
	font-family: 'quicksand';
	src: url('../font/quicksand.ttf') format('truetype');
}
@font-face {
	font-family: 'slzt';
	src: url('../font/slzt.woff2') format('woff2');
}
@font-face {
	font-family: 'yzzt';
	src: url('../font/yzzt.woff2') format('woff2');
}

/* 编辑弹框样式 */
.edit-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	margin: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 999999999;
	animation: fadeIn 0.3s ease;
	overflow: hidden;
}

body.modal-open {
	overflow: hidden;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.edit-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 6px;
	width: 85%;
	max-height: 90vh;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
	animation: modalSlideIn 0.3s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translate(-50%, -45%);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

.edit-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 20px 15px 20px;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}

.edit-modal-title {
	font-size: 18px;
	font-weight: bold;
	font-family: 'quicksand';
	color: #0B5ED7;
}

@keyframes shine {
	0% {
		background-position: 0% 50%;
	}
	100% {
		background-position: 200% 50%;
	}
}

.edit-modal-close {
	cursor: pointer;
	font-size: 24px;
	color: #999;
	transition: all 0.2s ease;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.edit-modal-close:hover {
	color: #e74c3c;
	background-color: rgba(231, 76, 60, 0.1);
}

.edit-modal-body {
	padding: 1px 20px 20px 20px;
	overflow-y: auto;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.edit-modal-body .form:last-child {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.edit-modal-body .form:last-child .value {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.edit-modal-body .form {
	margin: 8px 0;
}

.edit-modal-body .form:first-child {
	margin-top: 0;
}

.edit-modal-body .value {
	width: 100%;
	display: block;
}

.edit-modal-body input[type="text"],
.edit-modal-body textarea {
	width: 100%;
	border: 2px solid #BBBBBB;
	border-radius: 6px;
	padding: 0 10px;
	height: 45px;
	line-height: 25px;
	font-size: 18px;
	font-family: 'yzzt';
	outline: none;
	transition: border-color 0.3s;
	background: #fff;
	color: #525d76;
	box-sizing: border-box;
}

/* 单独加粗弹窗内的标题输入框 */
#modal-title {
    font-weight: 600;
}

.edit-modal-body textarea {
	height: 100%;
	min-height: 450px;
	flex-grow: 1;
	padding: 10px;
	line-height: 1.6;
	resize: vertical;
	font-family: "LXGW WenKai", 'yzzt', sans-serif;
	font-weight: 500;
}

.edit-modal-body input[type="text"]:focus,
.edit-modal-body textarea:focus {
	border-color: #0B5ED7;
}

.edit-modal-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 15px 20px;
	background: #fff;
	border-top: 1px solid #e5e5e5;
}

.modal-footer-right {
	display: flex;
	gap: 10px;
	margin-left: auto;
}

.modal-btn {
	color: white;
	padding: 0 20px;
	border: 1px solid;
	height: 40px;
	min-width: 80px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 6px;
	font-size: 16px;
	font-family: 'yzzt';
	font-weight: 300;
	transition: all 0.3s ease;
	user-select: none;
}

.modal-btn-save {
	background: #0B5ED7;
	border-color: #0B5ED7;
	color: white;
}

.modal-btn-save:hover {
	background: #0056b3;
	border-color: #0056b3;
}

.modal-btn-cancel {
	background: #fff;
	color: #666;
	border: 2px solid #ddd;
}

.modal-btn-cancel:hover {
	background: #f5f5f5;
	color: #333;
	border: 2px solid #bbb;
}

.modal-btn-delete {
	background: #e74c3c;
	border-color: #e74c3c;
}

.modal-btn-delete:hover {
	background: #fff;
	color: #e74c3c;
	border: 2px solid #e74c3c;
}

@media (max-width: 768px) {
	.edit-modal-content {
		width: 95%;
		max-height: 85vh;
	}

	.edit-modal-header {
		padding: 15px;
	}

	.edit-modal-body {
		padding: 15px;
	}

	.edit-modal-footer {
		padding: 15px;
		gap: 8px;
	}

	.modal-btn {
		padding: 0 15px;
		font-size: 14px;
		height: 36px;
	}
}

/* 状态提示样式 */
.toast {
	position: fixed;
	top: 20px;
	right: 20px;
	background: #363636;
	color: #fff;
	padding: 12px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-family: 'yzzt';
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 9999999999;
	opacity: 0;
	margin: 0;
	transform: translateY(-20px);
	transition: all 0.3s ease;
	pointer-events: none;
}

.toast.show {
	opacity: 1;
	transform: translateY(0);
}

.toast.success {
	background: #4caf50;
}

.toast.error {
	background: #e74c3c;
}

.toast.info {
	background: rgba(11, 94, 215);
}

/* 日志弹窗样式 */
.logs-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	margin: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 999999999;
	animation: fadeIn 0.3s ease;
	overflow: hidden;
}

.logs-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 6px;
	width: 90%;
	max-width: 1000px;
	max-height: 90vh;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
	animation: modalSlideIn 0.3s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.logs-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 20px 15px 20px;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}

.logs-modal-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}

.logs-header-btn {
	padding: 6px 16px;
	background: #e74c3c;
	color: white;
	border: 1px solid #e74c3c;
	border-radius: 6px;
	font-size: 13px;
	font-family: 'yzzt', sans-serif;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 0;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logs-header-btn:hover {
	background: white;
	color: #e74c3c;
	border: 2px solid #e74c3c;
}

.logs-modal-title {
	font-size: 18px;
	font-weight: bold;
	font-family: 'quicksand', sans-serif;
	color: #0B5ED7;
	margin: 0;
	line-height: 1.2;
}

.logs-modal-close {
	cursor: pointer;
	font-size: 24px;
	color: #999;
	transition: all 0.2s ease;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin: 0;
	flex-shrink: 0;
}

.logs-modal-close:hover {
	color: #e74c3c;
	background-color: rgba(231, 76, 60, 0.1);
}

.logs-modal-body {
	padding: 20px;
	overflow-y: auto;
	flex: 1;
}

/* 统计信息 */
.logs-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	margin-bottom: 20px;
}

.stat-item {
	background: #f5f5f5;
	padding: 15px;
	border-radius: 6px;
	text-align: center;
	color: #333;
}

.stat-value {
	font-size: 24px;
	font-weight: bold;
	font-family: 'quicksand', sans-serif;
}

.logs-table thead {
	background: #f5f5f5;
	color: #333;
}

.logs-table th {
	padding: 12px;
	text-align: left;
	font-weight: 500;
	font-size: 14px;
	font-family: 'yzzt', sans-serif;
}

.logs-table th:first-child {
	border-top-left-radius: 6px;
}

.logs-table th:last-child {
	border-top-right-radius: 6px;
}

.logs-table td {
	padding: 12px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 13px;
	font-family: 'yzzt', sans-serif;
	vertical-align: middle;
}

.logs-table td * {
	margin-top: 0;
}

.logs-table tr:last-child td {
	border-bottom: none;
}

.logs-table tbody tr:hover {
	background: #f5f5f5;
}

.log-details {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 详情按钮 */
.detail-btn {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	background: rgba(11, 94, 215, 0.1);
	color: rgba(11, 94, 215);
	font-size: 11px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
}

.detail-btn:hover {
	background: rgba(11, 94, 215);
	color: white;
	transform: scale(1.05);
}

/* 删除按钮 */
.delete-log-btn {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	background: rgba(231, 76, 60, 0.1);
	color: #e74c3c;
	font-size: 11px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
}

.delete-log-btn:hover {
	background: #e74c3c;
	color: white;
	transform: scale(1.05);
}

/* 操作标签 */
.action-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	vertical-align: middle;
	line-height: 1.4;
	margin-top: 0;
}

.action-login {
	background: #e3f2fd;
	color: #1976d2;
}

.action-logout {
	background: #fce4ec;
	color: #c2185b;
}

.action-add {
	background: #e8f5e9;
	color: #388e3c;
}

.action-update {
	background: #fff3e0;
	color: #f57c00;
}

.action-delete {
	background: #ffebee;
	color: #d32f2f;
}

.action-setting {
	background: #f3e5f5;
	color: #7b1fa2;
}

.action-view {
	background: #e0f2f1;
	color: #00796b;
}

.action-pin {
	background: #fff9c4;
	color: #f57f17;
}

.action-share {
	background: #e1bee7;
	color: #6a1b9a;
}

/* 状态标签 */
.status-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	vertical-align: middle;
	line-height: 1.4;
	margin-top: 0;
}

.status-success {
	background: #e8f5e9;
	color: #388e3c;
}

.status-error {
	background: #ffebee;
	color: #d32f2f;
}

/* 分页 */
.logs-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
}

.page-btn {
	height: 36px;
	padding: 0 20px;
	border: 1px solid black;
	border-radius: 6px;
	background: white;
	color: black;
	font-size: 14px;
	font-family: 'yzzt', sans-serif;
	cursor: pointer;
	transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
	background: white;
	color: #0B5ED7;
	border-color: #0B5ED7;
	border-width: 2px;
}

.page-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

#logs-page-info {
	font-size: 14px;
	color: #666;
	font-family: 'yzzt', sans-serif;
}

/* 日志筛选器样式 */
.logs-filter {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	align-items: center;
}

.filter-select {
	flex: 1; /* 让下拉框填充多余空间 */
	height: 36px;
	padding: 0 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-family: 'yzzt', sans-serif;
	font-size: 14px;
}

.filter-btn {
	padding: 0 20px;
	height: 36px;
	border: 1px solid #0B5ED7;
	border-radius: 6px;
	background: #0B5ED7;
	color: white;
	font-size: 14px;
	font-family: 'yzzt', sans-serif;
	cursor: pointer;
	transition: all 0.3s ease;
}

.filter-btn:hover {
	background: white;
	color: #0B5ED7;
}

.export-btn {
	background: #4caf50;
	border-color: #4caf50;
}

.export-btn:hover {
	background: white;
	color: #4caf50;
	border-color: #4caf50;
}

.logs-table {
    width: 100%;
    table-layout: fixed;
    margin-bottom: 20px; /* Add some space below the table */
}

.logs-table th:nth-child(1) { width: 20%; } /* 时间 */
.logs-table th:nth-child(2) { width: 15%; } /* IP地址 */
.logs-table th:nth-child(3) { width: 10%; } /* 操作 */
.logs-table th:nth-child(4) { width: 30%; } /* 详情 */
.logs-table th:nth-child(5) { width: 10%; } /* 状态 */
.logs-table th:nth-child(6) { width: 15%; } /* 操作 */

/* 移动端适配 */
@media (max-width: 768px) {
	.logs-modal-content {
		width: 95%;
		max-height: 95vh;
	}

	.logs-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.stat-item {
		padding: 10px;
	}

	.stat-value {
		font-size: 20px;
	}

	.logs-filter {
		flex-direction: column;
	}

	.filter-select,
	.filter-btn {
		width: 100%;
	}

	.logs-table {
		font-size: 12px;
	}

	.logs-table th,
	.logs-table td {
		padding: 8px 6px;
	}

	.log-details {
		max-width: 120px;
	}
}

/* 日志详情弹窗 */
.log-detail-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	margin: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999999999;
	animation: fadeIn 0.3s ease;
}

.log-detail-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 6px;
	width: 90%;
	max-width: 600px;
	max-height: 80vh;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
	animation: modalSlideIn 0.3s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.log-detail-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}

.log-detail-title {
	font-size: 16px;
	font-weight: bold;
	font-family: 'quicksand', sans-serif;
	color: #333;
}

.log-detail-close {
	cursor: pointer;
	font-size: 24px;
	color: #999;
	transition: all 0.2s ease;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.log-detail-close:hover {
	color: #e74c3c;
	background-color: rgba(231, 76, 60, 0.1);
}

.log-detail-body {
	padding: 20px;
	overflow-y: auto;
	flex: 1;
}

.log-detail-item {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #f0f0f0;
}

.log-detail-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.log-detail-label {
	font-size: 12px;
	color: #999;
	margin-bottom: 5px;
	font-family: 'yzzt', sans-serif;
}

.log-detail-value {
	font-size: 14px;
	color: #333;
	font-family: 'yzzt', sans-serif;
	white-space: pre-wrap;
	word-break: break-all;
	background: #f9f9f9;
	padding: 10px;
	border-radius: 6px;
	border-left: 3px solid rgba(11, 94, 215);
}

@media (max-width: 768px) {
	.log-detail-content {
		width: 95%;
		max-height: 90vh;
	}
}

/* 分享弹窗样式 */
.share-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	margin: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 999999999;
	animation: fadeIn 0.3s ease;
	overflow: hidden;
}

.share-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 6px;
	width: 90%;
	max-width: 550px;
	min-height: 450px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
	animation: modalSlideIn 0.3s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.share-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 20px 15px 20px;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}

.share-modal-title {
	font-size: 18px;
	font-weight: bold;
	font-family: 'quicksand';
	color: #0B5ED7;
}

.share-modal-close {
	cursor: pointer;
	font-size: 24px;
	color: #999;
	transition: all 0.2s ease;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.share-modal-close:hover {
	color: #e74c3c;
	background-color: rgba(231, 76, 60, 0.1);
}

.share-modal-body {
	padding: 16px 20px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.share-form-group {
	margin-bottom: 15px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.share-form-group:last-child {
	margin-bottom: 0;
}

/* 分享链接区域需要垂直布局 */
.share-form-group.share-link-section {
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.share-label {
	font-family: 'yzzt';
	font-size: 14px;
	color: #333;
	font-weight: 500;
	flex-shrink: 0;
}

.share-switch-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-family: 'yzzt';
	font-size: 15px;
	color: #444;
	user-select: none;
}

/* 统一开关按钮样式 */
.share-switch,
.admin-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    margin: 0;
    vertical-align: middle;
}

.share-switch input,
.admin-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #0B5ED7;
}

input:focus + .slider {
    box-shadow: 0 0 1px #0B5ED7;
}

input:checked + .slider:before {
    transform: translateX(22px);
}


.share-switch-text {
	margin: 0;
	line-height: 1.5;
}

.share-expiry-label {
	font-family: 'yzzt';
	font-size: 13px;
	color: #666;
	margin: 0;
	margin-bottom: 8px;
}


.share-expiry-select {
	width: 200px;
	height: 40px;
	padding: 0 12px;
	border: 2px solid #BBBBBB;
	border-radius: 6px;
	font-size: 13px;
	font-family: 'yzzt';
	color: #333;
	background: white;
	outline: none;
	cursor: pointer;
	margin: 0;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.share-expiry-select:hover {
	border-color: #0B5ED7;
}

.share-expiry-select:focus {
	border-color: #0B5ED7;
	box-shadow: 0 0 0 2px rgba(11, 94, 215, 0.1);
}


.share-link-label {
	font-family: 'yzzt';
	font-size: 13px;
	color: #666;
	margin: 0;
	margin-bottom: 8px;
}

.share-link-wrapper {
	display: flex;
	gap: 10px;
}

.share-url-input {
	flex: 1;
	height: 40px;
	padding: 0 12px;
	border: 2px solid #BBBBBB;
	border-radius: 6px;
	font-size: 13px;
	font-family: 'yzzt';
	color: #525d76;
	background: #f9f9f9;
	outline: none;
	margin: 0;
}

.share-copy-btn {
	height: 40px;
	padding: 0 20px;
	border: none;
	border-radius: 6px;
	background: #363636;
	color: white;
	font-size: 14px;
	font-family: 'yzzt';
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	margin: 0;
}

.share-copy-btn:hover {
	background: rgba(11, 94, 215);
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(11, 94, 215, 0.25);
}

.share-reset-btn {
	height: 40px;
	padding: 0 20px;
	border: none;
	border-radius: 6px;
	background: #ff9800;
	color: white;
	font-size: 14px;
	font-family: 'yzzt';
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	margin: 0;
}

.share-reset-btn:hover {
	background: #e65100;
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(230, 81, 0, 0.25);
}

.share-stats {
	background: #f9f9f9;
	border-radius: 6px;
	padding: 12px;
	margin-top: 10px;
}

.share-stat-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
	border-bottom: 1px solid #e5e5e5;
}

.share-stat-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.share-stat-item:first-child {
	padding-top: 0;
}

.share-stat-label {
	font-family: 'yzzt';
	font-size: 13px;
	color: #666;
}

.share-stat-value {
	font-family: 'yzzt';
	font-size: 13px;
	color: #333;
	font-weight: 500;
}

.share-stat-value.share-active {
	color: #4caf50;
}

.share-stat-value.share-expired {
	color: #e74c3c;
}

.share-modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 10px 20px;
	background: #fff;
	border-top: 1px solid #e5e5e5;
}

@media (max-width: 768px) {
	.share-modal-content {
		width: 95%;
	}

	.share-expiry-options {
		flex-direction: column;
		gap: 10px;
	}

	.share-link-wrapper {
		flex-direction: column;
	}

	.share-copy-btn,
	.share-reset-btn {
		width: 100%;
	}
}

/* 用户管理弹框样式 */
.users-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	margin: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 999999999;
	animation: fadeIn 0.3s ease;
	overflow: hidden;
	justify-content: center;
	align-items: center;
}

.users-modal-content {
	background: #fff;
	border-radius: 6px;
	width: 90%;
	max-width: 1200px;
	max-height: 90vh;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
	animation: modalSlideIn 0.3s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.users-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}

.users-modal-title {
	font-size: 18px;
	font-weight: bold;
	font-family: 'quicksand', sans-serif;
	background: linear-gradient(90deg, #6A5ACD, #0B5ED7, #6A5ACD, #0B5ED7);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: shine 3s linear infinite;
	margin: 0;
}

.users-modal-close {
	cursor: pointer;
	font-size: 24px;
	color: #999;
	transition: all 0.2s ease;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.users-modal-close:hover {
	color: #e74c3c;
	background: #f8f8f8;
}

.users-modal-body {
	flex: 1;
	overflow: auto;
	padding: 20px;
}

.users-stats {
	display: flex;
	gap: 15px;
	margin-bottom: 8px;
}

.users-stats .stat-item {
	flex: 1;
	background: #f8f9fa;
	border: 1px solid #e5e5e5;
	padding: 10px 15px;
	border-radius: 6px;
	text-align: center;
}

.users-stats .stat-label {
	font-size: 12px;
	color: #666;
	margin-bottom: 3px;
}

.users-stats .stat-value {
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

.users-loading,
.users-error,
.users-empty {
	text-align: center;
	padding: 40px 20px;
	color: #999;
	font-size: 14px;
}

.users-error {
	color: #e74c3c;
}

.users-table {
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #e5e5e5;
}

.users-table-header {
	display: flex;
	background: #f8f8f8;
	padding: 10px 15px;
	font-weight: 600;
	font-size: 13px;
	color: #333;
	border-bottom: 1px solid #e5e5e5;
}

.users-table-row {
	display: flex;
	padding: 8px 15px;
	border-bottom: 1px solid #f0f0f0;
	transition: background 0.2s;
}

.users-table-row:hover {
	background: #f8f8f8;
}

.users-table-row:last-child {
	border-bottom: none;
}

.user-col {
	padding: 0 10px;
	display: flex;
	align-items: center;
	font-size: 13px;
}

.user-email {
	flex: 0 0 25%;
	color: #333;
}

.user-name {
	flex: 0 0 15%;
	color: #666;
}

.user-time {
	flex: 0 0 15%;
	color: #999;
	font-size: 12px;
}

.user-notes {
	flex: 0 0 10%;
	color: #666;
	justify-content: center;
}

.user-status {
	flex: 0 0 10%;
	justify-content: center;
}

.user-actions {
	flex: 0 0 25%;
	justify-content: flex-end;
	gap: 8px;
}

.user-status-badge {
	padding: 3px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	margin: 0;
}

.status-normal {
	background: #e8f5e9;
	color: #4caf50;
}

.status-blocked {
	background: #ffebee;
	color: #e74c3c;
}

.user-action-btn {
	padding: 5px 10px;
	border: none;
	border-radius: 6px;
	font-size: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'yzzt', sans-serif;
	margin: 0;
	vertical-align: middle;
}

.block-btn {
	background: #ff9800;
	color: white;
}

.block-btn:hover {
	background: #f57c00;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.unblock-btn {
	background: #4caf50;
	color: white;
}

.unblock-btn:hover {
	background: #388e3c;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.delete-btn {
	background: #e74c3c;
	color: white;
}

.delete-btn:hover {
	background: #c0392b;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* --- 全局输入框焦点主题色 --- */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[name="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: #0B5ED7 !important;
    outline: none !important;
    box-shadow: 0 0 3px rgba(11, 94, 215, 0.3) !important;
    color: #0B5ED7 !important; /* 在焦点时文本颜色变为主题色 */
    letter-spacing: 0.8px !important; /* 稍微增大字间距 */
    font-weight: 500 !important; /* 文字稍微加粗一点点 */
}

/* 注册页验证码组统一样式 */
.verify-code-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.verify-code-group input[name="verifyCode"] {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
    height: 48px;
}

.verify-code-btn {
    flex-shrink: 0;
    width: 150px;
    height: 48px;
    padding: 0 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    background: white;
    color: #0B5ED7;
    border: 2px solid #0B5ED7;
}

.verify-code-btn:hover:not(:disabled) {
    background: #0B5ED7;
    color: white;
}

.verify-code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
	.users-modal-content {
		width: 95%;
		max-height: 85vh;
	}

	.users-stats {
		flex-direction: column;
		gap: 10px;
	}

	.users-table {
		overflow-x: auto;
	}

	.users-table-header,
	.users-table-row {
		min-width: 800px;
	}
}

/* Features Page Styles */
@font-face {
    font-family: 'dd';
    src: url('../font/dd.woff2') format('woff2'),
         url('../font/dd.ttf') format('truetype');
}
body.features-page {
    font-family: 'LXGW WenKai', 'LXGW WenKai TC', sans-serif;
}

.features-container {
    flex-grow: 1;
    font-family: 'LXGW WenKai', 'LXGW WenKai TC', sans-serif;
    color: #333;
    line-height: 1.8;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.features-title {
    font-family: 'dd', sans-serif;
    font-size: 48px;
    color: #0B5ED7; /* 主题色 */
    text-align: center;
    margin-bottom: 40px;
}

.features-container h2 {
    font-family: 'LXGW WenKai', 'LXGW WenKai TC', sans-serif;
    font-size: 24px;
    color: #0B5ED7; /* 主题色 */
    margin-top: 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1); /* 淡灰色分割线 */
    padding-bottom: 10px;
}

.features-container p {
    font-family: 'LXGW WenKai', 'LXGW WenKai TC', sans-serif;
    margin-bottom: 15px;
}

.features-container p a {
    font-family: inherit; /* 继承父元素的字体 */
    color: #0B5ED7; /* 改为主题色 */
    font-size: inherit; /* 继承父元素的字号 */
    text-decoration: none; /* 去掉下划线 */
}

.features-container a {
    color: #0B5ED7; /* 默认链接颜色，但此处被上面p a覆盖 */
    text-decoration: none;
}
.features-container a:hover {
    text-decoration: underline;
}
.back-link {
    display: block;
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
}

/* Back to Home Button on Features Page */
.back-to-home-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: auto;
    max-width: none;
    margin: 0;
    z-index: 1000;
    height: 40px;
    padding: 0 12px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'LXGW WenKai', 'LXGW WenKai TC', sans-serif;
}

/* Features Page Layout & TOC */
.features-wrapper {
    max-width: 1400px; /* 增加最大宽度 */
    margin: 40px auto; /* 居中显示 */
    padding: 0 20px;
}

#features-toc {
    width: 220px;
    position: fixed;
    top: 60px;
    left: calc(50% - 960px); /* (1400px / 2) + 220px + 40px = 700 + 220 + 40 = 960px */
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 10px;
    z-index: 100;
    background-color: white;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

#features-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
}

#features-toc li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    margin-left: -2px; /* Overlap with parent border */
    font-size: 15px;
}

#features-toc > ul > li > a {
    font-weight: bold;
}

#features-toc li a:hover,
#features-toc li a.active {
    background-color: rgba(11, 94, 215, 0.05);
    color: #0B5ED7;
    border-left-color: #0B5ED7;
}

/* TOC Submenu Styling */
.toc-submenu {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
}

.toc-submenu li a {
    font-size: 14px;
    padding: 8px 20px;
    color: #888;
}

/* Common Login Links Styles */
.login-links {
    text-align: center;
    margin-top: 20px;
}
.login-links a {
    color: #0B5ED7; /* ����ɫ */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.login-links a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* 分享弹框移动端适配 */
@media (max-width: 768px) {
	.share-modal-content {
		width: 95%;
		max-height: 85vh;
	}

	.share-form-group {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.share-form-group.share-link-section {
		flex-direction: column;
	}

	.share-expiry-select {
		width: 100%;
	}

	.share-link-wrapper {
		flex-direction: column;
		width: 100%;
	}

	.share-copy-btn,
	.share-reset-btn {
		width: 100%;
	}
}
