
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f4f7fb;
    color: #263747;
    font: 14px/1.6 Arial, "Microsoft YaHei", sans-serif;
}

a {
    color: #0865b8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

header {
    background: #fff;
    border-bottom: 1px solid #dce5ee;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #de1717;
}

.nav a {
    display: inline-block;
    margin-left: 14px;
}

main {
    padding-top: 20px !important;
    padding-bottom: 30px !important;
}

.card {
    background: #fff;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 16px;
}

h1 {
    margin: 0;
    font-size: 23px;
}

.muted {
    color: #728191;
    font-size: 13px;
}

.title-row,
.toolbar,
.tabs,
.import-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.title-row {
    justify-content: space-between;
}

.tabs {
    margin-top: 16px;
}

button,
input,
textarea {
    font: inherit;
}

button {
    padding: 7px 13px;
    border: 1px solid #becddd;
    border-radius: 5px;
    background: #fff;
    color: #285273;
    cursor: pointer;
}

button:hover {
    background: #edf5ff;
}

button.active,
button.primary {
    color: #fff;
    background: #087bbb;
    border-color: #087bbb;
}

button.danger {
    color: #be3535;
}

button:disabled {
    opacity: .55;
    cursor: default;
}

input[type="search"],
textarea {
    border: 1px solid #bdcbd9;
    border-radius: 5px;
    padding: 8px 10px;
    background: #fff;
    color: #263747;
}

input[type="search"] {
    width: 230px;
    max-width: 100%;
}

textarea {
    display: block;
    width: 100%;
    min-height: 78px;
    resize: vertical;
    margin: 10px 0;
}

.toolbar {
    margin-bottom: 12px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 800px;
    font-size: 13px;
}

th,
td {
    padding: 10px 8px;
    border-bottom: 1px solid #e4ebf2;
    text-align: left;
    white-space: nowrap;
}

th {
    background: #edf5fc;
    font-weight: normal;
    color: #486078;
}

tbody tr:hover {
    background: #f8fbff;
}

td a {
    margin-right: 9px;
}

td button {
    padding: 3px 9px;
    font-size: 12px;
}

.red {
    color: #d72b2b;
}

.green {
    color: #078354;
}

#pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 14px;
}

#notice {
    display: none;
    padding: 10px 14px;
    border: 1px solid #ead4a2;
    background: #fff8e7;
    color: #825b16;
    border-radius: 5px;
    margin-bottom: 14px;
    white-space: pre-wrap;
}

.empty {
    padding: 28px;
    text-align: center;
    color: #728191;
}

.gate {
    padding: 35px 20px;
    text-align: center;
}

.gate a {
    display: inline-block;
    margin: 10px;
}

footer {
    text-align: center;
    color: #7b8794;
    padding: 15px 0 25px;
    font-size: 12px;
}

@media (max-width: 600px) {
    .nav a {
        margin-left: 0;
        margin-right: 12px;
    }

    .card {
        padding: 12px;
    }

    h1 {
        font-size: 21px;
    }
}
