body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
}
html, body { height: 100%; }
.input-group {
    padding-top: 15px;
}

input {
    padding: 8px;
    width: 300px;
    margin-right: 10px;
}

button {
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background-color: #45a049;
}

.update-section {
    margin-top: 15px;
    display: none;
}

.message {
    margin-top: 10px;
    padding: 10px;
    display: none;
}

.success {
    background-color: #dff0d8;
    color: #3c763d;
}

.error {
    background-color: #f2dede;
    color: #a94442;
}

.order-list {
    margin-top: 15px;
    padding: 15px;
    display: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 80%;
}

.order-info {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 300px;
}
.order-info td {
    border: 0 !important;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    height: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.modal-content button.save-button {
    background-color: #28a745;
    color: #fff;
}

.modal-content button.cancel-button {
    background-color: #6c757d;
    color: #fff;
    margin-left: 10px;
}

.form-group {
    margin-top: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 90%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    height: 100px;
}

.form-group button:hover {
    background-color: #218838;
}

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

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

table {
    width: 100%;
    max-height: 80%;
    overflow-y: auto;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

.qq-list, .alipay-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qq-list li, .alipay-list li {
    margin-bottom: 2px;
}

.add-button {
    padding: 10px;
    width: 30px;
}

.remove-button {
    background-color: orangered;
}

.dynamic-field {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.dynamic-field input {
    flex: 1;
    margin-right: 10px;
}

.user-form {
    max-height: 500px;
    overflow-y: auto;
}