/* Banner Section */
.banner-section {
	position: relative;
	width: 100%;
	height: 11.25rem;
	/* 180px */
	background: linear-gradient(135deg, #004d40 0%, #00acc1 100%);
	display: flex;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
	margin-top: 1.5rem;
}

.banner-section img {
	width: 100%;
	height: 100%;
}

.banner-text {
	z-index: 2;
}

.banner-title {
	color: #ffca28;
	font-weight: bold;
	font-size: 1.5rem;
	text-shadow: 0.125rem 0.125rem 0 #d32f2f, -0.0625rem -0.0625rem 0 #d32f2f;
	/* 2px, -1px */
	line-height: 1.2;
}

.banner-subtitle {
	color: #fff;
	background-color: #e65100;
	display: inline-block;
	padding: 0.2rem 0.5rem;
	border-radius: 1rem;
	font-size: 0.8rem;
	margin-top: 0.5rem;
}

.banner-img {
	height: 90%;
	object-fit: contain;
	z-index: 2;
}

/* Tabs Navigation */
.nav-tabs {
	border-bottom: none;
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	justify-content: flex-start;
	width: 100%;
	border-bottom: solid #218E75 0.0625rem;
	/* 1px */
	border-radius: 0.5rem;
}

/* Hide scrollbar Chrome/Safari */
.nav-tabs::-webkit-scrollbar {
	display: none;
}

.nav-link {
	color: #fff;
	border: none;
	font-size: 0.9rem;
	padding: 0.5rem 1rem;
}

.nav-link.active {
	background-color: var(--tab-active);
	color: white;
	border-radius: 0.5rem 0.5rem 0 0;
	border-bottom: 0.25rem solid #0d5e38;
	/* 4px */
}

.nav-link:focus,
.nav-link:hover {
	color: #fff;
}

/* Content Container */
.content-container {
	padding: 0 1rem;
	width: 100%;
	margin: 0 auto;
}

/* Link Box */
.link-box {
	background-color: #1a2c26;
	border-radius: 0.5rem;
	padding: 1rem;
	margin-bottom: 1.5rem;
	border: solid #218E75 1px;
}

.input-group {
	height: 3.5625rem;
	width: 100%;
	background: #344C47;
	border-radius: 0.5rem;
}

.input-group-text {
	background-color: transparent;
	border: 0.0625rem solid #444;
	/* 1px */
	color: white;
}

.form-control {
	background-color: transparent;
	border: none;
	color: white;
	font-size: 0.875rem;
}

.form-control:focus {
	background-color: transparent;
	color: white;
	border-color: var(--accent-green);
	box-shadow: none;
}

.btn-copy {
	background-color: #236455;
	color: white;
	border: none;
	height: 2.125rem;
	margin-top: 0.5rem;
	border-top-left-radius: 0.5rem !important;
	border-bottom-left-radius: 0.5rem !important;
}

/* Social Share Grid */
.share-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	margin-top: 2rem;
	text-align: center;
}

.share-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #fff;
	text-decoration: none;
	font-size: 0.675rem;
}

.share-icon {
	width: 2.5rem;
	/* 40px */
	height: 2.5rem;
	/* 40px */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.3rem;
	color: white;
	font-size: 1.2rem;
}

.share-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* Relationship Chart Placeholder */
.chart-section {
	text-align: center;
	margin: 2rem 0;
}

.chart-img {
	max-width: 100%;
	height: auto;
}

/* Commission Table */
.commission-table {
	background-color: #438979;
	border-radius: 0.5rem;
	overflow: hidden;
	margin-bottom: 2rem;
}

.table-header {
	background-image: linear-gradient(to bottom, #056070 0%, #218E75 100%);
	color: white;
	padding: 0.4rem 0.8rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.table-header .icon-daezijin {
	color: #FFE261;
}

.table-row {
	display: flex;
	padding: 0.8rem;
	font-size: 1rem;
}

.table-row:nth-child(even) {
	background-color: #056650;
}

.table-row.head {
	background-color: #056650;
	color: #80cbc4;
	/* font-size: 0.8rem; */
}

/* Add vertical separator lines using pseudo-elements */
.col-level,
.col-rollover {
	position: relative;
}

.nav-item-con {
	background: #2C4D44;
	border-radius: 0 0 0.5rem 0.5rem;
	height: 100%;
	box-shadow: 0 0.125rem 0 #218E75;
}

/* 2px */
.nav-item-con .nav-link.active {
	background: #218E75;
	border: solid #218E75 0.0625rem;
	border-radius: 0.5rem;
	color: #fff;
}

/* 1px */
.nav-item-con .nav-link {
	border: none;
}

.col-level {
	width: 17%;
	text-align: center;
}

.col-rollover {
	width: 57%;
	text-align: center;
}

.col-prop {
	width: 25%;
	text-align: right;
}

/* Footer Rules */

.table-row.head .col-level::after,
.table-row.head .col-rollover::after {
	content: '';
	position: absolute;
	right: 0;
	top: 25%;
	height: 65%;
	width: 0.125rem;
	/* 2px */
	background-color: #fff;
	opacity: 0.3;
}

.Convite {
	display: none;
	width: 100%;
}
.Convite.active{display: block;}
.dashboard-container {
	display: flex;
	gap: 0.625rem;
	/* 10px */
	
	/* 800px */
	margin: 1.8rem 0 auto 0;
}

/* Sidebar Tabs */
.sidebar-tabs {
	display: flex;
	flex-direction: column;
	width: 7.5rem;
	/* 120px */
	flex-shrink: 0;
}

.sidebar-tab {
	background-color: #516863;
	color: var(--text-white);
	padding: 0.9375rem 0.625rem;
	/* 15px 10px */
	/* 2px */
	border-radius: 0 0.625rem 0.625rem 0;
	/* Left rounded corners */
	text-decoration: none;
	font-size: 0.875rem;
	/* 14px */
	text-align: center;
	transition: all 0.3s ease;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.125rem;
	/* 50px */
}

.sidebar-tab.active {
	background-color: #0CC79C;
	color: white;
	font-weight: bold;
}

.sidebar-tab:hover:not(.active) {
	background-color: #566e68;
}

/* Main Content Area */
.content-area {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	/* 10px */
}

/* Date Picker Header */
.date-header {
	background-color: #344C47;
	/* 15px */
	border-radius: 0.625rem;
	/* 10px */
	display: flex;
	align-items: center;
	font-size: 0.875rem;
	/* 14px */
	/* Remove bottom left radius to match visual flow if needed */
	padding: 0.6375rem 0.4rem;
}

.date-icon {
	margin-right: 0.625rem;
	/* 10px */
	font-size: 1rem;
}

/* Stats List */
.stats-list {
	background-color: #344C47;
	border-radius: 0.625rem;
	/* 10px */
	overflow: hidden;
}

.stats-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.9375rem 1.25rem;
	/* 15px 20px */
	border-bottom: solid #3F6057 1px;
	font-size: 0.875rem;
	/* 14px */
}

.stats-item:last-child {
	border-bottom: none;
}

.stats-label {
	color: #d1d1d1;
}

.stats-value {
	font-weight: bold;
	/* 16px */
}

/* Date Picker Header */
.date-picker {
	background-color: #2a3e38;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
	cursor: pointer;
	margin-top: 1.4375rem;
}

/* Section Title */
.section-title {
	display: flex;
	align-items: center;
	font-weight: bold;
	font-size: 1rem;
	margin-bottom: 1rem;
}

.section-title .iconfont {
	color: #056070;
	font-size: 2.2rem;
}

.section-title span {
	padding-left: 0.5rem;
}

.section-icon {
	color: #26a69a;
	margin-right: 0.5rem;
	font-size: 1.25rem;
}

/* Stats Cards Grid */
.stats-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	/* First card wider */
	gap: 0.625rem;
	margin-bottom: 1.5rem;
}

.stat-card {
	background-image: linear-gradient(to bottom, #056070 0%, #218E75 100%);
	border-radius: 0.5rem;
	padding: 1rem 0.5rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 6.25rem;
}

.stat-value {
	font-size: 1.125rem;
	font-weight: bold;
	margin-bottom: 0.3rem;
}

.stat-label {
	font-size: 0.75rem;
	line-height: 1.2;
	opacity: 0.9;
}

/* Custom Tabs */
.custom-tabs {
	background-image: linear-gradient(to bottom, #056070 0%, #218E75 100%);
	border-radius: 0.8rem 0.8rem 0 0;
	/* Pill shape */
	display: flex;
	overflow: hidden;
	margin-bottom: 2rem;
	padding: 0.125rem;
}

.tab-item {
	flex: 1;
	text-align: center;
	padding: 0.625rem 0;
	font-size: 0.875rem;
	cursor: pointer;
	color: #b2dfdb;
	position: relative;
}

.tab-item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 25%;
	height: 50%;
	width: 1px;
	background-color: rgba(255, 255, 255, 0.2);
}

.tab-item.active {
	/* If we want active state styling */
	color: white;
	font-weight: bold;
}

/* Empty State */
.empty-state {
	text-align: center;
	color: #888;
	padding: 2rem 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.info-desc {
	font-size: 0.875rem;
	color: #fff;
}

.borderNone {
	border: none;
}

.empty-state div {
	margin-top: 0.8rem;
}

.empty-icon {
	font-size: 5rem;
	color: #2a3e38;
	margin-bottom: 1rem;
	opacity: 0.5;
}

/* Header Section */
.header-section {
	display: flex;
	align-items: center;
	margin-bottom: 2rem;
}

.avatar-container {
	position: relative;
	margin-right: 1rem;
}

.avatar-img {
	width: 3.75rem;
	/* 60px */
	height: 3.75rem;
	border-radius: 50%;
	border: 2px solid #2e7d32;
	object-fit: cover;
}

.avatar-badge {
	position: absolute;
	top: -0.3rem;
	left: -0.3rem;
	background-color: #ffca28;
	color: #333;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 0.8rem;
	border: 2px solid white;
}

.avatar-container {
	position: relative;
	margin-right: 1rem;
	width: 3.75rem;
	/* 60px */
	height: 3.75rem;
}

/* 新增一个内层容器用于裁剪圆形内容 (图片+底部文字) */
.avatar-inner {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	/* 关键：裁剪超出部分，形成完美的圆形 */
	position: relative;
	border: 2px solid #2e7d32;
	/* 边框加在容器上 */
}

.avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: none;
	/* 移除图片自身的边框，改用容器边框 */
}

.avatar-badge {
	position: absolute;
	top: -0.1rem;
	left: -0.1rem;
	background-color: #e4a868;
	/* 调整为更接近图片的浅橙色 */
	color: white;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 0.9rem;
	border: 2px solid var(--bg-color);
	/* 外部描边，与背景融合 */
	z-index: 3;
	/* 确保在最上层 */
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.avatar-label {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #00d28d;
	/* 亮绿色背景 */
	color: white;
	font-size: 0.6rem;
	padding: 0.15rem 0;
	text-align: center;
	font-weight: bold;
	z-index: 2;
	transform: none;
	/* 移除之前的居中变换 */
	border: none;
	/* 移除之前的边框 */
	border-radius: 0;
	/* 移除圆角 */
}

/* 新增一个内层容器用于裁剪圆形内容 (图片+底部文字) */
.avatar-inner {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	/* 关键：裁剪超出部分，形成完美的圆形 */
	position: relative;
	border: 2px solid #2e7d32;
	/* 边框加在容器上 */
}

.avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: none;
	/* 移除图片自身的边框，改用容器边框 */
}

.header-text {
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.3;
}

/* Central Stats */
.central-stats {
	text-align: center;
}

.stats-title {
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.stats-number {
	font-size: 1.2rem;
	font-weight: 500;
	color: #05BD8C;
}

/* Arrows Diagram Area */
.diagram-container {
	position: relative;
	height: 12.5rem;
	/* 200px */
	margin-bottom: 1rem;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

/* Arrow styles simulation */
.arrow-box {
	position: absolute;
	text-align: center;
	font-size: 0.75rem;
	color: #ccc;
}

.arrow-val {
	display: block;
	color: #05BD8C;
	font-size: 1rem;
	font-weight: bold;
}

/* Left Arrow */
.arrow-left {
	left: 0;
	bottom: 3rem;
	transform: rotate(-45deg);
}

.arrow-shape-left {
	width: 3rem;
	height: 3rem;
	border-top: 4px solid #1b5e20;
	border-right: 4px solid #1b5e20;
	transform: rotate(10deg);
	/* Adjust curve */
	border-radius: 0 1rem 0 0;
	position: absolute;
	top: 2rem;
	left: 3rem;
	opacity: 0.6;
}

/* Using images for arrows */
.arrow-img {
	width: 3rem;
	/* Adjust size as needed */
	height: auto;
	opacity: 0.8;
	display: block;
}

.arrow-pos-left {
	position: absolute;
	left: 20%;
	bottom: 35%;
	/* transform: rotate(-10deg); Optional fine-tuning */
}

.arrow-pos-center {
	position: absolute;
	left: 50%;
	bottom: 30%;
	transform: translateX(-50%);
}

.arrow-pos-right {
	position: absolute;
	right: 20%;
	bottom: 35%;
	/* transform: rotate(10deg); Optional fine-tuning */
}

.text-left {
	position: absolute;
	left: 5%;
	bottom: 50%;
	transform: rotate(-55deg);
	text-align: center;
}

.text-center {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	width: 100%;
}

.text-right {
	position: absolute;
	right: 5%;
	bottom: 50%;
	transform: rotate(55deg);
	text-align: center;
}

/* Cards Grid */
.cards-row {
	display: flex;
	gap: 0.625rem;
	justify-content: space-between;
}

.agent-card {
	background-color: #056650;
	border-radius: 0.625rem;
	flex: 1;
	padding: 0.5rem 0rem 0.2rem 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.card-avatar-container {
	position: relative;
	margin-bottom: 0.5rem;
}

.card-avatar {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid white;
}

.card-badge {
	position: absolute;
	top: -0.2rem;
	left: -0.2rem;
	background-color: #fff;
	color: #004d40;
	font-weight: bold;
	font-size: 0.6rem;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.card-title {
	font-size: 0.65rem;
	margin-bottom: 0.3rem;
	line-height: 1.2;
	color: #e0f2f1;
	padding: 0 0.5rem;
}

.card-val-large {
	font-size: 1rem;
}

.dashed-line {
	width: 100%;
	border-top: 1px dashed rgba(255, 255, 255, 0.2);
	margin: 0.5rem 0;
}

.card-footer-text {
	font-size: 0.6rem;
	color: #b2dfdb;
	margin-bottom: 0.2rem;
}

.card-footer-val {
	font-size: 0.9rem;
}
.info-header{font-weight: 500;}
.info-card{padding:0.9375rem 0;}
.info-desc{padding:0 0.9375rem ;}
/* Responsive */
@media (max-width: 480px) {
	.sidebar-tabs {
		width: 5rem;
	}

	.sidebar-tab {
		font-size: 0.75rem;
		padding: 0.6rem 0.2rem;
	}

	.stats-grid {
		grid-template-columns: 1fr;
		/* Stack on very small screens if needed, but flex/grid usually handles it */
		grid-template-columns: 1.5fr 1fr 1fr;
	}

}

@media (max-width: 576px) {
	.share-grid {
		grid-template-columns: repeat(7, 1fr);
	}
}

.navigation {
	margin-top: 0.565rem;
	margin-bottom: 1.875rem;
}
.flatpickr-calendar.open{max-width: 35rem;}