/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.sidebar {
    background-color: #1d3557;
    color: white;
    width: 250px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    box-sizing: border-box;
}

.sidebar h2 {
    color: white;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

.login-link {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-link span {
    margin-right: 10px;
    color: #666;
}

.login-link .button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.login-link .button:hover {
    background-color: #0056b3;
}

.container {
    max-width: calc(100% - 250px);
    margin-left: 250px;
    padding: 20px;
    flex: 1 0 auto;
}

h2 {
    color: #1d3557;
    margin-bottom: 20px;
}

footer {
    background-color: #c8dfff;
    color: rgb(15, 62, 205);
    padding: 20px;
    text-align: center;
    flex-shrink: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

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

table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.error {
    color: red;
    margin-bottom: 10px;
    font-size: 70%;
}

form {
    max-width: 400px;
}

form div {
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form input {
    width: 100%;
    padding: 6px 12px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #1d3557;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

form button:hover {
    background-color: #27496d;
}

.overlay {
    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;
    z-index: 9999;
}

.overlay-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}
            .lines-table {
                font-size: -1.9em;
                width: 99%;
                border-collapse: collapse;
            }

            .lines-table th,
            .lines-table td {
                font-size: 75%;
                padding: 3px;
                text-align: left;
                border: 0px solid #ccc;
            }
    .success {
        color: green;
    }

    .error {
        color: red;
    }