/* General Styles */
.loshu-grid-calculator {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.loshu-grid-calculator h2 {
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.loshu-grid-calculator label {
    display: block;
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #555555;
}

.loshu-grid-calculator input[type="date"],
.loshu-grid-calculator input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
}

.loshu-grid-calculator button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background: #0073aa;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.loshu-grid-calculator button:hover {
    background: #005177;
}

/* Results Section */
#results {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

#results h3 {
    margin-top: 0;
    font-size: 18px;
    color: #333333;
}

#results p {
    margin: 5px 0;
    font-size: 16px;
    color: #555555;
}

/* Lo Shu Grid Table */
#results table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
    font-size: 16px;
    text-align: center;
}

#results table td {
    padding: 10px;
    border: 1px solid #cccccc;
    background: #ffffff;
    font-weight: bold;
}

#results table td s {
    color: #ff4d4d; /* Red color for strikethrough */
    text-decoration: line-through;
}

#results table td:nth-child(odd) {
    background: #f0f0f0; /* Alternate row shading */
}