
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background:#fafafa;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            color: #334155;
            max-width: 100%;
			overflow-x:hidden;
        }
		a { text-decoration: none; }
        .appearance-none{
		display:none;
		}
		
select{
    -webkit-appearance: none;  
     -moz-appearance: none; appearance: none;
    /*清除select默认样式*/
    background: url("/images/down2.png")no-repeat right;
    /*注：上一步清除样式后，select中的三角符号也会被清除，所以需要自己添加下三角，我在此出用一个下三角背景图片填充*/
    background-size: 0.6rem;
    background-position-x: 88%;
    width:100%;
}

.date-selector select:first-child{
    
    width:70px!important;
}
		        h1 {
            text-align: center;
            color: #333;
        }
        .calculators-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }
        .calculator {
            flex: 1;
            min-width: 300px;
            border-radius: 5px;
            background: #fff;
            padding: 0 1rem 0;
            box-sizing: border-box;
        }
        h2 {
            color: #333;
    padding-bottom: 10px;
    font-weight: 666;
    font-size: 1rem;
	margin: 1rem 0 1rem 0;
        }


        .form-group {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
			white-space: nowrap;
			gap:20px;
        }
        .form-group label {
            width: auto;
            margin-bottom: 0;
            margin-right: 1rem;
            text-align: right;
			white-space: nowrap;
        }
        .date-selector {
            display: flex;
            align-items: center;
            flex: 1;
			gap:1rem;
        }
        .date-selector select {
            width: 60px;
            padding: 8px;
			color:#333;
            border: 1px solid #ddd;
            text-align: center;
            border-radius: 5px;
        }
        .date-selector span {
            margin-right: 5px;
        }
        input[type="text"] {
            padding: 7px;
            border: 1px solid #ddd;
            border-radius: 5px;
            box-sizing: border-box;
			width:70px;
			color:#333;
			text-align:center;
        }
        input[type="number"] {
            padding: 7px;
            border: 1px solid #ddd;
            border-radius: 5px;
            box-sizing: border-box;
			width:70px;
			color:#333;
			text-align:center;
        }
        button {
            background-color: #333333;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            width: auto;
        }
        button:hover {
            background-color: #45a049;
        }
        .result {
            margin-top: 20px;
            padding: 10px;
            background: none;
            border-radius: 5px;
			border-top:1px solid #eee;
			color:#d73f12;
			font-weight:600;
            min-height: 40px;
            line-height: 40px;
        }
        .error {
            color: red;
            font-weight: bold;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }
        .container02 {
            max-width: 1200px;
            background:#fff;
            margin: 0 auto;
            padding: 0;
        }
        .footerw{
            text-align:center;color: #999;font-size: 12px;line-height:40px;
        }
        /* 标题区域 */
        .header {
            text-align: left;
            margin-bottom: 1rem;
			display:flex;
			justify-content:space-between;
			align-items: center;
        }
        .width100{width:100%!important;background:#fff;}
        .width230{width:230px!important;background:#fff;}
		
.show{ position:relative; width:auto; text-align:center;padding:0 10px;}
.show a{color:#333;position: relative;width:50px;height:auto;display:flex;border-radius:5px;}

.show .active{padding:2px 6px;}
.hidden{ position:absolute; top:25px; left:0; padding:0 4px;background:#fff;border:1px solid #ddd;border-radius:5px;line-height:35px;z-index:99999;}
.hidden a{ display:inline-block; color:#333;width:100%;line-height:35px;z-index:99999;font-size: 14px;}
.hidden a:hover{ color:#333;}
.show a:hover{background:#f7f7f7;}

/*
.menu a.active:after, .menu a:hover:after {
    position: absolute;
    top: 30px;
    left: 15%;
    display: block;
    content: "";
    width: 70%;
    height: 0.3rem;
    border-radius: 0.2rem;
    background: #333;
    opacity: .8;
}*/

 .width100 {
        position: relative;
    }
    
    .width100::-webkit-calendar-picker-indicator{
        position: absolute;
        right: 0;
        padding-left: 100%;
    }
    
    input[type="date"]{
    position: relative;
    
    padding-left: 14px;
    outline: none;
    vertical-align: top;
    background-color: #f7fbfe;
}

input[type="date"]::after{
    content: '';
    position: absolute;
    right: 3px;
    width: 22px;
    height: 22px;
    background: url('../images/rili.jpg') no-repeat right center;
}
input[type="date"]::-webkit-inner-spin-button {
    visibility: hidden;
}

    
.hidden{display:none;}
        .header h1 {
            font-size:2rem;
            font-weight: bold;
            color: #1e293b;
            margin-left: 1rem;
        }
        
        .header img {
		    vertical-align: middle;
			width:100px;
			height:auto;
		}
        .header div {
            color: #333;
            font-size: 1.1rem;
            margin: 0;
        }
        
        /* 计算器卡片 */
        .calculator-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        @media (min-width: 768px) {
            .calculator-container {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        .calculator-card {
            background-color: white;
            border-radius: 5px;
            /*box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);*/
            padding: 2rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
			padding-bottom: 0;
			position: relative;
        }
        
        .calculator-card:hover {
            /*box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);*/
            transform: translateY(-2px);
        }
        
        .calculator-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        .calculator-header i {
            font-size: 1.5rem;
            margin-right: 0.75rem;
        }
        .calculator-header h2 {
            font-size: 1rem;
            font-weight: 600;
            margin: 0;
        }
        
        .calculator-header02 {
            display: flex;
            align-items: center;
                padding: 1rem 1rem 0;
        }
        .calculator-header02 i {
            font-size: 1.5rem;
            margin-right: 0.75rem;
        }
        
        .calculator-header02 h2 {
            font-size: 1rem;
            font-weight: 600;
            margin: 0;
			color:#333;
        }
        .calculator-header02 h3 {
            font-size: 1rem;
            font-weight: 600;
            margin: 0;
			color:#333;
        }
        
        /* 天数计算器样式 */
        .days-calculator .calculator-header {
            color: #333;
        }
        
        .days-calculator .btn {
            background-color: #333;
        }
        
        .days-calculator .btn:hover {
            background-color: #2563eb;
        }
        
        .days-calculator .result-highlight {
            
            background-color: rgba(59, 130, 246, 0.1);
           display: flex;
    align-items: center;
        }
        
        /* 日期差计算器样式 */
        .date-diff-calculator .calculator-header {
            color: #333;
        }
        
        .date-diff-calculator .btn {
            background-color: #333;
        }
        
        .date-diff-calculator .btn:hover {
            background-color: #059669;
        }
        
        .date-diff-calculator .result-highlight {
            border-left-color: #333;
            background-color: rgba(16, 185, 129, 0.1);
           display: flex;
    align-items: center;
        }
        
        /* 输入区域 */
        .input-group {
            margin-bottom: 1.25rem;
           display: flex;
    align-items: center;
    white-space: nowrap;
        }
        
        .input-group label {
            display: block;
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 0.3rem;
        }



        .input-group input {
            width: auto;
            padding: 0.75rem;
            border: 1px solid #cbd5e1;
            border-radius: 5px;
            transition: border-color 0.2s, box-shadow 0.2s;
            font-family: inherit;
            font-size: 1rem;
            color:#333;
            margin-left:2rem;
        }
        
      
        /* 按钮 */
        .btn {
            width: auto;
            color: white;
            font-weight: 500;
            padding: 0.5rem 1.2rem;
            border-radius:5px;
            border: none;
            cursor: pointer;
            transition: background-color 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: inherit;
            font-size: 1rem;
        }
        
        .btn i {
            margin-right: 0.5rem;
        }
        
        /* 结果区域 */
        .result-container {
            margin-top: 1.5rem;
        }
        
        .result-item {
            background-color: #f8fafc;
            padding: 1rem;
            border-radius: 5px;
            margin-bottom: 1rem;
        }
        
        .result-item p:first-child {
            font-size: 0.85rem;
            color: #64748b;
            margin-bottom: 0.2rem;
            margin-top: 0;
        }
        
        .result-item p:last-child {
            font-size: 1.1rem;
            font-weight: 500;
            color: #eb3c0f;
            margin: 0;
        }
        
        
        .result-highlight p:last-child {
            font-weight: bold;
            font-size: 1.25rem;
            margin-left:1rem;
        }
        
        /* 保存提示 */
        .save-notification {
            background-color: rgba(139, 92, 246, 0.9);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        
        .save-notification.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        .save-notification i {
            margin-right: 0.5rem;
        }
        
        /* 说明卡片 */
        .info-card {
            background-color: white;
            border-radius: 5px;
            padding: 1.5rem;
			margin-top: 1rem;
        }
        
        .info-card h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: #1e293b;
            margin-top: 0;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }
        
        .info-card h3 i {
            color: #8b5cf6;
            margin-right: 0.5rem;
        }
        
        .info-card ul {
            list-style-type: disc;
            padding-left: 1.5rem;
            margin: 0;
            color: #475569;
        }
        
        .info-card ul li {
            margin-bottom: 0.5rem;
        }
        
        /* 提示消息 */
        .toast {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            padding: 0.75rem 1.5rem;
            border-radius: 5px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            z-index: 100;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.3s ease, transform 0.3s ease;
            display: flex;
            align-items: center;
        }
        
        .toast.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        .toast.success {
            background-color: #333;
            color: white;
        }
        
        .toast.error {
            background-color: #ef4444;
            color: white;
        }
        
        .toast i {
            margin-right: 0.5rem;
        }




		 .save-status {
            margin-top: 1rem;
            font-size: 0.85rem;
            display: none;
        }
        
        .save-status.success { color: #10b981; }
        .save-status.error { color: #ef4444; }
        .save-status.loading { color: #64748b; }
        
        .history-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background-color: rgba(255, 255, 255, 0.8);
            color: #64748b;
            border: 1px solid #e2e8f0;
            border-radius: 5px;
            padding: 0.3rem 0.5rem;
            font-size: 0.85rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            transition: all 0.2s;
        }
        
        .history-btn:hover {
            background-color: #f8fafc;
            color: #3b82f6;
            border-color: #cbd5e1;
        }
        
        .history-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 100;
        }
        
        .history-modal.active {
            display: flex;
        }
        
        .history-content {
            background-color: white;
            border-radius: 5px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
            width: 90%;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .history-header {
            padding: 1.5rem;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .history-header h3 {
            margin: 0;
            font-size: 1.2rem;
            font-weight: 600;
        }
        
        .close-btn {
            color: #64748b;
            cursor: pointer;
            font-size: 1.2rem;
        }
        
        .close-btn:hover {
            color: #1e293b;
        }
        
        .history-list {
            padding: 1rem;
        }
        
        .history-item {
            padding: 1rem;
            border-radius: 5px;
            margin-bottom: 0.75rem;
            border: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.2s;
        }
        
        .history-item:hover {
            background-color: #f8fafc;
        }
        
        .history-item p {
            margin: 0;
            font-size: 0.9rem;
        }
        
        .history-actions {
            display: flex;
            gap: 0.5rem;
        }
        
        .action-btn {
            padding: 0.3rem 0.75rem;
            border-radius:5px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .view-btn {
            background-color: #3b82f6;
            color: white;
        }
        
        .view-btn:hover {
            background-color: #2563eb;
        }
        
        .delete-btn {
            background-color: #ef4444;
            color: white;
        }
        
        .delete-btn:hover {
            background-color: #dc2626;
        }
        .enday{
            display: flex; gap: 15px; align-items: center; flex-wrap: wrap;
        }
        
        @media(max-width:800px)
{
.container {
    width: calc(100% - 1.2rem);
    max-width: 100%!important;
    padding: 0 0.6rem!important;
}

.calculator-card{
    width: calc(100% - 2rem);
    overflow: hidden;
    padding: 1rem!important;
}
.holiday-date{
    font-size:0.8rem;
}

        .info-card {
            background-color: white;
            border-radius: 5px;
            padding: 0.5rem!important;
			margin-top: 0!important;
        }
        
        .header{
                margin-bottom: 0!important;
        }
    .header h1{margin:10px!important}
    .input-group input{width:100vw!important;padding:6px 0;}

	 .calculators-container {
                flex-direction: column;
            }
            .form-group {
			flex-wrap:nowrap;
				gap: 5px!important;
            }
            .form-group label {
                width: auto;
                text-align: left;
                margin-bottom: 5px;
			white-space: nowrap;
            }
            .date-selector {
                width: 100%;
				gap: 5px!important;
				flex-wrap:wrap;
            }
			.calculator{background:#fff!important;padding: 0 1rem 0!important;}
			.calculator-container{background:none!important;}
			.date-selector span{margin-right:0!important;}
			input[type="text"]{padding:6px!important;}
			.date-selector select{margin-right:0!important;}
			.form-group label{margin-right:5px!important;}
			.zhuquyu{margin-top:1rem;}
			
			.enday{
			    gap:5px!important;
			}
}
        