/* Добавим стили для LTE модального окна */
.lte-modal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.lte-modal-table th,
.lte-modal-table td {
    padding: 8px;
    border-bottom: 1px solid #444;
    text-align: left;
}

.lte-modal-table th {
    background-color: #333;
    font-weight: bold;
    width: 40%;
}

.lte-modal-table tr:hover {
    background-color: #333;
}

/* Остальные стили остаются без изменений */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #121212;
    color: #ffffff;
}

h1 {
    text-align: center;
    color: #ffffff;
}

.search-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px auto;
    padding-left: 12px;
}

#searchInput {
    width: calc(100% - 24px);
    padding: 10px;
    font-size: 16px;
    border: 1px solid #555;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #333;
    color: #ffffff;
}

#searchInput::placeholder {
    color: #aaa;
}

details {
    margin-bottom: 20px;
    background-color: #1e1e1e;
    border: 1px solid #444;
    border-radius: 5px;
}

summary {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    background-color: #333;
    color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

summary:hover {
    background-color: #444;
}

table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #1e1e1e;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #444;
}

th {
    background-color: #333;
    color: #ffffff;
    font-weight: bold;
}

tr:hover {
    background-color: #333;
}

.bg {
    background-color: #28a745;
}

.bad {
    color: #dc3545;
}

.editable {
    cursor: pointer;
}

.editable:hover {
    background-color: #444;
}

.lte-info {
    cursor: pointer;
}

.lte-info:hover {
    background-color: #444;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: #1e1e1e;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 5px;
    max-height: 90vh;
    overflow-y: auto;
    color: #ffffff;
}

.modal-content label {
    display: block;
    margin-top: 10px;
    color: #ffffff;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #333;
    color: #ffffff;
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.modal-content button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-content button[type="button"] {
    background-color: #6c757d;
    margin-left: 10px;
}

.modal-content button:hover {
    background-color: #0056b3;
}

.modal-content button[type="button"]:hover {
    background-color: #5a6268;
}

#deleteButton {
    background-color: #dc3545;
}

#deleteButton:hover {
    background-color: #c82333;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
        margin-top: 20px;
    }

    .search-container {
        padding-left: 10px;
    }

    #searchInput {
        width: calc(100% - 20px);
    }

    th, td {
        padding: 8px;
        font-size: 14px;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
    }
}
.lte-info-container {
    max-height: 400px;
    overflow-y: auto;
}

.lte-modal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.lte-modal-table th,
.lte-modal-table td {
    padding: 8px;
    border-bottom: 1px solid #444;
    text-align: left;
}

.lte-modal-table th {
    background-color: #333;
    font-weight: bold;
    width: 40%;
}

.lte-modal-table tr:hover {
    background-color: #333;
}

.last-link {
    cursor: pointer;
}

.last-link:hover {
    background-color: #444;
}
.lte-info-container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.lte-modal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.lte-modal-table th,
.lte-modal-table td {
    padding: 8px;
    border-bottom: 1px solid #444;
    text-align: left;
}

.lte-modal-table th {
    background-color: #333;
    font-weight: bold;
    width: 40%;
}

.lte-modal-table tr:hover {
    background-color: #333;
}
