/* Styles for Chinese Gender Predictor Calendar */
.calcufacil-chinese_gender_predictor.calcufacil-container {
    max-width: 700px; margin: 25px auto; background: #fff9f9; padding: 25px;
    border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex; flex-direction: row; flex-wrap: wrap; gap: 30px;
    font-family: 'Arial', sans-serif; border: 1px solid #E57373; /* Soft Red for theme */
    box-sizing: border-box;
}
.calcufacil-chinese_gender_predictor.calcufacil-container *,
.calcufacil-chinese_gender_predictor.calcufacil-container *::before,
.calcufacil-chinese_gender_predictor.calcufacil-container *::after { box-sizing: border-box; }

.calcufacil-chinese_gender_predictor h2 {
    width: 100%; text-align: center; color: #C62828; /* Stronger Red */
    margin-top:0; margin-bottom: 15px; font-size: 1.6em;
}
.calcufacil-chinese_gender_predictor .calcufacil-left.calculator-form {
    flex: 1; min-width: 280px; padding: 20px; background-color: #fff;
    border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 1px solid #FFEBEE; /* Lightest Pink/Red */
}
.calcufacil-chinese_gender_predictor .calcufacil-right.results {
    flex: 1; min-width: 280px; background: #FFEBEE; /* Lightest Pink/Red */
    padding: 25px; border-radius: 8px; border: 1px solid #FFCDD2; /* Light Pink/Red */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); display: flex; flex-direction: column;
    justify-content: flex-start; align-items: center;
}

.calcufacil-chinese_gender_predictor .input-group { margin-bottom: 18px; }
.calcufacil-chinese_gender_predictor label {
    display: block; font-weight: 600; color: #B71C1C; /* Dark Red */
    margin-bottom: 6px; font-size: 0.95em;
}
.calcufacil-chinese_gender_predictor input[type="number"] {
    width: 100%; padding: 10px 12px; border: 1px solid #EF9A9A; /* Medium Light Red */
    border-radius: 5px; font-size: 1em; background: #FFF8F8; font-family: sans-serif;
    text-align: center;
}
.calcufacil-chinese_gender_predictor input[type="number"]:focus {
    border-color: #E53935; box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.2); outline: none;
}
.calcufacil-chinese_gender_predictor .note { font-size: 0.85em; color: #D32F2F; margin-bottom:15px; line-height: 1.4; text-align: center;}
.calcufacil-chinese_gender_predictor .small-note { font-size: 0.8em; color: #C62828; margin-top:3px;}


.calcufacil-chinese_gender_predictor button[type="submit"] {
    background-color: #E53935; /* Red */ color: #fff; padding: 12px 25px;
    border: none; border-radius: 5px; cursor: pointer; font-size: 1.05em;
    width: 100%; transition: background-color 0.3s ease; font-weight: 600; margin-top:10px;
}
.calcufacil-chinese_gender_predictor button[type="submit"]:hover { background-color: #C62828; /* Darker Red */ }

/* Results Styling */
.calcufacil-chinese_gender_predictor .results-header h2 { color: #C62828; margin-bottom: 20px; font-size: 1.4em; }
.calcufacil-chinese_gender_predictor .initial-message {
    text-align: center; color: #C62828; font-style: italic; padding: 20px;
    background-color: #FFEBEE; border: 1px dashed #EF9A9A; border-radius: 5px; width:100%;
}
.calcufacil-chinese_gender_predictor .calculation-summary { width: 100%; text-align: center; margin-bottom: 20px; }
.calcufacil-chinese_gender_predictor .calculation-desc { font-size: 1.05em; color: #B71C1C; margin-bottom: 15px; }
.calcufacil-chinese_gender_predictor .calculation-desc strong { font-weight: bold; }

.calcufacil-chinese_gender_predictor .main-result {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 20px; border-radius: 50%; /* Make it circular */
    width: 180px; height: 180px; /* Fixed size circle */
    margin: 10px auto;
    font-size: 1.2em; 
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.calcufacil-chinese_gender_predictor .main-result.final-result.boy {
    background: #90CAF9; /* Light Blue for Boy */ color: #0D47A1; /* Dark Blue text */
    border: 3px solid #1E88E5;
}
.calcufacil-chinese_gender_predictor .main-result.final-result.girl {
    background: #F48FB1; /* Light Pink for Girl */ color: #880E4F; /* Dark Pink text */
    border: 3px solid #EC407A;
}
.calcufacil-chinese_gender_predictor .main-result span:first-child { font-size: 0.9em; opacity:0.9; margin-bottom: 5px;}
.calcufacil-chinese_gender_predictor .main-result span:last-child { font-size: 2em; font-weight: bold; line-height:1; }

.calcufacil-chinese_gender_predictor .errors {
    color: #B71C1C; background-color: #FFEBEE; border: 1px solid #FFCDD2;
    padding: 10px 15px; border-radius: 4px; margin: 15px 0; text-align: center; width:100%;
}
.calcufacil-chinese_gender_predictor .errors ul { list-style: none; padding: 0; margin: 0; }

.calcufacil-chinese_gender_predictor .disclaimer-box.critical {
    padding: 15px; background-color: #FFFDE7; /* Light Yellow for critical info */
    border: 1px solid #FFF59D; border-left: 5px solid #FBC02D; /* Amber accent */
    border-radius: 8px; font-size: 0.85em; color: #424242; width:100%;
}
.calcufacil-chinese_gender_predictor .disclaimer-box.critical h4 {
    color: #E65100; font-size: 1.1em; margin-top: 0; margin-bottom: 10px;
}
.calcufacil-chinese_gender_predictor .disclaimer-box.critical ul { list-style: disc; margin-left: 20px; padding-left: 0; line-height: 1.6; }

/* Responsive */
@media (max-width: 768px) {
    .calcufacil-chinese_gender_predictor.calcufacil-container { flex-direction: column; gap: 20px; padding: 15px; }
    .calcufacil-chinese_gender_predictor .calcufacil-left.calculator-form,
    .calcufacil-chinese_gender_predictor .calcufacil-right.results { min-width: unset; width: 100%; }
    .calcufacil-chinese_gender_predictor .main-result { width:160px; height:160px; font-size: 1.1em;}
    .calcufacil-chinese_gender_predictor .main-result span:last-child { font-size: 1.8em; }
}