body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f0f0f0;
}
.container {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
    font-weight: normal;
}
input[type="text"], input[type="password"], input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
#log {
    width: 100%;
    height: 100px;
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    overflow-y: auto;
    background-color: white;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    #log {
        height: 150px;
    }
}
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
    font-weight: normal;
}
button:hover {
    background-color: #45a049;
}
#loginForm, #audioForm {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.center-text {
    text-align: center;
}
#selectedFiles {
    margin-top: 10px;
    font-style: italic;
}
.api-url-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.api-url-container input {
    flex-grow: 1;
    margin-right: 10px;
}
#saveApiUrl {
    padding: 8px 15px;
    font-size: 14px;
}
.api-url-container label {
    white-space: nowrap;
    margin-right: 10px;
}
#downloadButton {
    display: inline-block;
    margin-top: 20px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    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: 400px;
    text-align: center;
    border-radius: 5px;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
#attemptsDisplay {
    margin: 10px 0;
    font-weight: bold;
    color: red;
}
#log {
    text-align: center;
}