main>.container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* 自定义分页样式 */
.custom-pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.custom-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.custom-pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-pagination .page-item {
    display: inline-flex;
    margin: 0;
}

.custom-pagination .page-link,
.custom-pagination span.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    background: #ffffff;
    color: #4b5563 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    margin: 0 !important;
}

.custom-pagination a.page-link:hover {
    background: #f3f4f6;
    border-color: #d1d5db !important;
    color: #1f2937 !important;
}

.custom-pagination .active .page-link {
    background: #374151 !important;
    border-color: #374151 !important;
    color: #ffffff !important;
}

.custom-pagination .disabled .page-link,
.custom-pagination .disabled span.page-link {
    color: #9ca3af !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.custom-pagination .disabled a.page-link:hover {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
}

.page-jump-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jump-label {
    font-size: 14px;
    color: #4b5563;
}

.jump-input {
    width: 70px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    outline: none;
    transition: border-color 0.15s ease;
}

.jump-input:focus {
    border-color: #374151;
}