.lunar-calendar-converter {
max-width: 500px;
margin: 20px 0;
padding: 20px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #f9f9f9;
font-family: 'Microsoft YaHei', Arial, sans-serif;
position: relative;
}
.lunar-calendar-converter.woo-mode {
background-color: #fff;
border: 2px solid #0073aa;
box-shadow: 0 2px 10px rgba(0,115,170,0.1);
}
.lunar-calendar-converter.woo-mode h3 {
color: #0073aa;
border-bottom-color: #0073aa;
}
.lunar-calendar-converter h3 {
margin-top: 0;
color: #333;
text-align: center;
border-bottom: 2px solid #e74c3c;
padding-bottom: 10px;
margin-bottom: 20px;
}
.lunar-calendar-converter form {
margin-bottom: 20px;
}
.lunar-calendar-converter label {
display: block;
margin-bottom: 8px;
font-weight: bold;
color: #555;
}
.lunar-calendar-converter label + label {
margin-top: 15px;
}
.lunar-calendar-converter input[type="date"],
.lunar-calendar-converter input[type="time"],
.lunar-calendar-converter input[type="text"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
margin-bottom: 15px;
box-sizing: border-box;
}
.lunar-calendar-converter button[type="submit"] {
background-color: #e74c3c;
color: white;
padding: 12px 24px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
width: 100%;
margin-top: 10px;
}
.lunar-calendar-converter.woo-mode button[type="submit"] {
background-color: #0073aa;
}
.lunar-calendar-converter button[type="submit"]:hover {
background-color: #c0392b;
}
.lunar-calendar-converter.woo-mode button[type="submit"]:hover {
background-color: #005a87;
}
.lunar-result {
margin-top: 20px;
padding: 15px;
background-color: #fff;
border-left: 4px solid #e74c3c;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
animation: fadeIn 0.5s ease-in;
}
.woo-mode .lunar-result {
border-left-color: #0073aa;
}
.lunar-result h4 {
margin-top: 0;
color: #e74c3c;
}
.woo-mode .lunar-result h4 {
color: #0073aa;
}
.conversion-result p {
margin: 10px 0;
font-size: 16px;
line-height: 1.5;
}
.conversion-result strong {
color: #333;
}
.loading {
text-align: center;
color: #666;
font-style: italic;
}
.error {
color: #e74c3c;
text-align: center;
font-weight: bold;
}
.woo-instruction {
text-align: center;
padding: 10px;
background-color: #e8f5e8;
border: 1px solid #27ae60;
border-radius: 4px;
color: #27ae60;
font-weight: bold;
margin: 0;
font-size: 14px;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
} .lunar-converter-controls {
text-align: center;
margin-top: 20px;
}
#add-lunar-person-btn {
background-color: #72c3d8;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
font-weight: bold;
transition: background-color 0.3s;
}
#add-lunar-person-btn:hover {
background-color: #229954;
}
.remove-lunar-person-btn {
background-color: #c0392b;
color: white;
padding: 8px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
margin-top: 15px;
float: right;
}
.remove-lunar-person-btn:hover {
background-color: #a93226;
}
.lunar-converter-instance + .lunar-converter-instance {
margin-top: 30px;
padding-top: 30px;
border-top: 2px dashed #ddd;
}