:root {
	--primary-color: #4caf50;
	--secondary-color: #2196f3;
	--text-color: #333;
	--bg-color: #f8f9fa;
	--border-radius: 12px;
	--success-color: #34c759;
	--warning-color: #ff9500;
	--danger-color: #ff3b30;
	--info-color: #4285f4
}

body {
	background-color: var(--bg-color);
	color: var(--text-color);
	font-family: Helvetica Neue, Arial, sans-serif;
	margin: 0;
	padding: 0
}

li{
    list-style: none;
}



.container-right {
	float: left;
	height: auto;
	margin-bottom: 0;
	margin-left: 2%;
	padding: 15px;
	width: 70%;
    border-radius: 8px;
    background: #fff;
}


/*PC*/
@media screen and (min-width:960px){
    .main-container {
        flex: 1;
        margin: 0 auto;
        max-width: 1200px;
        width: 100%;
        /* padding: 20px */
    }
    .container_life {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
        /* margin-top: 127px; */
        width: 25%;
        float: left;
        height: 100%;
    }
    .containers {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto; 
        padding: 0px;
        display: flex
    ;
        margin-bottom: 20px;
        /* gap: 20px; */
    }

    .text2 {
        width: 100%;
        max-width: 1160px;
        margin: auto;
        border: 1px solid rgba(0, 0, 0, 0);
     
    
        
        border-radius: 15px;
    
        background-color: white;
        padding: 17px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

		
     
    
    }
    
}



.footer-content p {
	margin: 0;
	padding: 0
}

.tool-introduction {
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	margin-top: 30px;
	padding: 20px
}

.kousuan-calculator {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
	margin: 0 auto;
	max-width: 100%;
	padding: 20px
}

.button-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px
}

.btn {
	align-items: center;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	justify-content: center;
	padding: 10px 20px;
	transition: all .3s
}

.btn-primary {
	background: linear-gradient(135deg, var(--info-color), #2962ff);
	box-shadow: 0 2px 5px rgba(66, 133, 244, .25);
	color: #fff
}

.btn-primary:hover {
	box-shadow: 0 5px 15px rgba(66, 133, 244, .35);
	transform: translateY(-2px)
}

.btn-secondary {
	background: #f0f0f0;
	border: 1px solid #ddd;
	color: #333
}

.btn-secondary:hover {
	background: #e5e5e5;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .1)
}

.btn-success {
	background: linear-gradient(135deg, var(--success-color), #28a745);
	box-shadow: 0 2px 5px rgba(40, 167, 69, .25);
	color: #fff
}

.btn-success:hover {
	box-shadow: 0 5px 15px rgba(40, 167, 69, .35);
	transform: translateY(-2px)
}

.btn-warning {
	background: linear-gradient(135deg, var(--warning-color), #f57c00);
	box-shadow: 0 2px 5px rgba(245, 124, 0, .25);
	color: #fff
}

.btn-warning:hover {
	box-shadow: 0 5px 15px rgba(245, 124, 0, .35);
	transform: translateY(-2px)
}

.btn-danger {
	background: linear-gradient(135deg, var(--danger-color), #d32f2f);
	box-shadow: 0 2px 5px rgba(211, 47, 47, .25);
	color: #fff
}

.btn-danger:hover {
	box-shadow: 0 5px 15px rgba(211, 47, 47, .35);
	transform: translateY(-2px)
}

.btn-sm {
	font-size: 12px;
	padding: 6px 12px
}

.btn-lg {
	font-size: 16px;
	padding: 12px 24px
}

.form-group {
	margin-bottom: 20px
}

.form-label {
	color: #333;
	display: block;
	font-weight: 600;
	margin-bottom: 8px
}

.form-control {
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	font-size: 14px;
	outline: none;
	padding: 10px 15px;
	transition: all .3s;
	width: 100%
}

.form-control:focus {
	border-color: var(--info-color);
	box-shadow: 0 0 0 3px rgba(66, 133, 244, .15)
}

.form-control.is-invalid {
	border-color: var(--danger-color)
}

.form-text {
	color: #666
}

.form-text,
.invalid-feedback {
	font-size: 12px;
	margin-top: 5px
}

.invalid-feedback {
	color: var(--danger-color)
}

.custom-checkbox {
	align-items: center;
	cursor: pointer;
	display: flex;
	margin-bottom: 8px;
	user-select: none
}

.custom-checkbox input[type=checkbox] {
	accent-color: var(--info-color);
	height: 16px;
	margin-right: 8px;
	width: 16px
}

.custom-radio {
	align-items: center;
	cursor: pointer;
	display: flex;
	margin-bottom: 8px;
	user-select: none
}

.custom-radio input[type=radio] {
	accent-color: var(--info-color);
	height: 16px;
	margin-right: 8px;
	width: 16px
}

.form-check-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 15px
}

.checkbox-card {
	align-items: center;
	background-color: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	padding: 8px 15px;
	transition: all .3s
}

.checkbox-card:hover {
	background-color: #e3f2fd;
	border-color: #bbdefb
}

.checkbox-card input[type=checkbox],
.checkbox-card input[type=radio] {
	accent-color: var(--info-color);
	margin-right: 8px
}

.input-group {
	margin-bottom: 15px
}

.input-group .form-control {
	border-radius: 6px 0 0 6px;
	border-right: 0
}

.input-group-append {
	display: flex
}

.input-group-text {
	align-items: center;
	background-color: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 0 6px 6px 0;
	color: #495057;
	display: flex;
	padding: 10px 15px
}

.input-group-text.btn {
	border-radius: 0 6px 6px 0;
	margin: 0
}

.nav-menu li a {
	border-radius: 6px;
	color: #fff;
	display: block;
	padding: 10px 20px;
	text-decoration: none;
	transition: all .3s
}

.nav-menu li a.active,
.nav-menu li a:hover {
	background: hsla(0, 0%, 100%, .2)
}

.dropdown {
	display: inline-block;
	position: relative
}

.dropdown-content {
	background-color: #00a895;
	border-radius: 5px;
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
	color: #2d3748;
	display: none;
	min-width: 120px;
	padding: 0;
	position: absolute;
	transition: all .3s ease;
	z-index: 999
}

.dropdown-content li {
	color: #333;
	list-style: none
}

.nav-logo a {
	color: #fff
}

.dropdown-content a,
.nav-logo a {
	display: block;
	text-decoration: none
}

.dropdown-content a {
	color: #333
}

.dropdown:hover .dropdown-content {
	display: block
}

.dropdown-content a:hover {
	background-color: #171616
}

.nav-bar {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
	position: sticky;
	top: 0;
	z-index: 1000
}

.nav-container {
	align-items: center;
	display: flex;
	height: 70px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1200px
}

.nav-logo {
	color: #fff;
	font-size: 24px;
	font-weight: 700
}

.answers {
	margin-top: 20px;
	width: 100%
}

.answers p {
	line-height: 1.5;
	margin: 0
}

.nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0
}

.nav-toggle {
	cursor: pointer;
	display: none;
	flex-direction: column
}

.nav-toggle span {
	background: #fff;
	border-radius: 3px;
	height: 3px;
	margin: 2px;
	transition: all .3s;
	width: 25px
}

.container {
	height: auto;
	margin: 10px auto;
	max-width: 1200px;
	overflow: hidden;
	padding: 10px
}

.footer {
	background-color: #fff;
	bottom: 0;
	clear: both;
	color: #030303;
	font-size: 14px;
	margin-top: 40px;
	padding: 20px 0;
	text-align: center;
	width: 100%
}


.footer-content {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 20px
}

.footer-content a {
	color: #1e1d1d
}

.daan {
	margin-top: 20px;
	padding: 10px;
	width: 100%
}

h1 {
	text-align: center
}

.options {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	margin-bottom: 10px
}

.options div {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: var(--border-radius);
	box-shadow: 0 3px 15px rgba(0, 0, 0, .05);
	padding: 10px;
	transition: transform .3s
}

.options div:hover {
	transform: translateY(-2px)
}

.options p {
	color: var(--text-color);
	font-size: 1.1em;
	font-weight: 600;
	margin: 0 0 15px
}

.divis_li input[type=number],
.divis_li input[type=text] {
	background: #f8fafc;
	border: 2px solid #e0e5ec;
	border-radius: 8px;
	color: #2d3748;
	font-size: 16px;
	outline: none;
	padding: 12px 15px;
	transition: all .3s;
	width: 80px
}

.divis_li input {
	padding: 0;
	width: 100px
}

.divis_li input[type=number]:focus,
.divis_li input[type=text]:focus {
	background: #fff;
	border-color: var(--secondary-color);
	box-shadow: 0 0 0 3px rgba(33, 150, 243, .1)
}

.print {
	background: linear-gradient(135deg, #2ecc71, #27ae60)
}

.questions {
	display: grid;
	gap: 8px;
	margin-top: 20px
}

.question-item {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: var(--border-radius);
	box-shadow: 0 3px 15px rgba(0, 0, 0, .05);
	font-size: 22px;
	padding: 10px 25px;
	transition: transform .3s
}

.question-item:hover {
	transform: translateY(-2px)
}

.container-left {
	background: #fff;
	border-radius: var(--border-radius);
	float: left;
	height: auto;
	padding: 10px;
	width: 20%
}

.container-left-list {
	margin: 0;
	padding: 0
}

.left-title {
	color: var(--text-color);
	font-size: 1.1em;
	font-weight: 600;
	margin: 0 0 15px
}

.container-left-list li {
	color: #333;
	font-size: 14px;
	list-style: none;
	margin-bottom: 15px
}

@media screen and (max-width:768px) {
	.containers {
		flex-direction: column;
        margin-top: 70px;
	}

	.container-right{
        padding: 0px;
    }
	.container_life {
		margin-bottom: 15px;
		margin-left: 0;
		margin-top: 0;
		width: 100%
	}



	.header-search-container {
		padding: 10px 20px 10px 60px
	}


    .text2{
        background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
    }
    
    .input-group input{
        width: 93%;
    }
}

@media (max-width:768px) {
	.nav-menu li a {
		border-radius: 6px;
		color: #2d2828;
		display: block;
		padding: 10px 20px;
		text-decoration: none;
		transition: all .3s
	}

	.container-right {
		float: none;
		margin-bottom: 2px;
		margin-top: 0;
		width: 100%
	}

	.container-left {
		float: none;
		margin-bottom: 20px;
		width: 100%
	}

	.footer {
		margin-top: 20px
	}

	.nav-toggle {
		display: flex
	}

	h1 {
		font-size: 2em;
		margin-bottom: 30px
	}

	.options div {
		padding: 20px
	}

	.question-item {
		font-size: 20px;
		padding: 15px 20px
	}

	.nav-menu {
		background-color: #fff;
		border-radius: 8px;
		box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
		display: none;
		flex-direction: column;
		gap: 15px;
		left: 50%;
		margin-top: 60px;
		max-width: 300px;
		padding: 20px;
		position: fixed;
		top: 0;
		transform: translateX(-50%);
		width: 80%;
		z-index: 10
	}

	.nav-menu.active {
		display: flex
	}

	.nav-menu div {
		border-bottom: 1px solid #eee;
		padding: 10px;
		text-align: center
	}

	.nav-menu div:last-child {
		border-bottom: none
	}

	.overlay.active {
		display: block
	}

	.left-column {
		height: 100%;
		left: -280px;
		position: fixed;
		top: 0;
		transition: left .3s ease;
		width: 280px;
		z-index: 1000
	}

	.left-column.active {
		left: 0;
        z-index: 1000;
        margin-top: 75px;
	}



	.header-search-container {
		padding: 10px 20px 10px 60px
	}

	L .main-container {
		flex-direction: column
	}

	.action-buttons {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		justify-content: center;
		margin: 20px 0 10px
	}

	.btn {
		border: none;
		border-radius: 4px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
		cursor: pointer;
		font-size: 15px;
		font-weight: 500;
		padding: 10px 18px;
		transition: all .3s
	}

	.btn-primary {
		background-color: #4caf50;
		color: #fff
	}

	.btn-success {
		background-color: #2196f3;
		color: #fff
	}

	.btn-warning {
		background-color: #ff9800;
		color: #fff
	}

	.btn:hover {
		box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
		opacity: .9;
		transform: translateY(-2px)
	}

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

	.ziti_btn {
		align-items: center;
		display: flex;
		gap: 8px
	}

	.ziti_btn button {
		background: #c0ced2;
		border: none;
		border-radius: 4px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
		color: #fff;
		cursor: pointer;
		font-size: 14px;
		font-weight: 500;
		padding: 6px 12px;
		transition: all .3s
	}

	.ziti_btn button:hover {
		box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
		opacity: .9;
		transform: translateY(-2px)
	}

	.ziti_btn button:active {
		box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
		transform: translateY(0)
	}

	.button-group {
		flex-direction: column
	}

	.button-group button {
		margin-bottom: 10px;
		width: 100%
	}

	.form-group {
		margin-bottom: 15px
	}
}

.print-preview {
	background: rgba(0, 0, 0, .5);
	overflow-y: auto;
	z-index: 1100
}

.print-container {
	box-shadow: 0 0 20px rgba(0, 0, 0, .2);
	display: none;
	margin: 20px auto;
	min-height: 297mm;
	padding: 20mm;
	width: 210mm
}

.print-header {
	margin-bottom: 30px;
	text-align: center
}

.print-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px
}

.print-info {
	color: #666;
	font-size: 14px;
	margin-bottom: 20px
}

.print-questions {
	display: grid;
	font-size: 16px;
	gap: 20px;
	grid-template-columns: repeat(3, 1fr)
}

.print-question {
	border-bottom: 1px dashed #eee;
	padding: 1px
}

.print-actions {
	position: fixed;
	right: 20px;
	top: 20px
}

@media print {
	body * {
		visibility: hidden
	}

	.print-container,
	.print-container * {
		visibility: visible
	}

	.print-container {
		box-shadow: none;
		left: 0;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 0;
		width: 100%
	}

	.print-actions {
		display: none
	}
}

.text {
	background: #fff;
	border: 1px solid transparent;
	border-radius: 15px;
	padding: 10px 20px
}

.wid {
	border-radius: 5px
}

.nr {
	line-height: 1.6
}

.tl {
	color: #333
}

.banner {
	display: none
}

.section {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
	margin-bottom: 10px;
	padding: 10px 20px 20px
}

.section-title {
	border-bottom: 1px solid #eee;
	font-size: 22px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	position: relative
}



.card-grid,
.featured-card-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 20px
}

.tool-card {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
	color: #333;
	display: flex;
	padding: 16px;
	position: relative;
	text-decoration: none;
	transition: transform .3s, box-shadow .3s
}

.tool-card:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
	transform: translateY(-5px)
}

.tool-icon {
	align-items: center;
	border-radius: 10px;
	display: flex;
	flex-shrink: 0;
	font-size: 28px;
	height: 56px;
	justify-content: center;
	margin-right: 14px;
	width: 56px
}

.tool-content {
	flex: 1
}

.tool-title {
	color: #333;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px
}

.tool-desc {
	color: #666;
	display: -webkit-box;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical
}

.tool-badge {
	border-radius: 0 10px 0 10px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 10px;
	position: absolute;
	right: 0;
	top: 0
}

.badge-new {
	background-color: #ff9500
}

.badge-hot {
	background-color: #ff3b30
}

.badge-recommend {
	background-color: #fc0
}

.featured-card {
	align-items: center;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
	display: flex;
	padding: 25px;
	position: relative;
	transition: transform .3s, box-shadow .3s
}

.featured-card:hover {
	box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
	transform: translateY(-5px)
}

.category-label {
	background-color: #f5f5f5;
	border-radius: 10px;
	color: #666;
	font-size: 12px;
	padding: 2px 8px;
	position: absolute;
	right: 10px;
	top: 10px
}

.tool-link {
	background-color: #4285f4;
	border-radius: 5px;
	color: #fff;
	display: inline-block;
	font-size: 14px;
	margin-top: auto;
	padding: 8px 15px;
	text-align: center;
	text-decoration: none;
	transition: background-color .3s
}

.tool-link:hover {
	background-color: #3367d6
}

.bg-blue,
.bg-green,
.bg-orange,
.bg-purple,
.bg-red,
.bg-yellow {
	display: none
}

.back-to-top {
	align-items: center;
	background-color: #4285f4;
	border-radius: 50%;
	bottom: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 20px;
	height: 50px;
	justify-content: center;
	opacity: 0;
	position: fixed;
	right: 30px;
	transform: translateY(20px);
	transition: opacity .3s, transform .3s;
	width: 50px;
	z-index: 99
}

.back-to-top.visible {
	opacity: 1;
	transform: translateY(0)
}

.container {
	margin: 0 auto;
	max-width: 1500px;
	padding: 0 15px
}

@media (max-width:1500px) {

	.card-grid,
	.featured-card-grid {
		grid-template-columns: repeat(3, 1fr)
	}
}

@media (max-width:1200px) {
	.featured-card-grid {
		grid-template-columns: repeat(3, 1fr)
	}
}

@media (max-width:992px) {

	.card-grid,
	.featured-card-grid {
		grid-template-columns: repeat(2, 1fr)
	}

	.tool-card {
		padding: 15px
	}

	.tool-icon {
		font-size: 24px;
		height: 50px;
		margin-right: 12px;
		width: 50px
	}
}

@media (max-width:768px) {
	.left-column {
		height: 100%;
		left: 0;
		position: fixed;
		top: 0;
		transform: translateX(-100%);
		width: 250px;
		z-index: 1000
	}

	.left-column.active {
		transform: translateX(0)
	}



	.header-search-container {
		padding: 10px 20px 10px 60px
	}

	.main-container {
		flex-direction: column
	}

	.sidebar {
		height: auto;
		margin-bottom: 20px;
		position: static;
		width: 100%
	}

	.category-nav a {
		padding: 8px 15px
	}

	.search-input {
		font-size: 14px;
		padding: 10px 15px
	}

	.login-button {
		font-size: 12px;
		padding: 6px 10px
	}

	.login-button span {
		display: none
	}

	.login-icon {
		margin-right: 0
	}
}

@media (max-width:480px) {

	.card-grid,
	.featured-card-grid {
		grid-template-columns: 1fr
	}

	.banner h1 {
		font-size: 24px
	}

	.banner p {
		font-size: 14px
	}
}

.icon-blue {
	background-color: #e6f3ff;
	color: #4285f4
}

.icon-red {
	background-color: #ffe6e6;
	color: #ea4335
}

.icon-green {
	background-color: #e6ffea;
	color: #34a853
}

.icon-yellow {
	background-color: #fffde6;
	color: #fbbc05
}

.icon-purple {
	background-color: #f2e6ff;
	color: #9c27b0
}

.icon-orange {
	background-color: #fff0e6;
	color: #ff5722
}

.sidebar {
	display: flex;
	flex-direction: column;
	height: 100%
}

.sidebar-logo {
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
	padding: 15px
}

.sidebar-logo a {
	color: #333;
	display: flex;
	flex-direction: column;
	text-decoration: none
}

.logo-img {
	align-items: center;
	display: flex;
	font-size: 32px;
	height: 40px;
	justify-content: center;
	margin-bottom: 5px;
	width: 40px
}

.logo-text {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 3px
}

.logo-subtitle {
	color: #666;
	font-size: 12px
}

.category-nav {
	background-color: #fff;
	border-radius: 10px;
	padding: 15px
}

.category-nav ul {
	list-style: none;
	margin: 0;
	padding: 0
}

.category-nav li {
	margin-bottom: 8px
}

.category-nav a {
	background-color: #f5f5f5;
	border-radius: 5px;
	color: #333;
	display: block;
	font-size: 14px;
	padding: 10px 15px;
	text-decoration: none;
	transition: all .3s
}

.category-nav a.active,
.category-nav a:hover {
	background-color: #4285f4;
	color: #fff
}

.ccx_box1 {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .1);
	margin: 0 auto 30px;
	max-width: 100%;
	padding: 20px
}

.ccx_box1 .content {
	padding: 10px
}

.ccx_box1 .divis {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between
}

.ccx_box1 .divis_li {
	align-items: center;
	background-color: #f9f9f9;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
	display: flex;
	margin-bottom: 10px;
	padding: 10px;
	transition: all .3s ease;
	width: 100%
}

.ccx_box1 .divis_li:hover {
	background-color: #f0f7ff
}

.ccx_box1 .divis_li span {
	color: #333;
	font-weight: 500;
	padding-right: 10px;
	width: 120px
}

.ccx_box1 .inptext1 {
	border: 1px solid #ddd;
	border-radius: 4px;
	flex: 1;
	font-size: 14px;
	padding: 8px 12px;
	transition: border-color .3s
}

.ccx_box1 .inptext1:focus {
	border-color: #4b8bf4;
	box-shadow: 0 0 0 2px rgba(75, 139, 244, .2);
	outline: none
}

.ccx_box1 .btn2 {
	background-color: #4b8bf4;
	border: none;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font-weight: 500;
	padding: 8px 15px;
	transition: background-color .3s
}

.ccx_box1 .btn2:hover {
	background-color: #3a7ae0
}

.ccx_box1 .btn1 {
	background-color: #f44336;
	border: none;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font-weight: 500;
	margin: 15px 0;
	padding: 10px 20px;
	transition: background-color .3s
}

.ccx_box1 .btn1:hover {
	background-color: #e53935
}

.ccx_box1 h2 {
	border-left: 4px solid #4b8bf4;
	color: #333;
	font-size: 20px;
	margin-bottom: 15px;
	margin-top: 30px;
	padding-left: 10px
}

.ccx_box1 h3 {
	color: #444;
	font-size: 18px;
	margin-bottom: 10px;
	margin-top: 20px
}

.ccx_box1 p {
	color: #555;
	line-height: 1.6;
	margin-bottom: 10px
}

@media (min-width:768px) {
	.ccx_box1 .divis_li {
		width: calc(50% - 10px)
	}
}

@media (min-width:992px) {
	.ccx_box1 .divis_li {
		width: calc(33.33% - 10px)
	}
}

@media (max-width:767px) {
	.ccx_box1 {
		padding: 15px 10px
	}

	.ccx_box1 .divis_li {
		align-items: flex-start;
		flex-direction: column
	}

	.ccx_box1 .divis_li span,
	.ccx_box1 .inptext1 {
		margin-bottom: 8px;
		width: 100%
	}

	.ccx_box1 .btn2 {
		width: 100%
	}

	.left-column {
		height: 100%;
		left: -280px;
		position: fixed;
		top: 0;
		transition: left .3s ease;
		width: 280px;
		z-index: 1000
	}

	.left-column.active {
		left: 0
	}

	.sidebar-toggle {
		background-color: hsla(0, 0%, 100%, .9);
		box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
		display: flex;
		height: 40px;
		left: 15px;
		position: fixed;
		top: 15px;
		width: 40px;
		z-index: 1001
	}

	.header-search-container {
		padding: 10px 20px 10px 60px
	}

	.main-container {
		flex-direction: column;
		padding: 15px;
        margin-top: 70px;
	}

	.sidebar {
		height: auto;
		margin-bottom: 20px;
		position: static;
		width: 100%
	}

	.search-wrapper {
		max-width: 100%
	}

	.login-wrapper {
		display: none
	}
}

.chengfa-table {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
	margin: 0 auto 20px;
	max-width: 100%;
	padding: 20px
}

table {
	border-collapse: collapse;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
	margin: 20px 0;
	overflow: hidden;
	width: 100%
}

td,
th {
	border: 1px solid #e0e0e0;
	padding: 12px;
	text-align: center;
	transition: all .2s
}

th {
	background-color: #f2f2f2;
	color: #333;
	font-weight: 600
}

tr:nth-child(2n) {
	background-color: #f9f9f9
}

tr:nth-child(odd) {
	background-color: #fff
}

td:hover {
	background-color: #e3f2fd;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
	position: relative;
	transform: scale(1.02);
	z-index: 1
}

.triangle {
	margin-left: 20px
}

.action-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px
}

.print-preview {
	align-items: center;
	background: rgba(0, 0, 0, .7);
	display: none;
	height: 100%;
	justify-content: center;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999
}

.print-preview.active {
	display: flex
}

.print-container {
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, .3);
	box-sizing: border-box;
	height: 210mm;
	max-width: 297mm;
	overflow: auto;
	padding: 20px;
	position: relative;
	width: 90%
}

.print-close {
	align-items: center;
	background: #f44336;
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	height: 30px;
	justify-content: center;
	right: 10px;
	width: 30px;
	z-index: 1
}

.print-actions,
.print-close {
	display: flex;
	position: absolute;
	top: 10px
}

.print-actions {
	gap: 10px;
	right: 50px
}

.main-wrapper {
	display: flex;
	min-height: 100vh
}

.left-column {
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, .05);
	flex-shrink: 0;
	height: 100vh;
	overflow-y: auto;
	position: sticky;
	top: 0;
	transition: transform .3s ease-in-out;
	width: 245px;
	z-index: 100
}

.sidebar-toggle {
	align-items: center;
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
	cursor: pointer;
	display: none;
	flex-direction: column;
	height: 40px;
	justify-content: center;
	left: 10px;
	padding: 0;
	position: fixed;
	top: 10px;
	width: 40px;
	z-index: 101
}

.sidebar-toggle span {
	background-color: #333;
	display: block;
	height: 3px;
	margin: 2px 0;
	transition: all .3s;
	width: 25px
}

.sidebar-toggle.active span:first-child {
	transform: rotate(45deg) translate(5px, 5px)
}

.sidebar-toggle.active span:nth-child(2) {
	opacity: 0
}

.sidebar-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px)
}

.right-column {
	display: flex;
	flex: 1;
	flex-direction: column
}

.header-search-container {
	align-items: center;
	border-bottom: 1px solid #eee;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1200px;
	padding: 10px 20px 10px 0px;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 99
}

.search-wrapper {
	align-items: center;
	display: flex;
	flex: 1;
	max-width: 800px;
	position: relative
}

.search-input {
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 30px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
	font-size: 16px;
	outline: none;
	padding: 12px 20px;
	transition: all .3s;
	width: 100%
}

.search-input:focus {
	border-color: #4285f4;
	box-shadow: 0 3px 12px rgba(66, 133, 244, .15)
}

.search-button {
	background: none;
	border: none;
	color: #4285f4;
	cursor: pointer;
	font-size: 18px;
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%)
}

.search-stat {
	color: #666;
	font-size: 13px;
	margin-left: 20px
}

.login-wrapper {
	margin-left: 20px
}

.login-button,
.login-wrapper {
	align-items: center;
	display: flex
}

.login-button {
	background-color: #f8f8f8;
	border: 1px solid #eee;
	border-radius: 20px;
	color: #333;
	font-size: 14px;
	padding: 8px 15px;
	text-decoration: none;
	transition: background-color .3s;
	white-space: nowrap
}

.login-button:hover {
	background-color: #eee
}

.login-icon {
	font-size: 16px;
	margin-right: 8px
}

.content {
	flex: 1
}

.age-calculator {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
	margin: 0 auto;
	max-width: 100%;
	padding: 20px
}

.input-section {
	margin-bottom: 20px
}

.input-group {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	margin: 15px 0;
	width: 40%
}

.input-group label {
	color: #333;
	font-weight: 600;
	margin-right: 10px;
	width: 120px
}

.date-selector {
	align-items: center;
	background: #f7f9fc;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
	display: flex;
	flex: 1;
	padding: 10px 15px
}

.date-selector select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0h12L6 6z" fill="%23555"/></svg>');
	background-position: right 10px center;
	background-repeat: no-repeat;
	border: 1px solid #ced4da;
	border-radius: 4px;
	color: #555;
	cursor: pointer;
	font-size: 15px;
	margin: 0 5px;
	padding: 10px 25px 10px 12px;
	transition: all .2s ease
}

.date-selector select:hover {
	border-color: #adb5bd
}

.date-selector select:focus {
	border-color: #80bdff;
	box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
	outline: none
}

.date-selector span {
	color: #555;
	font-weight: 600;
	margin: 0 5px
}

.calculate-btn {
	background: #3498db;
	border: none;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	margin-left: 15px;
	padding: 12px 24px;
	transition: all .2s ease
}

.calculate-btn:hover {
	background: #2980b9;
	box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
	transform: translateY(-1px)
}

.calculate-btn:active {
	box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
	transform: translateY(1px)
}

.date-type-notice {
	background-color: #f8f9fa;
	border-left: 4px solid #3498db;
	border-radius: 4px;
	color: #6c757d;
	font-size: 14px;
	margin-top: 15px;
	padding: 10px;
	text-align: center
}

.tab-switcher {
	border-bottom: 1px solid #dee2e6;
	display: flex;
	margin-bottom: 20px
}

.tab-btn {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	color: #6c757d;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	padding: 12px 20px;
	transition: all .3s ease
}

.tab-btn.active {
	border-bottom-color: #3498db;
	color: #3498db
}

.tab-btn:hover:not(.active) {
	border-bottom-color: #e9ecef;
	color: #495057
}

.result-section {
	margin-top: 30px
}

.result-table {
	border-collapse: collapse;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
	margin-top: 20px;
	width: 100%
}

.result-table td,
.result-table th {
	border: 1px solid #e9ecef;
	padding: 15px;
	text-align: left
}

.result-table th {
	background-color: #f8f9fa;
	color: #495057;
	font-weight: 600;
	width: 150px
}

.red-text {
	color: #e74c3c;
	font-weight: 700
}

.progress-bar {
	background-color: #f1f1f1;
	border-radius: 10px;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1);
	height: 20px;
	margin-top: 10px;
	overflow: hidden
}

.progress-fill {
	background: linear-gradient(90deg, #2ecc71, #27ae60);
	border-radius: 10px;
	height: 100%;
	transition: width .5s ease-in-out
}

h3 {
	border-left: 4px solid #3498db;
	color: #34495e;
	margin: 10px 0 15px;
	padding-left: 12px
}

@media (max-width:767px) {
	.input-group {
		align-items: flex-start;
		flex-direction: column
	}

	.input-group label {
		margin-bottom: 8px;
		width: 100%
	}

	.date-selector {
		flex-wrap: wrap;
		justify-content: space-between;
		width: 100%
	}

	.calculate-btn {
		margin-left: 0;
		margin-top: 15px;
		width: 100%
	}

	.left-column {
		height: 100%;
		left: -280px;
		position: fixed;
		top: 0;
		transition: left .3s ease;
		width: 280px;
		z-index: 1000
	}

	.left-column.active {
		left: 0
	}

	.sidebar-toggle {
		background-color: hsla(0, 0%, 100%, .9);
		box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
		display: flex;
		height: 40px;
		left: 15px;
		position: fixed;
		top: 15px;
		width: 40px;
		z-index: 1001
	}

	.sidebar-toggle.active span:first-child {
		transform: rotate(45deg) translate(5px, 5px)
	}

	.sidebar-toggle.active span:nth-child(2) {
		opacity: 0
	}

	.sidebar-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -5px)
	}

	.header-search-container {
		padding: 10px 20px 10px 60px
	}

	.main-container {
		flex-direction: column
	}

	.sidebar {
		height: auto;
		margin-bottom: 20px;
		position: static
	}

	.sidebar,
	.tool-item {
		width: 100%
	}
}

#jisuan {
	display: flex;
	justify-content: center;
	margin: 20px 0
}

.calculator_main {
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, .1);
	max-width: 550px;
	overflow: hidden;
	width: 100%
}

.calculator_hd {
	background-color: #f8f8f8;
	border-bottom: 1px solid #eee;
	padding: 15px
}

.resultIpt {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-sizing: border-box;
	font-size: 20px;
	padding: 15px;
	text-align: right;
	width: 100%
}

.calculator_table {
	list-style: none;
	margin: 0;
	padding: 0
}

.calculator_table li {
	border-bottom: 1px solid #f0f0f0;
	display: flex
}

.calculator_table li:last-child {
	border-bottom: none
}

.cal_btn {
	border-right: 1px solid #f0f0f0;
	color: #333;
	display: block;
	flex: 1;
	font-size: 16px;
	padding: 15px 0;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s
}

.cal_btn:last-child {
	border-right: none
}

.cal_btn:hover {
	background-color: #f5f5f5
}

.cal_btn_gray {
	background-color: #f9f9f9
}

.cal_btn_org {
	background-color: #ffebee;
	color: #e53935
}

.cal_btn_bla {
	background-color: #4285f4;
	color: #fff
}

.wid {
	background-color: #f8f9fa;
	border-radius: 8px;
	line-height: 1.5;
	margin-bottom: 20px;
	padding: 15px
}

@media (max-width:767px) {
	.left-column {
		height: 100%;
		left: -280px;
		overflow-y: auto;
		position: fixed;
		top: 0;
		transition: left .3s ease;
		width: 280px;
		z-index: 1000;
		-webkit-overflow-scrolling: touch
	}

	.left-column.active {
		left: 0
	}

	.sidebar-toggle {
		background-color: hsla(0, 0%, 100%, .9);
		box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
		display: flex;
		height: 40px;
		left: 15px;
		position: fixed;
		top: 15px;
		width: 40px;
		z-index: 1001
	}

	.header-search-container {
		padding: 10px 20px 10px 60px
	}

	.main-container {
		flex-direction: column;
		padding: 15px
	}

	.sidebar {
		height: auto;
		margin-bottom: 20px;
		position: static;
		width: 100%
	}

	.search-wrapper {
		max-width: 100%
	}

	.login-wrapper {
		display: none
	}

	.calculator_main {
		max-width: 90%
	}

	.cal_btn {
		font-size: 15px;
		padding: 12px 0
	}

	.resultIpt {
		font-size: 18px;
		padding: 12px
	}

	h1 {
		font-size: 22px;
		margin: 15px 0;
		padding: 0 5px
	}

	h2 {
		font-size: 18px;
		margin: 25px 0 15px
	}

	p {
		font-size: 15px;
		line-height: 1.5;
		margin: 12px 0
	}

	.wid.nr.tl {
		border-radius: 8px;
		font-size: 14px;
		margin-bottom: 15px;
		padding: 12px
	}

	body,
	html {
		-webkit-overflow-scrolling: touch;
		height: 100%;
		overflow-x: hidden
	}
}

@media (max-width:480px) {
	.cal_btn {
		font-size: 14px;
		padding: 10px 0
	}

	.main-container {
		padding: 10px
	}

	h1 {
		font-size: 20px;
		margin: 10px 0
	}

	.wid.nr {
		padding: 10px
	}
}

@media print {
	@page {
		size: A4 landscape;
		margin: 0
	}

	body {
		margin: 0
	}

	table {
		width: 100%
	}

	table,
	td,
	th {
		border: 1px solid #000
	}
}

 
.rating {
    display: flex;
    align-items: center;
}

.star {
    color: #f39c12;
    font-size: 20px;
    margin-right: 3px;
}

.rating-number {
    margin-left: 5px;
    color: #777;
    font-weight: 500;
}

.time-container {
    background-color: #f0faff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.clock-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

.analog-clock {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background-color: #fff;
    border: 8px solid #3498db;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.analog-clock::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #333;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hour-hand, .minute-hand, .second-hand {
    position: absolute;
    background-color: #333;
    transform-origin: bottom center;
    top: 50%;
    left: 50%;
    border-radius: 10px;
}

.hour-hand {
    width: 8px;
    height: 60px;
    transform: translate(-50%, -100%);
    background-color: #333;
}

.minute-hand {
    width: 4px;
    height: 80px;
    transform: translate(-50%, -100%);
    background-color: #555;
}

.second-hand {
    width: 2px;
    height: 90px;
    transform: translate(-50%, -100%);
    background-color: #e74c3c;
}

.clock-marks {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.mark {
    position: absolute;
    width: 2px;
    height: 10px;
    background-color: #333;
    left: 50%;
    margin-left: -1px;
    transform-origin: center 132px;
}

.mark.hour-mark {
    height: 15px;
    width: 3px;
    background-color: #333;
}

.clock-numbers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.clock-number {
    position: absolute;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    transform-origin: center;
}

.clock-number-1 { top: 10%; right: 26%; }
.clock-number-2 { top: 26%; right: 10%; }
.clock-number-3 { top: 50%; right: 5%; transform: translateY(-50%); }
.clock-number-4 { bottom: 26%; right: 10%; }
.clock-number-5 { bottom: 10%; right: 26%; }
.clock-number-6 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.clock-number-7 { bottom: 10%; left: 26%; }
.clock-number-8 { bottom: 26%; left: 10%; }
.clock-number-9 { top: 50%; left: 5%; transform: translateY(-50%); }
.clock-number-10 { top: 26%; left: 10%; }
.clock-number-11 { top: 10%; left: 26%; }
.clock-number-12 { top: 5%; left: 50%; transform: translateX(-50%); }

.digital-time {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.time-unit {
    padding: 15px 25px;
    background-color: #3498db;
    color: white;
    font-size: 36px;
    font-weight: 600;
    border-radius: 8px;
    margin: 0 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 60px;
    text-align: center;
}

.time-separator {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin: 0 5px;
}

.date-display {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #555;
    margin-top: 15px;
}

.info-section {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
}

.info-item {
    display: flex;
    margin-bottom: 15px;
}

.info-label {
    width: 100px;
    font-weight: 600;
    color: #555;
}

.info-value {
    flex: 1;
    color: #333;
}

.time-description {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
}

.time-description h2 {
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.time-description h3 {
    color: #3498db;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.time-description ul, .time-description ol {
    padding-left: 25px;
}

.time-description li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.time-notice {
    background-color: #fff9e6;
    border-left: 4px solid #f39c12;
    padding: 15px;
    margin-top: 20px;
    border-radius: 0 5px 5px 0;
}

.time-notice h4 {
    margin-top: 0;
    color: #f39c12;
}

@media (max-width: 767px) {
    .left-column {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        z-index: 1000;
        height: 100%;
        transition: left 0.3s ease;
    }
    
    .left-column.active {
        left: 0;
    }
    
    .sidebar-toggle {
        display: flex;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1001;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .sidebar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .sidebar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .sidebar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .header-search-container {
        padding: 10px 20px 10px 60px;
        background: #ffffff;
        display: flex; 
        position: fixed;
    
        /* top: 15px; */
        /* left: 15px; */
        z-index: 1000; 
    }
    
    .main-container {
        flex-direction: column;
    }
    
    .time-container {
        flex-direction: column;
    }
    
    .clock-section {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .analog-clock {
        width: 220px;
        height: 220px;
    }
    
    .mark {
        transform-origin: center 102px;
    }
    
    .clock-number {
        font-size: 16px;
    }
    
    .time-unit {
        padding: 10px 15px;
        font-size: 28px;
        min-width: 45px;
    }
    
    .time-separator {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .analog-clock {
        width: 180px;
        height: 180px;
    }
    
    .mark {
        transform-origin: center 82px;
    }
    
    .hour-hand {
        height: 40px;
    }
    
    .minute-hand {
        height: 60px;
    }
    
    .second-hand {
        height: 70px;
    }
    
    .clock-number {
        font-size: 14px;
        width: 25px;
        height: 25px;
        line-height: 25px;
    }
    
    .time-unit {
        padding: 8px 12px;
        font-size: 22px;
        min-width: 35px;
    }
    
    .time-separator {
        font-size: 22px;
    }
}
.examples {
    display: flex
;
    flex-wrap: wrap;
    gap: 15px;
}
.example {
    background-color: #f0f8ff;
    padding: 10px 15px;
    border-radius: 5px;
    flex: 1 1 45%;
    min-width: 200px;
}

   /* 密码生成器样式 */
   .password-generator {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.notice-box {
    background-color: #f8f9fa;
    border-left: 4px solid #4285f4;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 0 5px 5px 0;
}

.notice-box p {
    margin: 0;
    color: #555;
}


.options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: #f5f7fa;
    border-radius: 5px;
}

.option-item label {
    cursor: pointer;
}

.input-options-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}



.input-group label {
    min-width: 100px;
    margin-right: 10px;
    font-weight: 500;
}

.input-wrapper {
    flex: 1;
    max-width: 100%;
}



.input-wrapper input:focus {
    border-color: #4285f4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    flex-grow: 1;
    min-width: 120px;
}

.generate-btn {
    background-color: #4285f4;
    color: white;
}

.generate-btn:hover {
    background-color: #3367d6;
}

.action-btn {
    background-color: #f2f2f2;
    color: #333;
}

.action-btn:hover {
    background-color: #e0e0e0;
}

.result-section {
    margin-top: 20px;
}

.result-box {
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background-color: #f9f9f9;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
}

.copy-success {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(52, 168, 83, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9999;
}

.copy-success.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .tool-item {
        width: calc(50% - 15px);
    }
    
    .button-group {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .btn {
        min-width: calc(50% - 10px);
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .tool-item {
        width: 100%;
    }
    
    .left-column {
        transform: translateX(-100%);
        position: fixed;
        z-index: 1000;
        transition: transform 0.3s ease-in-out;
    }
    
    .left-column.active {
        transform: translateX(0);
    }
    
   
    
    .right-column {
        /* padding: 0 10px; */
    }
    
    .header-search-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-wrapper {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .login-wrapper {
        margin-left: 0;
    }
    

    
    .options-grid {
        flex-direction: column;
        gap: 10px;
    }
    
    .input-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .input-group label {
        width: 100%;
        margin-bottom: 8px;
        margin-right: 0;
    }
    
    .input-wrapper {
        width: 100%;
    }
    
    .button-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        min-width: 100%;
        padding: 14px 15px;
    }
    
    .password-generator {
        padding: 15px;
    }
    
    .notice-box {
        padding: 12px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 15px 10px;
    }
    
    .password-generator {
        padding: 12px;
    }
    
    .option-item {
        padding: 6px 10px;
    }
    
    .input-wrapper input {
        padding: 8px 10px;
        width: 100%;
    }
}

/* 元素周期表样式 */
.periodic-table-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 30px;
    overflow-x: auto;
}

.periodic-table {
    border-collapse: separate;
    border-spacing: 2px;
    margin: 0 auto;
}

.element {
    width: 64px;
    height: 64px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.element:hover {
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.element-number {
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 10px;
    font-weight: normal;
}

.element-symbol {
    font-size: 20px;
    font-weight: bold;
    margin-top: 14px;
}

.element-name {
    font-size: 10px;
}

.element-weight {
    font-size: 8px;
    color: #555;
}

/* 元素分类颜色 */
.alkali-metal {
    background-color: rgba(255, 102, 102, 0.8);
}

.alkaline-earth {
    background-color: rgba(255, 171, 64, 0.8);
}

.transition-metal {
    background-color: rgba(255, 206, 86, 0.8);
}

.post-transition-metal {
    background-color: rgba(156, 204, 101, 0.8);
}

.metalloid {
    background-color: rgba(75, 192, 192, 0.8);
}

.nonmetal {
    background-color: rgba(54, 162, 235, 0.8);
}

.halogen {
    background-color: rgba(153, 102, 255, 0.8);
}

.noble-gas {
    background-color: rgba(201, 203, 207, 0.8);
}

.lanthanide {
    background-color: rgba(255, 159, 243, 0.8);
}

.actinide {
    background-color: rgba(159, 90, 253, 0.8);
}

.element-details {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 30px;
    display: none;
}

.element-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.element-detail-symbol {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    border-radius: 8px;
    margin-right: 20px;
}

.element-detail-info h2 {
    margin: 0;
    font-size: 24px;
}

.element-detail-info p {
    margin: 5px 0 0;
    color: #666;
}

.element-properties {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.property-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.property-group h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #4b8bf4;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.property-item {
    margin-bottom: 8px;
}

.property-name {
    font-weight: 500;
    display: inline-block;
    min-width: 120px;
}

.empty-cell {
    border: none;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-right: 10px;
    font-size: 12px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    margin-right: 5px;
}

.element-search-box {
    margin: 20px auto;
    max-width: 500px;
}

.element-search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.element-search-input:focus {
    outline: none;
    border-color: #4b8bf4;
    box-shadow: 0 2px 8px rgba(75, 139, 244, 0.3);
}

.tool-introduction {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
}

.tool-introduction h2 {
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.tool-introduction h3 {
    color: #4b8bf4;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.tool-introduction ul, .tool-introduction ol {
    padding-left: 25px;
}

.tool-introduction li {
    margin-bottom: 12px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .element {
        width: 45px;
        height: 45px;
    }
    
    .element-number {
        font-size: 8px;
    }
    
    .element-symbol {
        font-size: 14px;
        margin-top: 10px;
    }
    
    .element-name {
        font-size: 7px;
    }
    
    .element-weight {
        font-size: 6px;
    }
    
    .element-detail-symbol {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .property-group {
        min-width: 100%;
    }
    
    .left-column {
        position: fixed;
        transform: translateX(-100%);
        z-index: 999;
    }
    
    .sidebar-toggle {
        display: flex;
    }
    
    .left-column.active {
        transform: translateX(0);
    }
}


.card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
}
.card-header {
    background: #4b8bf4;
    color: white;
    border-radius: 8px 8px 0 0;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-title i {
    font-size: 20px;
}
.card-body {
    padding: 20px;
    background: #fff;
    border-radius: 0 0 8px 8px;
}
.alert-info {
    background-color: #f2f6ff;
    border: 1px solid #d1e1f3;
    border-radius: 4px;
    color: #333;
    padding: 12px 15px;
    margin-bottom: 20px;
}
.alert-info i {
    color: #4b8bf4;
    margin-right: 8px;
}
.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.form-label i {
    color: #4b8bf4;
}
.form-selectgroup {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.form-selectgroup-item {
    margin: 0;
}
.form-selectgroup-input:checked + .form-selectgroup-label {
    background: #4b8bf4;
    border-color: #4b8bf4;
    color: white;
}
.form-selectgroup-label {
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
    font-weight: normal;
    cursor: pointer;
    color: #333;
    background: #fff;
}
.form-selectgroup-label:hover {
    background: #f5f5f5;
    border-color: #4b8bf4;
}
.form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 8px 12px;
    transition: all 0.2s ease;
    width: 100%;
    background: #fff;
}
.form-control:focus {
    border-color: #4b8bf4;
    box-shadow: 0 0 0 2px rgba(75, 139, 244, 0.1);
    outline: none;
}
.btn {
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: normal;
    transition: all 0.2s ease;
    margin: 3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}
.btn i {
    font-size: 14px;
}
.btn-primary {
    background: #4b8bf4;
    border: 1px solid #3b7de4;
    color: white;
}
.btn-primary:hover {
    background: #3b7de4;
    transform: none;
}
.btn-danger {
    background: #4b8bf4;
    border: 1px solid #3b7de4;
    color: white;
}
.btn-danger:hover {
    background: #3b7de4;
    transform: none;
}
.btn-warning {
    background: #f0ad4e;
    border: 1px solid #eea236;
    color: white;
}
.btn-warning:hover {
    background: #eea236;
    transform: none;
}
.btn-outline-secondary {
    border: 1px solid #ddd;
    color: #666;
    background: #fff;
}
.btn-outline-secondary:hover {
    background: #f5f5f5;
    color: #4b8bf4;
    border-color: #4b8bf4;
}
.relation-btn {
    min-width: 90px;
    justify-content: center;
}
.relation-btn.disabled,
.relation-btn[disabled] {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
    position: relative;
}
.relation-btn.disabled:after,
.relation-btn[disabled]:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
.input-group {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}
.input-group .form-control {
    border-radius: 4px 0 0 4px;
    border-right: none;
}
.input-group .btn {
    border-radius: 0 4px 4px 0;
    margin: 0;
}
#relation_result {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    min-height: 80px;
}
#relation_result ul {
    margin: 0;
    padding-left: 20px;
}
#relation_result li {
    margin: 4px 0;
    color: #333;
}
h4 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
h4 i {
    color: #4b8bf4;
}
ul {
    color: #333;
    padding-left: 20px;
}
ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}
.mb-2 {
    margin-bottom: 0.75rem !important;
}
.mb-3 {
    margin-bottom: 1.25rem !important;
}
.wid {
    margin: 10px auto;
    padding: 10px;
    line-height: 1.6;
}
.nr {
    font-size: 14px;
}
.tl {
    text-align: left;
}
.tool-introduction {
    margin-top: 20px;
}

.tool-introduction h3 {
    font-size: 18px;
    color: #333;
    margin: 20px 0 10px;
    font-weight: 500;
}
.tool-introduction p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}
.tool-introduction ul {
    color: #666;
    padding-left: 20px;
    margin-bottom: 15px;
}
.tool-introduction li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.tool-introduction strong {
    font-weight: 500;
    color: #333;
}
@media (max-width: 767px) {
    .container {
        padding: 10px;
    }
    .card {
        margin-bottom: 15px;
    }
    .card-header {
        padding: 12px 15px;
    }
    .card-body {
        padding: 15px;
    }
    .form-selectgroup {
        gap: 8px;
    }
    .form-selectgroup-label {
        padding: 6px 12px;
        font-size: 14px;
    }
    .relation-btn {
        min-width: calc(50% - 10px);
        margin: 4px;
        padding: 8px 10px;
        font-size: 13px;
        float: left;
    }
    .btn {
        padding: 8px 12px;
    }
    .row {
        margin: 0 -5px;
    }
    .col-md-12 {
        padding: 0 5px;
    }
    h4 {
        font-size: 15px;
    }
    .alert-info {
        padding: 10px;
        font-size: 14px;
    }
    .form-label {
        font-size: 14px;
    }
    #relation_result {
        font-size: 14px;
    }
    
    /* Added mobile sidebar styles */
    .left-column {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        z-index: 1000;
        height: 100vh;
        overflow-y: auto;
        transition: left 0.3s ease;
        background-color: #fff;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .left-column.active {
        left: 0;
    }
    
    .sidebar-toggle {
        display: flex;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1001;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    

    
    .main-container {
        flex-direction: column;
        /* padding: 15px; */
        /* width: 100%; */
    }
    
    /* Overlay when sidebar is open */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    body.sidebar-open::after {
        opacity: 1;
        visibility: visible;
    }
    
    /* Adjust search bar in mobile view */
    .search-wrapper {
        max-width: 100%;
    }
    
    .login-wrapper {
        display: none;
    }
}

/* 养老金计算器专用样式 */
.yearly-contributions {
    margin-bottom: 15px;
}

.yearly-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 8px 10px;
}

.year-label {
    font-weight: bold;
    width: 50px;
    text-align: center;
    font-size: 13px;
}

.input-pair {
    display: flex;
    flex: 1;
    gap: 15px;
    align-items: center;
}

.input-field {
    flex: 1;
}

.input-field label {
    display: block;
    margin-bottom: 4px;
    font-weight: normal;
    font-size: 12px;
    width: 100%;
    text-align: left;
    padding-right: 0;
    color: #555;
}

.remove-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    min-width: auto;
    line-height: 1;
}

.remove-btn:hover {
    background: #f1f1f1;
    color: #d32f2f;
}

@media (max-width: 768px) {
    .yearly-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px;
    }
    
    .year-label {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }
    
    .input-pair {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .remove-btn {
        margin-top: 5px;
        align-self: flex-end;
    }
}

/* 养老金计算器结果样式 */
.pension-chart {
    height: 280px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    background-color: #fff;
    border: 1px solid #e7e7e7;
}

.result-table th, 
.result-table td {
    border: 1px solid #e7e7e7;
    padding: 8px 12px;
    text-align: left;
    background-color: transparent;
    font-size: 14px;
    line-height: 1.4;
}

.result-table th {
    background-color: #f5f5f5;
    width: 40%;
    font-weight: 500;
    color: #333;
}

.result-table td {
    color: #444;
}

.highlight {
    color: #e53935;
    font-weight: bold;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .yearly-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px;
    }
    
    .year-label {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }
    
    .input-pair {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .remove-btn {
        margin-top: 5px;
        align-self: flex-end;
    }
    
    .pension-chart {
        height: 220px;
    }
}
