/* Styles for Scatter Plot Data Range Calculator */
.calcufacil-scatter_plot_data_range.calcufacil-container {
    max-width: 800px; margin: 25px auto; background: #fdfdfd; 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 #2980B9; /* Blue for data/analytics */
    box-sizing: border-box;
}
.calcufacil-scatter_plot_data_range.calcufacil-container *,
.calcufacil-scatter_plot_data_range.calcufacil-container *::before,
.calcufacil-scatter_plot_data_range.calcufacil-container *::after { box-sizing: border-box; }

.calcufacil-scatter_plot_data_range h2 {
    width: 100%; text-align: center; color: #1F618D; /* Darker Blue */
    margin-top:0; margin-bottom: 15px; font-size: 1.6em;
}
.calcufacil-scatter_plot_data_range .calcufacil-left.calculator-form {
    flex: 1.2; /* Slightly more space for form */
    min-width: 350px; padding: 20px; background-color: #fff;
    border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 1px solid #AED6F1; /* Light Blue border */
}
.calcufacil-scatter_plot_data_range .calcufacil-right.results {
    flex: 1; min-width: 300px; background: #EBF5FB; /* Very Light Blue */
    padding: 25px; border-radius: 8px; border: 1px solid #D6EAF8; /* Lighter Blue border */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); display: flex; flex-direction: column;
    justify-content: flex-start; align-items: center;
}
.calcufacil-scatter_plot_data_range .data-input-columns {
    display: flex;
    gap: 20px; /* Space between X and Y textareas */
}
.calcufacil-scatter_plot_data_range .data-column {
    flex: 1;
}
.calcufacil-scatter_plot_data_range .input-group { margin-bottom: 15px; }
.calcufacil-scatter_plot_data_range label {
    display: block; font-weight: 600; color: #1A5276; /* Medium Blue */
    margin-bottom: 6px; font-size: 0.95em;
}
.calcufacil-scatter_plot_data_range textarea {
    width: 100%; padding: 10px; border: 1px solid #85C1E9; /* Medium Light Blue border */
    border-radius: 5px; font-size: 0.95em; background: #FDFEFE; font-family: Consolas, Monaco, monospace;
    line-height: 1.5; min-height: 150px;
}
.calcufacil-scatter_plot_data_range textarea:focus {
    border-color: #2980B9; box-shadow: 0 0 0 2px rgba(41, 128, 185, 0.2); outline: none;
}
.calcufacil-scatter_plot_data_range .note { font-size: 0.85em; color: #1F618D; margin-bottom:15px; line-height: 1.4; text-align: center;}


.calcufacil-scatter_plot_data_range button[type="submit"] {
    background-color: #2980B9; /* Blue */ 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-scatter_plot_data_range button[type="submit"]:hover { background-color: #1F618D; }

/* Results Styling */
.calcufacil-scatter_plot_data_range .results-header h2 { color: #1F618D; margin-bottom: 20px; font-size: 1.4em; }
.calcufacil-scatter_plot_data_range .results-header h4 { color: #1A5276; margin-top: 15px; margin-bottom:8px; font-size:1.15em; text-align:left; border-bottom: 1px solid #AED6F1; padding-bottom: 4px;}

.calcufacil-scatter_plot_data_range .initial-message {
    text-align: center; color: #1F618D; font-style: italic; padding: 20px;
    background-color: #EBF5FB; border: 1px dashed #85C1E9; border-radius: 5px; width:100%;
}
.calcufacil-scatter_plot_data_range .calculation-summary { width: 100%; margin-bottom: 20px; }
.calcufacil-scatter_plot_data_range .calculation-desc { font-size: 1.05em; color: #1A5276; margin-bottom: 15px; text-align:center; }
.calcufacil-scatter_plot_data_range .calculation-desc strong { font-weight: bold; }

.calcufacil-scatter_plot_data_range .result-section { margin-bottom: 15px; }

.calcufacil-scatter_plot_data_range .main-result {
    display: flex; justify-content: space-between; align-items: center;
    background-color: #D6EAF8; /* Lighter Blue */ padding: 8px 12px; border-radius: 4px;
    border: 1px solid #AED6F1; font-size: 1em; color: #1F618D;
    margin-bottom: 6px; width: 100%;
}
.calcufacil-scatter_plot_data_range .main-result.info-result { background-color: #E3F2FD; border-color: #BBDEFB; font-weight: 600;}

.calcufacil-scatter_plot_data_range .main-result span:first-child { text-align:left; }
.calcufacil-scatter_plot_data_range .main-result span:last-child { font-weight: bold; text-align:right; font-family: Consolas, Monaco, monospace;}

.calcufacil-scatter_plot_data_range .errors {
    color: #C0392B; background-color: #FADBD8; border: 1px solid #F1948A;
    padding: 10px 15px; border-radius: 4px; margin: 15px 0; text-align: center; width:100%;
}
.calcufacil-scatter_plot_data_range .errors ul { list-style: none; padding: 0; margin: 0; }

.calcufacil-scatter_plot_data_range .disclaimer-box.info {
    padding: 15px; background-color: #E8F6F3; /* Light Aqua for info */
    border: 1px solid #D0ECE7; border-left: 5px solid #1ABC9C; /* Aqua accent */
    border-radius: 8px; font-size: 0.85em; color: #0E6655; width:100%;
}
.calcufacil-scatter_plot_data_range .disclaimer-box.info h4 {
    color: #117A65; font-size: 1.1em; margin-top: 0; margin-bottom: 10px;
}
.calcufacil-scatter_plot_data_range .disclaimer-box.info ul { list-style: disc; margin-left: 20px; padding-left: 0; line-height: 1.6; }

/* Responsive */
@media (max-width: 768px) {
    .calcufacil-scatter_plot_data_range.calcufacil-container { flex-direction: column; gap: 20px; padding: 15px; }
    .calcufacil-scatter_plot_data_range .calcufacil-left.calculator-form,
    .calcufacil-scatter_plot_data_range .calcufacil-right.results { min-width: unset; width: 100%; }
    .calcufacil-scatter_plot_data_range .data-input-columns { flex-direction: column; gap: 10px;}
    .calcufacil-scatter_plot_data_range h2 { font-size: 1.4em; }
    .calcufacil-scatter_plot_data_range .results-header h2 { font-size: 1.25em; }
}