/* Styles for SaaS MRR & ARR Forecast Calculator */
.calcufacil-saas_mrr_arr_forecast.calcufacil-container {
    max-width: 900px; 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 #2C3E50; /* Dark Blue-Gray for business */
    box-sizing: border-box;
}
.calcufacil-saas_mrr_arr_forecast.calcufacil-container *,
.calcufacil-saas_mrr_arr_forecast.calcufacil-container *::before,
.calcufacil-saas_mrr_arr_forecast.calcufacil-container *::after { box-sizing: border-box; }

.calcufacil-saas_mrr_arr_forecast h2 {
    width: 100%; text-align: center; color: #1A237E; /* Indigo */
    margin-top:0; margin-bottom: 15px; font-size: 1.6em;
}
.calcufacil-saas_mrr_arr_forecast .calcufacil-left.calculator-form {
    flex: 1; min-width: 300px; max-width:380px; padding: 20px; background-color: #fff;
    border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 1px solid #E8EAF6; /* Lightest Indigo */
}
.calcufacil-saas_mrr_arr_forecast .calcufacil-right.results {
    flex: 1.5; /* More space for table */
     min-width: 350px; background: #F5F5F5; /* Light Grey */
    padding: 25px; border-radius: 8px; border: 1px solid #E0E0E0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); display: flex; flex-direction: column;
    justify-content: flex-start; align-items: center;
}

.calcufacil-saas_mrr_arr_forecast .input-group { margin-bottom: 18px; }
.calcufacil-saas_mrr_arr_forecast label {
    display: block; font-weight: 600; color: #283593; /* Dark Indigo */
    margin-bottom: 6px; font-size: 0.95em;
}
.calcufacil-saas_mrr_arr_forecast input[type="text"],
.calcufacil-saas_mrr_arr_forecast input[type="number"] {
    width: 100%; padding: 10px 12px; border: 1px solid #9FA8DA; /* Medium Light Indigo */
    border-radius: 5px; font-size: 1em; background: #FAFAFF; font-family: sans-serif;
}
.calcufacil-saas_mrr_arr_forecast input[type="text"]:focus,
.calcufacil-saas_mrr_arr_forecast input[type="number"]:focus {
    border-color: #3F51B5; box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.2); outline: none;
}
.calcufacil-saas_mrr_arr_forecast .small-note { font-size: 0.8em; color: #303F9F; margin-top:3px; line-height: 1.3;}


.calcufacil-saas_mrr_arr_forecast button[type="submit"] {
    background-color: #3F51B5; /* Indigo */ 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-saas_mrr_arr_forecast button[type="submit"]:hover { background-color: #303F9F; /* Darker Indigo */ }

/* Results Styling */
.calcufacil-saas_mrr_arr_forecast .results-header h2 { color: #1A237E; margin-bottom: 20px; font-size: 1.4em; }
.calcufacil-saas_mrr_arr_forecast .initial-message {
    text-align: center; color: #1A237E; font-style: italic; padding: 20px;
    background-color: #E8EAF6; border: 1px dashed #9FA8DA; border-radius: 5px; width:100%;
}
.calcufacil-saas_mrr_arr_forecast .calculation-summary { width: 100%; margin-bottom: 20px; }
.calcufacil-saas_mrr_arr_forecast .calculation-desc { font-size: 1.05em; color: #283593; margin-bottom: 15px; text-align:center; }
.calcufacil-saas_mrr_arr_forecast .calculation-desc strong { font-weight: bold; }

.calcufacil-saas_mrr_arr_forecast .forecast-table-container {
    width: 100%;
    max-height: 400px; /* Limit height for long forecasts */
    overflow-y: auto;
    border: 1px solid #C5CAE9;
    border-radius: 5px;
}
.calcufacil-saas_mrr_arr_forecast .forecast-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}
.calcufacil-saas_mrr_arr_forecast .forecast-table th,
.calcufacil-saas_mrr_arr_forecast .forecast-table td {
    border: 1px solid #C5CAE9; /* Light Indigo */
    padding: 8px 10px;
    text-align: right;
}
.calcufacil-saas_mrr_arr_forecast .forecast-table th {
    background-color: #7986CB; /* Medium Indigo */
    color: #fff;
    font-weight: 600;
    position: sticky; /* Make header sticky */
    top: 0;
    z-index: 1;
}
.calcufacil-saas_mrr_arr_forecast .forecast-table td:first-child { text-align: center; font-weight:500; }
.calcufacil-saas_mrr_arr_forecast .forecast-table tbody tr:nth-child(even) { background-color: #E8EAF6; /* Lightest Indigo */ }
.calcufacil-saas_mrr_arr_forecast .forecast-table tbody tr:hover { background-color: #D1C4E9; /* Light Purple for hover */ }


.calcufacil-saas_mrr_arr_forecast .errors {
    color: #C62828; background-color: #FFEBEE; border: 1px solid #FFCDD2;
    padding: 10px 15px; border-radius: 4px; margin: 15px 0; text-align: center; width:100%;
}
.calcufacil-saas_mrr_arr_forecast .errors ul { list-style: none; padding: 0; margin: 0; }

.calcufacil-saas_mrr_arr_forecast .disclaimer-box.info {
    padding: 15px; background-color: #E3F2FD; /* Light Blue for info */
    border: 1px solid #BBDEFB; border-left: 5px solid #1E88E5; /* Blue accent */
    border-radius: 8px; font-size: 0.85em; color: #0D47A1; width:100%;
}
.calcufacil-saas_mrr_arr_forecast .disclaimer-box.info h4 {
    color: #1565C0; font-size: 1.1em; margin-top: 0; margin-bottom: 10px;
}
.calcufacil-saas_mrr_arr_forecast .disclaimer-box.info ul { list-style: disc; margin-left: 20px; padding-left: 0; line-height: 1.6; }

/* Responsive */
@media (max-width: 768px) {
    .calcufacil-saas_mrr_arr_forecast.calcufacil-container { flex-direction: column; gap: 20px; padding: 15px; }
    .calcufacil-saas_mrr_arr_forecast .calcufacil-left.calculator-form,
    .calcufacil-saas_mrr_arr_forecast .calcufacil-right.results { min-width: unset; width: 100%; max-width:100%;}
    .calcufacil-saas_mrr_arr_forecast .forecast-table { font-size: 0.85em; }
    .calcufacil-saas_mrr_arr_forecast .forecast-table th, 
    .calcufacil-saas_mrr_arr_forecast .forecast-table td { padding: 6px 8px; }
}