/* === СТИЛИ ДЛЯ ПЛАГИНА УЧЁТА ДОРОЖНЫХ ЛИСТОВ === */

.dil-form-section {
    max-width: 400px;
    margin: 36px auto 36px auto;
    background: #f5f8fc;
    border-radius: 14px;
    box-shadow: 0 6px 18px -5px rgba(44,66,151,0.10);
    padding: 28px 28px 22px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dil-form-section h3 {
    text-align: center;
    margin-bottom: 24px;
    color: #29499c;
    font-size: 1.35em;
}
.dil-form-section label {
    display: block;
    margin-bottom: 14px;
    width: 100%;
    color: #29499c;
    font-size: 1em;
}
.dil-form-section input,
.dil-form-section select,
.dil-form-section textarea {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 2px;
    padding: 7px 10px;
    border: 1px solid #c9d3ee;
    border-radius: 8px;
    background: #fff;
    font-size: 1em;
    box-sizing: border-box;
}
.dil-form-section button[type=submit] {
    margin-top: 14px;
    padding: 10px 22px;
    background: #29499c;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 1.07em;
    cursor: pointer;
    box-shadow: 0 2px 8px -3px #2334703a;
    transition: background 0.22s;
}
.dil-form-section button[type=submit]:hover {
    background: #486be5;
}
.dil-logbook-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 38px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.dil-logbook-list > li {
    margin-bottom: 22px;
    border-bottom: 1px #e3e3e3 solid;
    padding-bottom: 12px;
    padding-top: 8px;
    background: #f9fbff;
    border-radius: 8px;
    box-shadow: 0 1px 6px -4px #bac6e2;
}
.dil-logbook-list form.dil-logbook-close-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    margin-top: 11px;
    margin-bottom: 9px;
}
.dil-logbook-list form.dil-logbook-close-form label {
    width: auto;
    margin-bottom: 0;
    color: #2a2d35;
    font-size: 1em;
}
.dil-logbook-list form.dil-logbook-close-form input[type="time"],
.dil-logbook-list form.dil-logbook-close-form input[type="number"] {
    width: 130px;
    margin-top: 0;
}
.dil-logbook-list form.dil-logbook-close-form button[type=submit] {
    margin-top: 0;
    padding: 7px 18px;
    background: #13b077;
    border-radius: 7px;
    font-size: 1em;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px -3px #3d906a2b;
    transition: background 0.19s;
}
.dil-logbook-list form.dil-logbook-close-form button[type=submit]:hover {
    background: #1ecc8c;
}
.dil-logbook-closed {
    color: #13b077;
    font-weight: bold;
    margin-left: 6px;
}
.dil-students-table-wrap {
    margin: 10px 0 0 0;
    padding-bottom: 6px;
}
.dil-students-table {
    background: #fff;
    border-radius: 7px;
    border: 1px solid #e6e9f0;
    box-shadow: 0 3px 8px -4px #c5d0ee4a;
    font-size: 0.99em;
    overflow: auto;
}
.dil-students-table th,
.dil-students-table td {
    border: 1px solid #e2e2e2;
    padding: 5px 10px;
    text-align: left;
    white-space: nowrap;
}
.dil-students-table th {
    background: #e5eafe;
    font-weight: 600;
    color: #29499c;
}
details[open] summary {
    border-bottom: 1px solid #d2d8ef;
}
summary {
    outline: none;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: #29499c;
    margin-bottom: 10px;
    padding: 3px 0;
    user-select: none;
}
@media (max-width: 600px) {
    .dil-form-section, .dil-logbook-list {
        max-width: 97vw;
        padding: 10px 2vw;
    }
    .dil-students-table {
        min-width: 340px;
        font-size: 0.91em;
    }
}
