header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wrapper {
    padding: 0px 15px; 
}

.form_inputs {
    padding-bottom: 15px;
}

.form_inputs label {
    display: block;
    padding-bottom: 5px;
}

.logout-btn {
    padding: 8px 15px;
    background-color: #d9534f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.logout-btn:hover {
    background-color: #c9302c;
}

#accountSearch {
    padding: 5px 10px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    min-width: 360px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Общий стиль для таблицы */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px; /* Добавляем отступы внутри ячеек */
    text-align: left;
    border-bottom: 1px solid #ddd; /* Разделительная линия */
}

/* Стиль заголовков */
th {
    background-color: #ececec; /* Светло-серый фон */
    cursor: pointer; /* Указатель на возможность сортировки */
    position: relative;
}

th.sorted-asc::after, th.sorted-desc::after {
    content: ""; /* Индикатор сортировки */
    position: absolute;
    right: 10px;
    border: 5px solid transparent;
}

th.sorted-asc::after {
    border-bottom-color: #333; /* Указывает на сортировку по возрастанию */
    top: 15px;
}

th.sorted-desc::after {
    border-top-color: #333; /* Указывает на сортировку по убыванию */
    bottom: 15px;
}

/* Стили для самих строк */
tbody tr:hover {
    background-color: #f5f5f5; /* Подсветка строки при наведении */
}
