:root {
	--primary-color: #59a4ff;
	--primary-light: #83bbff;
	--primary-dark: #4183d7;
	--text-dark: #333;
	--text-light: #666;
	--text-lighter: #999;
	--bg-light: #F5F5F7;
	--white: #fff;
}

#page_my{
	margin: 0;
	padding: 0 0 66px 0;
	box-sizing: border-box;
	font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
	background-color: var(--bg-light);
	margin: 0 auto;
	min-height: 100vh;
}

.my_container {
	padding: 0;
	margin: 0 auto;
	position: relative;
	max-width: 100%;
}

.my_header {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	height: 250px;
	position: relative;
	padding: 20px;
	color: var(--white);
	/* Glass-like effect */
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	box-shadow: 0 4px 15px rgba(89, 164, 255, 0.3);
}

.my_profileInfo {
	display: flex;
	align-items: center;
	margin-top: 40px;
	position: relative;
}

.my_avatar {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.7);
	position: relative;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	background-color: var(--white);
	overflow: hidden;
}

.my_avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.my_addPhotoBtn {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	background-color: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: transform 0.3s ease, background-color 0.3s ease;
	z-index: 1;
}

.my_addPhotoBtn:hover {
	transform: scale(1.1);
}

.my_addPhotoBtn:active {
	transform: scale(0.9);
	background-color: var(--primary-dark);
}

.my_profileDetails {
	margin-left: 20px;
}

.my_teacherName {
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 20px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.my_teacherInfo {
	font-size: 16px;
	opacity: 0.9;
	margin-bottom: 10px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.my_editBtn {
	position: absolute;
	right: 20px;
	top: 75px; /* Aligned with class info */
	background-color: rgba(255, 255, 255, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.7);
	padding: 8px 20px;
	border-radius: 20px;
	color: var(--white);
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	/* Glass effect */
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.my_editBtn:hover {
	background-color: rgba(255, 255, 255, 0.35);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.my_editBtn:active {
	background-color: rgba(255, 255, 255, 0.4);
	transform: scale(0.97);
}

.my_featureIcon {
	width: 60px;
	height: 60px;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	font-size: 24px;
	transition: background-color 0.3s ease;
}

.my_memberFeature:hover .my_featureIcon {
	background-color: rgba(255, 255, 255, 0.3);
}

.my_featureName {
	font-size: 14px;
}

.my_activateBtn {
	position: absolute;
	right: 20px;
	top: 15px;
	background-color: var(--white);
	color: var(--primary-color);
	border: none;
	padding: 8px 20px;
	border-radius: 15px;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.my_activateBtn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.my_activateBtn:active {
	transform: scale(0.97);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	background-color: #f0f0f0;
}

.my_section {
	background-color: var(--white);
	margin: 15px;
	border-radius: 15px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.my_section:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.my_sectionHeader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	color: var(--text-dark);
	cursor: pointer;
}

.my_sectionTitle {
	font-size: 18px;
	font-weight: bold;
}

.my_sectionArrow {
	color: #ccc;
	font-size: 18px;
	transition: transform 0.3s ease;
}

.my_sectionHeader:hover .my_sectionArrow {
	transform: translateX(3px);
	color: var(--primary-color);
}

.my_workStats {
	display: flex;
	justify-content: space-between;
}

.my_statColumn {
	flex: 1;
	transition: transform 0.3s ease;
}

.my_statColumn:hover {
	transform: translateY(-3px);
}

.my_statLabel {
	font-size: 14px;
	color: var(--text-lighter);
	margin-bottom: 8px;
}

.my_statValue {
	font-size: 30px;
	font-weight: bold;
	color: var(--text-dark);
}

.my_statUnit {
	font-size: 16px;
	font-weight: normal;
	margin-left: 2px;
}

.my_features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px 15px;
}

.my_feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.my_feature:hover {
	transform: translateY(-5px);
}

.my_feature:active {
	transform: scale(0.95);
}

.my_featureIconBox {
	width: 70px;
	height: 70px;
	border-radius: 15px;
	border: 2px solid #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	font-size: 28px;
	color: var(--primary-color);
	transition: all 0.3s ease;
	background-color: rgba(89, 164, 255, 0.05);
}

.my_feature:hover .my_featureIconBox {
	border-color: var(--primary-color);
	background-color: rgba(89, 164, 255, 0.1);
	transform: rotate(5deg);
}

.my_featureLabel {
	font-size: 14px;
	color: var(--text-light);
	text-align: center;
	transition: color 0.3s ease;
}

.my_feature:hover .my_featureLabel {
	color: var(--primary-color);
}

.my_settingItem {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	transition: all 0.3s ease;
}

.my_settingItem:hover {
	padding-left: 5px;
}

.my_settingItem:hover .my_sectionArrow {
	transform: translateX(3px);
	color: var(--primary-color);
}

.my_settingItem:last-child {
	border-bottom: none;
}

.my_settingLabel {
	font-size: 16px;
	color: var(--text-dark);
}

.my_toast {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 0.7);
	color: var(--white);
	padding: 12px 25px;
	border-radius: 30px;
	font-size: 14px;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.my_show {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

@media (min-width: 768px) {
	.my_container {
		margin: 0 auto;
	}
	
	.my_features {
		grid-template-columns: repeat(6, 1fr);
	}
}

@media (max-width: 480px) {
	.my_memberFeatures {
		flex-wrap: wrap;
	}
	
	.my_memberFeature {
		width: 50%;
		margin-bottom: 15px;
	}
	
	.my_profileInfo {
		flex-direction: column;
		text-align: center;
	}
	
	.my_profileDetails {
		margin-left: 0;
		margin-top: 15px;
	}
	
	.my_editBtn {
		position: relative;
		right: auto;
		top: auto;
		margin-top: 15px;
	}
	.my_avatar{width:80px;height:80px}
	.my_profileInfo{margin-top:0}
	.my_editBtn{display:none}
	.my_teacherName {margin-bottom: 10px;}
}


.my_links_container {
	background: white;
	margin: 20px;
	border-radius: 20px;
	padding: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.my_link {
	display: flex;
	align-items: center;
	padding: 16px;
	border-bottom: 1px solid rgba(0,0,0,0.04);
	transition: all 0.3s ease;
	border-radius: 12px;
}

.my_link:last-child {
	border-bottom: none;
}

.my_link:active {
	background-color: #f8fbff;
	transform: translateX(4px);
}

.my_link i:first-child {
	width: 24px;
	font-size: 18px;
	margin-right: 12px;
	color: #4a90e2;
	transition: transform 0.3s ease;
}

.my_link:active i:first-child {
	transform: scale(1.1);
}

.my_link_text {
	color: #333;
	font-size: 15px;
	flex-grow: 1;
}

.my_link_arrow {
	color: #bbb;
	font-size: 14px;
	transition: transform 0.3s ease;
}

.my_link:active .my_link_arrow {
	transform: translateX(4px);
	color: #4a90e2;
}

#my_classes{
    width: 115px;
    text-overflow:ellipsis;
    overflow:hidden;
    white-space:nowrap;
}