* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
}

input, select, button {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

.controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f8f8;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
}

#cancel-revision {
    background-color: #f44336;
}

#cancel-revision:hover {
    background-color: #da190b;
}

#logout {
    background-color: #f44336;
}

#logout:hover {
    background-color: #da190b;
}

.modal.hidden {
    display: none !important;
}

.status-ok {
    color: #fff;
    background: #4CAF50;
    border-radius: 4px;
    padding: 4px 10px;
    display: inline-block;
}
.status-beige {
    color: #333;
    background: #f5e6c5;
    border-radius: 4px;
    padding: 4px 10px;
    display: inline-block;
}
.status-warning {
    color: #fff;
    background: #ff9800;
    border-radius: 4px;
    padding: 4px 10px;
    display: inline-block;
}
.status-danger {
    color: #fff;
    background: #f44336;
    border-radius: 4px;
    padding: 4px 10px;
    display: inline-block;
}

tbody tr {
    cursor: pointer;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.left-buttons {
    display: flex;
    gap: 10px;
}
.right-buttons {
    display: flex;
    gap: 10px;
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

.delete-user {
    background-color: #f44336;
    color: white;
}
.delete-user:hover {
    background-color: #da190b;
} 