/* General body styling */
body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Center the login form */
.container {
    display: flex;
    
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

/* Form styling */

form {
    display: inline-block; /* Ensures the form takes up only as much space as its contents */
    margin: 0; /* Remove any default margins */
    padding: 0; /* Remove any default padding */
}

form input[type="email"], form input[type="text"], form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

form input[type="email"], form input[type="text"] {
    background-color: #2c2c2c;
    color: #ffffff;
}

form button {
    background-color: #ff5722;
    color: #ffffff;
    cursor: pointer;
}

form button:hover {
    background-color: #e64a19;
}

/* Flash messages */
.flash {
    background-color: #f44336;
    color: #ffffff;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* Center text alignment */
h1, h2 {
    text-align: center;
}

/* Links */
a {
    color: #ff5722;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Hover effect for document ID */
td span[title] {
    text-decoration: underline;
    cursor: help;
}

/* Sync button */
/* Sync button */
form button {
    background-color: #4CAF50; /* Green */
    color: white;
    border: none;
    padding: 4px 8px; /* Smaller padding */
    border-radius: 3px; /* Slightly smaller border radius */
    font-size: 14px; /* Smaller font size */
    cursor: pointer;
    width: 150px;
}

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

div {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #1e1e1e;
    border-radius: 5px;
}

div h3 {
    margin-top: 0;
    color: #4CAF50;
}

/* Button styling */
.button {
    display: inline-block;
    padding: 5px 10px;
    color: white;
    background-color: #4CAF50;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

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

.logs {
    background-color: #1e1e1e;
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
    color: white;
}
.logs h3 {
    margin-top: 0;
    color: #ff5722;
}
.logs ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.logs li {
    margin-bottom: 5px;
}


/* Style the table */
.admin-table {
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.admin-table th, .admin-table td {
    text-align: center;
    padding: 10px;
    border: 1px solid #504d4d;
}

/* Alternating row colors */
.admin-table tr:nth-child(even) {
    background-color: #131212;
}

.admin-table tr:nth-child(odd) {
    background-color: #2d2c2c;
}

/* Highlight row on hover */
.admin-table tr:hover {
    background-color: #342424;
}

/* Header styling */
.admin-table th {
    background-color: #4CAF50;
    color: white;
    text-align: center;
}
