body {
    background: #141414;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 95%;
    margin: 20px auto;
}

.title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
}

.top-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.main-btn {
    background: #3a8dff;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    transition: 0.2s;
}

.main-btn:hover {
    background: #166ee3;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    background: #1f1f1f;
    border-radius: 10px;
    overflow: hidden;
}

.services-table th {
    background: #2a2a2a;
    padding: 12px;
    font-size: 16px;
    text-align: left;
}

.services-table td {
    padding: 10px;
    border-bottom: 1px solid #333;
}

.cell-input, select.cell-input {
    width: 100%;
    padding: 6px;
    font-size: 15px;
    border-radius: 4px;
    border: 1px solid #555;
    background: #2b2b2b;
    color: #fff;
}

.cell-input:focus {
    outline: 2px solid #3a8dff;
}

.save-btn, .delete-btn {
    padding: 7px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 17px;
}

.save-btn {
    background: #4caf50;
    color: #fff;
}

.save-btn:hover {
    background: #3e9d40;
}

.delete-btn {
    background: #d9534f;
    color: #fff;
}

.delete-btn:hover {
    background: #c64541;
}

/* ===============================
   STATUS BACKGROUNDS
   ===============================*/
.status-OK { background: #173f17; }
.status-WARNING { background: #4a3f00; }
.status-LOW { background: #5a1c1c; }
.status-UPCOMING { background: #003d66; }

/* ===============================
   FIELD STATE COLORS
   ===============================*/

/* Изменённое поле */
.field-modified {
    background: #5a3d00 !important;
    transition: background 0.15s linear;
}

/* Успешно сохранено */
.field-saved {
    background: #1f5a1f !important;
    transition: background 0.3s ease-in-out;
}

.footer {
    margin-top: 20px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}
