/* Custom styles for Pericias result fields */
.pericia-result-container {
    background-color: #d1e7dd; /* Bootstrap success-light equivalent */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end; /* Align to bottom so labels align but inputs align too */
    gap: 15px;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
    border: 1px solid #badbcc;
}

/* Adjust form groups inside the horizontal container */
.pericia-result-container .form-group {
    margin-bottom: 0; /* Remove bottom margin since we are using gap */
    flex: 1;
    min-width: 150px; /* Ensure inputs don't get too squished */
}

/* Ensure labels are still on top of inputs if desired, or side-by-side?
   "Horizontal" usually means Field 1 | Field 2 | Field 3.
   Standard form-group puts label above input. This works fine in a flex row.
*/
.pericia-result-container .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #0f5132; /* Darker green text for contrast */
}

/* Specific tweaks for inputs inside the green bar */
.pericia-result-container input,
.pericia-result-container select {
    width: 100%;
    border: 1px solid #ced4da;
}

/* Locked view specific styling */
.pericia-result-container .locked-field {
    display: flex;
    flex-direction: column;
}
.pericia-result-container .locked-field strong {
    color: #0f5132;
}
