body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f0f0;
}
.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}
h1 {
    text-align: center;
}
form {
    display: flex;
    flex-direction: column;
}
.form-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;

}

label, select, input, button {
    margin-bottom: 10px;

}
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background-color: #45a049;
}
.error-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 1000;
}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
}
.popup h2 {
    margin-top: 0;
}
.popup-content {
    margin-bottom: 20px;
}
.popup-content p {
    margin: 5px 0;
}
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}