* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Dark gray background */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #1e1e1e; /* Dark gray background */
    color: #f4f4f9; /* Light text color for contrast */
}

.container {
    text-align: center;
    max-width: 500px;
    padding: 20px;
    background-color: #2a2a2a; /* Darker gray for container */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

/* Logs window with scroll */
.logs {
    width: 100%;
    height: 200px;
    background-color: #333;
    color: #0f0;
    font-family: monospace;
    font-size: 14px;
    padding: 10px;
    overflow-y: auto;
    margin-top: 20px;
    border-radius: 4px;
    border: 1px solid #444;
}
h1 {
    margin-bottom: 20px;
}

input[type="text"] {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

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

/* Progress bar styling */
#progress {
    width: 80%;
    height: 20px;
    margin: 20px auto;  /* Center horizontally and add top/bottom margin */
    display: block;      /* Ensure it centers in its container */
    appearance: none;
    border-radius: 10px;
    background-color: #555;
}

#result {
    margin-top: 20px;
    font-size: 16px;
    color: #fff;
}

/* Admin button styling */
#adminButton {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Modal styling */
.modal {
    visibility: hidden; /* Start hidden */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.show {
    visibility: visible; /* Make modal visible */
}

.modal-content {
    background-color: #2a2a2a; /* Darker background for dark mode */
    color: #f4f4f9; /* Light text color */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 80%;
    max-width: 400px;
}

input[type="text"], input[type="password"] {
    width: 90%;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 4px;
    margin-bottom: 20px;
    background-color: #333; /* Dark input background */
    color: #f4f4f9;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

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

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

