body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 800px;
}

h1, h2 {
    text-align: center;
    color: #0056b3;
}

.stage {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.stage.disabled {
    opacity: 0.5;
    pointer-events: none;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 1rem auto 0;
}

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


.progress-container {
    margin-top: 1rem;
    text-align: center;
}

.progress-bar {
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    height: 20px;
    margin: 0.5rem 0;
}

.progress {
    background-color: #28a745;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}

#progress-text-1, #progress-text-2 {
    font-weight: bold;
}


.form-container {
    display: flex;
    flex-direction: column;
}

.form-container label {
    margin-top: 1rem;
    font-weight: bold;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 8px;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f9fa;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

#log-container {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 300px;
    overflow-y: auto;
    font-family: monospace;
    white-space: pre-wrap;
    line-height: 1.5;
}

.info-block {
    background-color: #e7f3fe;
    border-left: 6px solid #2196F3;
    margin: 20px 0;
    padding: 15px;
}

.info-block h3 {
    margin-top: 0;
    color: #2196F3;
}

.modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
