body {
    font-family: Arial, sans-serif;
    padding: 2px;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 8vh;  /* adjust this value as needed */
}

.center-div {
    display: flex;
    justify-content: center;
    margin: auto;
    width: fit-content;  /* ajoutez cette ligne si le div a une largeur plus grande que son contenu */
}
h1 {
    color: #6c757d;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 40px;
    margin-bottom: 50px;
}
h2 {
    color: #6c757d;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 24px;
    margin-bottom: 24px;
}
table {
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 2px solid #ddd;
    padding: 1px 6px;
    text-align: center;
}

th {
    background-color: #4CAF50;
    color: white;
    padding: 1px 6px;
}
.expired {
    background-color: red;
}
.near-expiry {
    background-color: orange;
}

form {
    border: 1px solid #ced4da;
    padding: 2px;
    border-radius: 5px;
    background-color: #ffffff;
    max-width: 500px;
    margin: auto;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 1px;
    margin: 5px 0 20px 0;
    border: none;
    background: #f1f1f1;
}

input[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 1px 2px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

input[type="submit"]:hover {
    opacity: 0.9;
}

.button {
    display: inline-block;
    padding: 6px 6px;
    margin: 6px 6px;
    font-size: 16px;
    text-decoration: none;
    background-color: #4CAF50; /* this is a green color, you can change it */
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

div {
    margin-bottom: 2px; /* Adjust this value to get the desired space */
    align-items: center;
}

@keyframes blink {
    0% {opacity: 1;}
    50% {opacity: 0;}
    100% {opacity: 1;}
}

.blink {
    animation: blink 1s infinite;
    font-weight: bold; 
}

