body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* Светло-серый фон */
    color: #333;
}
.fa{
    display: none;
}
header {
    background-color: #fff; /* Белый фон шапки */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}
.add-device-button {
    background-color: #3498db; /* Синий цвет */
    color: white; /* Белый текст */
    padding: 10px 20px; /* Отступы */
    border: none; /* Убираем границу */
    border-radius: 5px; /* Закругленные края */
    cursor: pointer; /* Меняем курсор при наведении */
    font-size: 16px; /* Размер шрифта */
    transition: background-color 0.3s ease; /* Плавный переход цвета */
}
#devices-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.device-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* Изменено */
    gap: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    align-items: start; /* Изменено */
}

.device-item-left {
    display: flex;
    flex-direction: column;
}

.device-item-center {
    display: flex;
    flex-direction: column;
}

.device-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.requisites-list {
    margin-top: 10px;
}
/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Увеличиваем z-index для модального окна */
}
.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden; /* Add this line */
}

.progress-bar-inner {
    height: 100%;
    background-color: #4CAF50;
    border-radius: 5px;
    width: 0;
    transition: width 0.3s ease;
    position: absolute; /* Add this line */
    left: 0;           /* Add this line */
    top: 0;            /* Add this line */
}

.progress-bar-label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: white;
    font-size: 12px;
    z-index: 1; /* Add this line */
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
}
/* Цвета для статусов */
.status-в-обработке {
    background-color: #ffffe0; /* Желтый */
}

.status-выполнено {
    background-color: #e0ffe0; /* Зеленый */
}

.status-отклонено {
    background-color: #ffe0e0; /* Красный */
}
.requisite-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.requisite-item button {
    margin-left: 5px;
}

#addRequisiteModal {
    z-index: 1001; /* Делаем окно редактирования выше окна со списком */
}

#showRequisitesModal {
    z-index: 1000; /* Оставляем z-index как есть */
}
.requisites-list div {
    margin-bottom: 5px;
    font-size: 0.9em;
}
.device-status {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.8em;
    color: white;
}
/* Стили для кнопки смены статуса */
.status-button {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
    color: white;
}

.status-online {
    background-color: green;
}

.status-offline {
    background-color: red;
}

.action-button {
    background-color: #3498db;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 5px;
    font-size: 0.9em;
}
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 30px;
    margin-right: 10px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
}

aside {
    width: 200px;
    background-color: #fff;
    padding: 20px;
    float: left;
    border-right: 1px solid #ddd;
    height: 100vh; /* На всю высоту экрана */
}

main {
    margin-left: 240px; /* Отступ от боковой панели */
    padding: 20px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    clear: both;
}

/*  Стили для таблиц (например, Payments, History) */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}
/* Добавьте эти стили в ваш style.css */

#login-form {
    width: 300px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    text-align: center;
}

#login-form input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

#login-form button {
    background-color: #4CAF50; /* Зеленый */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}
/* Добавьте эти стили в ваш style.css */

aside {
    width: 200px;
    background-color: #fff;
    padding: 20px;
    float: left;
    border-right: 1px solid #ddd;
    height: 100vh; /* На всю высоту экрана */
    position: fixed; /* Фиксируем боковую панель */
    top: 0;
    left: 0;
}

aside ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

aside li {
    margin-bottom: 10px;
}

aside a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s;
}

aside a:hover {
    background-color: #f0f0f0;
}

aside i {
    margin-right: 5px;
}

main {
    margin-left: 240px; /* Отступ от боковой панели */
    padding: 20px;
}
/* Добавьте эти стили в ваш style.css */

#team-name-block {
    background-color: #ADD8E6; /* Голубой */
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

#team-settings {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#team-settings label {
    display: block;
    margin-bottom: 5px;
}

#team-settings input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

#team-settings button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}