

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

h2 {
    color: #333;
    text-align: center;
}

form {
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    width: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input[type="file"],
textarea {
    width: 98%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="submit"]:active {
  transform: scale(0.95);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#uploadForm {
    display: flex;
    align-items: center;
     flex-direction: column;  /* 更改布局为列方向，使元素垂直排列 */
}

#uploadCount {
    margin-left: 10px;
}

#progressBar {
    width: 100%;
    height: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    margin-top: 10px;
     border-radius: 5px;
}

#progress {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.5s ease;
}

.btn-restart {
    padding: 7px 10px;
    background: #007bff;
    color: white;
    border: 2px solid #0056b3;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-restart:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
