h1 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 24px;
    color: #777;
}
hr {
   margin-bottom: 5px !important;
}
div.clear {
    clear: both;
}
div.dataTables_processing {
    z-index: 1;
}
textarea {
    float: left;
    resize: none;
}
.error-row {
    background-color: red;
}
div.organizations {
    border: solid;
    float: left;
}
.tabs_container {
    padding: 0;
    margin: 0 auto;
}
.tabs{
    padding: 0;
}
.tabs_container .tabs{
    margin: 0 !important;
}
.tabs_container .tabs li {
    cursor: pointer;
    border: 1px solid #ddd;
    background: #f1f1f1;
    border-radius: 3px 3px 0 0;
    padding: 5px 25px;
    margin: 0 !important;
}
.tabs_container .tabs li.active {
    color: #555;
    border: 1px solid #ddd;
    border-top: 1px solid #009933;
    border-bottom: 1px solid #fff;
    background: #fff;
}
.tab_container {
    display: block;
    background: #fff;
    border: 1px solid #ddd;
    padding: 25px;
    margin: -1px 0 0 0;
}
.tab_container ul li {
    margin: 0 0 8px 0;
}
.inl-bl{
    display: inline-block;
}

/* Новые стили */
.header-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.user-controls {
    float: left;
    margin-right: 5px;
}

.stats-container {
    text-align: center;
    flex-grow: 1;
}

.form-input-wide {
    width: 300px;
}

.form-input {
    width: 100px;
}

.inactive-row td {
    background-color: #FF0000 !important;
}

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 9999;
}

.status-message {
    margin-top: 10px;
    padding: 5px;
    display: none;
}

.status-message.success {
    color: green;
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    display: block;
}

.status-message.error {
    color: red;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    display: block;
}

.settings-form table {
    margin-bottom: 15px;
}

.update-section {
    margin-top: 15px;
}
