:root {
	--teacherDetail_primary: #59a4ff;
	--teacherDetail_primary-dark: #4089e0;
	--teacherDetail_primary-light: #84bcff;
	--teacherDetail_secondary: #5e81ac;
	--teacherDetail_light: #ecf3ff;
	--teacherDetail_dark: #3a72bf;
	--teacherDetail_gray: #f5f7fa;
	--teacherDetail_text: #2e3440;
	--teacherDetail_text-light: #4c566a;
	--teacherDetail_shadow: rgba(89, 164, 255, 0.2);
	--teacherDetail_success: #81c784;
	--teacherDetail_warning: #ffb74d;
	--teacherDetail_danger: #e57373;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Noto Sans SC', 'Arial', sans-serif;
}

body {
	background: linear-gradient(135deg, var(--teacherDetail_light) 0%, #ffffff 100%);
	color: var(--teacherDetail_text);
	min-height: 100vh;
	width: 100%;
}

.teacherDetail_container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 30px;
}

.teacherDetail_card {
	background-color: white;
	border-radius: 16px;
	padding: 30px;
	margin-bottom: 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	transition: all 0.4s ease;
	border: 1px solid rgba(0,0,0,0.03);
	position: relative;
	overflow: hidden;
	width: 100%;
}

.teacherDetail_card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 6px;
	height: 100%;
	background: linear-gradient(to bottom, var(--teacherDetail_primary), var(--teacherDetail_primary-light));
	border-radius: 3px;
}

.teacherDetail_card:hover {
	transform: translateY(-8px) scale(1.01);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.teacherDetail_card h2 {
	color: var(--teacherDetail_primary-dark);
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--teacherDetail_light);
	display: flex;
	align-items: center;
	font-size: 28px;
	font-weight: 600;
}

.teacherDetail_card h2 i {
	margin-right: 15px;
	font-size: 32px;
	background: var(--teacherDetail_light);
	color: var(--teacherDetail_primary);
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	box-shadow: 0 4px 10px var(--teacherDetail_shadow);
	transition: all 0.3s ease;
}

.teacherDetail_card:hover h2 i {
	transform: rotate(15deg);
}

.teacherDetail_info {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 30px;
}

.teacherDetail_profile {
	text-align: center;
	background: var(--teacherDetail_light);
	padding: 30px;
	border-radius: 16px;
	box-shadow: inset 0 0 15px rgba(0,0,0,0.05);
	position: relative;
	overflow: hidden;
}

.teacherDetail_profile::before {
	content: '';
	position: absolute;
	top: -30px;
	right: -30px;
	width: 100px;
	height: 100px;
	background: var(--teacherDetail_primary-light);
	opacity: 0.3;
	border-radius: 50%;
	z-index: 0;
}

.teacherDetail_profile::after {
	content: '';
	position: absolute;
	bottom: -20px;
	left: -20px;
	width: 80px;
	height: 80px;
	background: var(--teacherDetail_primary-light);
	opacity: 0.3;
	border-radius: 50%;
	z-index: 0;
}

.teacherDetail_profile .teacherDetail_avatar-container {
	position: relative;
	width: 200px;
	height: 200px;
	margin: 0 auto 20px;
}

.teacherDetail_profile img {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	object-fit: cover;
	border: 8px solid white;
	box-shadow: 0 10px 25px var(--teacherDetail_shadow);
	position: relative;
	z-index: 2;
}

.teacherDetail_profile h3 {
	margin: 15px 0;
	color: var(--teacherDetail_text);
	font-size: 28px;
	font-weight: 600;
	position: relative;
	z-index: 2;
}

.teacherDetail_badge-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 15px;
	position: relative;
	z-index: 2;
}

.teacherDetail_badge {
	display: inline-block;
	background: linear-gradient(135deg, var(--teacherDetail_primary), var(--teacherDetail_primary-dark));
	color: white;
	padding: 10px 18px;
	border-radius: 20px;
	font-size: 16px;
	font-weight: 500;
	box-shadow: 0 4px 10px var(--teacherDetail_shadow);
	transition: all 0.3s ease;
}

.teacherDetail_badge:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 6px 15px var(--teacherDetail_shadow);
}

.teacherDetail_details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.teacherDetail_detail {
	margin-bottom: 15px;
	background: var(--teacherDetail_gray);
	padding: 20px;
	border-radius: 12px;
	transition: all 0.3s ease;
	border: 1px solid rgba(0,0,0,0.03);
}

.teacherDetail_detail:hover {
	background: white;
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
	transform: translateY(-3px);
}

.teacherDetail_detail label {
	display: block;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--teacherDetail_text-light);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.teacherDetail_detail p {
	font-size: 16px;
	margin: 0;
	color: var(--teacherDetail_text);
	font-weight: 500;
}

.teacherDetail_detail i {
	margin-right: 10px;
	color: var(--teacherDetail_primary);
}

.teacherDetail_honors {
	margin-top: 30px;
}

.teacherDetail_honors h3 {
	color: var(--teacherDetail_text);
	margin-bottom: 20px;
	font-size: 22px;
	font-weight: 600;
	display: flex;
	align-items: center;
}

.teacherDetail_honors h3 i {
	margin-right: 10px;
	color: var(--teacherDetail_primary);
	font-size: 24px;
}

.teacherDetail_honors-container {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.teacherDetail_honor-item {
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, #ffffff, var(--teacherDetail_light));
	padding: 15px 20px;
	border-radius: 12px;
	transition: all 0.3s ease;
	border: 1px solid rgba(0,0,0,0.03);
	box-shadow: 0 5px 15px rgba(0,0,0,0.03);
	flex: 1 1 calc(50% - 15px);
	min-width: 200px;
}

.teacherDetail_honor-item:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
	background: white;
}

.teacherDetail_honor-item i {
	margin-right: 15px;
	color: var(--teacherDetail_primary);
	font-size: 24px;
	background: var(--teacherDetail_light);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	transition: all 0.3s ease;
}

.teacherDetail_honor-item:hover i {
	transform: rotate(15deg);
	background: var(--teacherDetail_primary);
	color: white;
}

.teacherDetail_bio {
	margin-top: 30px;
	background: var(--teacherDetail_gray);
	padding: 25px;
	border-radius: 12px;
	position: relative;
	border: 1px solid rgba(0,0,0,0.03);
	transition: all 0.3s ease;
}

.teacherDetail_bio:hover {
	background: white;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.teacherDetail_bio h3 {
	color: var(--teacherDetail_text);
	margin-bottom: 15px;
	font-size: 22px;
	font-weight: 600;
	display: flex;
	align-items: center;
}

.teacherDetail_bio h3 i {
	margin-right: 10px;
	color: var(--teacherDetail_primary);
	font-size: 24px;
}

.teacherDetail_bio p {
	line-height: 1.8;
	text-align: justify;
	color: var(--teacherDetail_text);
	position: relative;
	z-index: 1;
	font-size: 16px;
}

.teacherDetail_bio::before {
	content: "";
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 120px;
	color: var(--teacherDetail_primary);
	opacity: 0.1;
	font-family: serif;
	line-height: 1;
}

.teacherDetail_form-group {
	margin-bottom: 25px;
}

.teacherDetail_form-group label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
	color: var(--teacherDetail_text);
	font-size: 14px;
	letter-spacing: 0.5px;
}

.teacherDetail_form-control {
	width: 100%;
	padding: 15px;
	border: 2px solid var(--teacherDetail_gray);
	border-radius: 12px;
	transition: all 0.3s ease;
	font-size: 16px;
	background: var(--teacherDetail_gray);
	color: var(--teacherDetail_text);
}

.teacherDetail_form-control:focus {
	border-color: var(--teacherDetail_primary);
	box-shadow: 0 0 0 5px var(--teacherDetail_shadow);
	outline: none;
	background: white;
}

.teacherDetail_form-control::placeholder {
	color: #adb5bd;
}

.teacherDetail_form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.teacherDetail_form-actions {
	display: flex;
	justify-content: flex-end;
	gap: 15px;
	margin-top: 30px;
}

.teacherDetail_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--teacherDetail_primary), var(--teacherDetail_primary-dark));
	color: white;
	padding: 14px 28px;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
	font-size: 16px;
	box-shadow: 0 8px 15px var(--teacherDetail_shadow);
}

.teacherDetail_btn i {
	margin-right: 10px;
	font-size: 18px;
}

.teacherDetail_btn:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 25px var(--teacherDetail_shadow);
}

.teacherDetail_btn:active {
	transform: translateY(-2px);
}

.teacherDetail_btn-outline {
	background: transparent;
	border: 2px solid var(--teacherDetail_primary);
	color: var(--teacherDetail_primary);
	box-shadow: none;
}

.teacherDetail_btn-outline:hover {
	background: var(--teacherDetail_primary);
	color: white;
}

.teacherDetail_btn-danger {
	background: linear-gradient(135deg, var(--teacherDetail_danger), #ef5350);
	box-shadow: 0 8px 15px rgba(229, 115, 115, 0.3);
}

.teacherDetail_btn-danger:hover {
	box-shadow: 0 15px 25px rgba(229, 115, 115, 0.4);
}

.teacherDetail_toast {
	position: fixed;
	top: 30px;
	right: 30px;
	background: var(--teacherDetail_primary);
	color: white;
	padding: 15px 25px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	transform: translateX(150%);
	opacity: 0;
	display: flex;
	align-items: center;
}

.teacherDetail_toast.show {
	transform: translateX(0);
	opacity: 1;
}

.teacherDetail_toast i {
	margin-right: 15px;
	font-size: 24px;
}

.teacherDetail_toast.success {
	background: linear-gradient(135deg, var(--teacherDetail_success), #66bb6a);
}

.teacherDetail_toast.warning {
	background: linear-gradient(135deg, var(--teacherDetail_warning), #ffa726);
}

.teacherDetail_toast.error {
	background: linear-gradient(135deg, var(--teacherDetail_danger), #ef5350);
}

.teacherDetail_loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.9);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 999;
	backdrop-filter: blur(5px);
}

.teacherDetail_spinner {
	width: 60px;
	height: 60px;
	border: 4px solid rgba(89, 164, 255, 0.1);
	border-radius: 50%;
	border-top: 4px solid var(--teacherDetail_primary);
	animation: teacherDetail_spin 1s linear infinite;
	margin-bottom: 20px;
}

.teacherDetail_loading p {
	color: var(--teacherDetail_primary);
	font-weight: 600;
	letter-spacing: 1px;
	font-size: 18px;
}

@keyframes teacherDetail_spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* 响应式调整 */
@media (max-width: 1024px) {
	.teacherDetail_stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.teacherDetail_info {
		grid-template-columns: 1fr;
	}
	
	.teacherDetail_details {
		grid-template-columns: 1fr;
	}
	
	.teacherDetail_form-row {
		grid-template-columns: 1fr;
	}
	
	.teacherDetail_honor-item {
		flex: 1 1 100%;
	}
}
@media (max-width: 520px) {
	.teacherDetail_container{padding:30px 10px}
	.teacherDetail_card::before{all:unset}
	.teacherDetail_form-actions{justify-content: center;}
	.teacherDetail_form-actions i{display:none}
}
@media (max-width: 480px) {
	.teacherDetail_stats {
		grid-template-columns: 1fr;
	}
	
	.teacherDetail_card {
		padding: 20px;
	}
}
@media (max-width: 390px) {
	.teacherDetail_btn{padding: 10px 15px;}
}

/* 动画效果 */
.teacherDetail_fade-in {
	animation: teacherDetail_fadeIn 0.5s ease forwards;
	opacity: 0;
}

@keyframes teacherDetail_fadeIn {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 更新效果 */
.teacherDetail_updated {
	animation: teacherDetail_highlight 1s ease;
}

@keyframes teacherDetail_highlight {
	0% {
		background-color: rgba(89, 164, 255, 0.2);
	}
	100% {
		background-color: white;
	}
}