.button { border-radius: 4px; background-color: black; color: white; padding: 6px 12px; cursor: pointer; outline: none; border: none; line-height: 12px; font-size: 12px; vertical-align: middle; display: inline-block; }
.button:hover { text-decoration: underline; }

.top { border-bottom: 1px solid #CCC; padding: 10px 0; margin: 10px 0; }

.result { padding: 20px; }
.result .success { color: black; }
.result .failed { color: #f44336; }

table.list { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.4; }
table.list input, table.list select { display: inline-block; width: 100%; font-size: 12px; border: 1px solid #EEE; padding: 2px; }
table.list th { background-color: #DDD; }
table.list tr:hover td { background-color: #EFEFEF; }
table.list tr:hover input, table.list tr:hover select { border-color: #AAA; }
table.list th, table.list td { padding: 4px 4px; }
table.list td { font-size: 12px; }

table.list td.right input { text-align: right; }
table.list td. input { text-align: center; }
table.list td.center { text-align: center; }
table.list th.number, table.list td.number { width: 100px; }
table.list th.name, table.list td.name { width: 140px; }
table.list th.birth, table.list td.birth { width: 164px; }

.search { text-align: right; margin: 10px 0; }
.search input { display: inline-block; vertical-align: middle; box-sizing: border-box; }
.search input[name='name'] { width: 150px; }
.search input[name='birth'] { width: 150px; }
.search > * { margin-right: 10px; }


.spacebetween { display: flex; justify-content: space-between; }

.pagination { text-align: center; }
.pagination a, .pagination strong { display: inline-block; padding: 6px; font-size: 14px; }
.pagination img { vertical-align: middle; }

/* .main { display: flex; flex-direction: column; gap: 10px; width: 300px; margin: 0 auto; } */
.main .top { display: flex; height: 100px; padding: 0 70px; background: url('/image/receipt/top_background.png') repeat-x; box-sizing: border-box; font-size: 26px; color: white; align-items: center; font-weight: 600; margin: 0; }
.main .bottom { padding: 40px 70px; font-size: 18px; font-weight: 600; background: url('/image/receipt/background.png') repeat-x; background-position: 0 -120px; }
.main .row { text-align: center; margin-bottom: 20px; }
.main .row strong { font-size: 20px; }
.main label { margin-right: 10px; }
.main input { font-size: 18px; padding: 6px; border: 1px solid #d3d3d3; }
.main input[name='grade'], .main input[name='class'], .main input[name='studentnum'] { width: 40px; }
.main input[name='name'], .main input[name='birth'] { width: 160px; }
.main .spacebetween { justify-content: center; }
.main input[type='submit'] { background-color: #0078c1; color: white; padding: 10px 50px; }