
form#valider_fiche_de_commande_form {
    display: flex;
    flex-direction: column;
    width: 53em;
    max-width: 100%;
    align-items: center;
    align-content: center;
    align-self: center;
    margin: 3em auto;
}

table.list_table{
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: system-ui, -apple-system, sans-serif;

    /* add a nice box shadow */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.action_result {
    display: flex;
    flex-direction: column;
    width: 53em;
    max-width: 100%;
    align-items: center;
    align-content: center;
    align-self: center;
    margin: 3em auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    padding: 1.5em;
}

.action_result > p {
    width: 450px;
    max-width: 100%;
    margin: 0.75em auto;
}

.actions_table,
.fiches_table{
    margin: 3em auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.actions_table th,
.fiches_table th {
    background-color: #2f3241;
    color: white;
    text-align: left;
    padding: 5px 10px;
}

.actions_table tbody tr td,
.fiches_table tbody tr td {
    padding: 5px 10px;
    border-bottom: 1px solid #e0e0e0;
}

.actions_table th, .actions_table td,
.fiches_table th, .fiches_table td {
    vertical-align: middle;
}

.actions_table label,
.actions_table input {
    margin: 0;
}

.flex_row {
    display: flex;
    align-items: center;
    gap: 1em;
}

/* Add a dotted line to "pad" after content of the first cell of each line */
table.list_table tbody td div {
    display: flex;
}

table.list_table tbody td:first-child {
    padding-right: 0;
}
table.list_table tbody td:last-child {
    padding-left: 0;
}
table.list_table tbody td:first-child div::after {
    content: "";
    flex: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0;
}
table.list_table tbody td:last-child div::before {
    content: "";
    flex: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0;
}


table.list_table th {
    background-color: #2f3241;
    color: white;
    text-align: left;
    padding: 15px 20px;
}

table.list_table tbody tr:nth-child(even) {
    background-color: #f0f0f0;
}

table.list_table tr td:last-child,
table.list_table tr th:last-child {
    width:55px;
}

table.list_table td {
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
}

table.list_table tr:last-child td {
    border-bottom: none;
}

table.list_table td:last-child {
    text-align: right;
}

table.list_table tr:hover {
    background-color: #f8f9fa;
}

/* Make disabled inputs 25% opacity */
input[disabled] {
    opacity: 0.25;
}