body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #212121;
    margin: 0;
    padding: 0;
    color: #e4e4e7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* 使容器垂直居中 */
}

.container {
    width: 100%;
    max-width: 700px;
    background-color: #383838;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.form-title {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 24px;
}

.text-form textarea.content-area {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #5e5f6b;
    background-color: #303030;
    color: #f1f1f1;
    border-radius: 4px;
    resize: vertical;
    box-sizing: border-box;
}

.signature-input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #5e5f6b;
    background-color: #303030;
    color: #f1f1f1;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 20px;
}

.button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.submit-button {
    padding: 10px 24px;
    background-color: #565869;
    color: #ffffff;
    border: none;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #6b6d7e;
}

.success-message {
    text-align: center;
    color: #00e676;
    font-weight: bold;
    margin-top: 20px;
}

/* 模态遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* 模态框主体 */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300px;
    transform: translate(-50%, -50%);
    background-color: #383838;
    color: #e4e4e7;
    border: 1px solid #5e5f6b;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* 标题栏 */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2e2e2e;
    padding: 10px;
    border-bottom: 1px solid #5e5f6b;
    font-weight: bold;
}

/* 关闭按钮 */
.modal-close {
    background: none;
    border: none;
    color: #e4e4e7;
    font-size: 18px;
    cursor: pointer;
}

/* 内容区域 */
.modal-body {
    padding: 20px;
    text-align: center;
    font-size: 16px;
}

/* 保持原按钮风格 */
.modal button:hover {
    background-color: #6b6d7e;
}
