@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 14px;
    color: #282828;
    background: #f9f9f9;
    font-family: "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

a {
    text-decoration: none;
    color: #000;
}

input {
    border: none;
}

input:focus, textarea:focus {
    outline: none;
}

::-webkit-input-placeholder {
    color: #ccc;
    font-size: 16px;
}

:-moz-placeholder {
    color: #ccc;
    font-size: 16px;
}

::-moz-placeholder {
    color: #ccc;
    font-size: 16px;
}

:-ms-input-placeholder {
    color: #ccc;
    font-size: 16px;
}

button {
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
}

.HeadLogo h1 {
    font-size: 0;
}

.wrapper_1200 {
    width: 1200px;
}

#container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#Header {
    z-index: 9;
    width: 100%;
    background: #2b364a;
}

#Footer {
    z-index: 9;
    background: #393c41;
    width: 100%;
    margin-top: 100px;
}

#header {
    z-index: 9;
    width: 100%;
    background: #2b364a;
}

#header .head_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 40px;
    height: 100%;
    font-size: 12px;
    margin: 0 auto;
    color: #e5e5e5;
}

#header .head_top .left_box {
    display: flex;
    align-items: center;
}

#header .head_top .left_box .home {
    margin-right: 10px;
}

#header .head_top .left_box a {
    color: #e5e5e5;
    display: flex;
    align-items: center;
}

#header .head_top .left_box a img {
    width: 16px;
    height: 16px;
    margin: 0 5px;
}

#header .head_top .right_box {
    display: flex;
    align-items: center;
}

#header .head_top .right_box a {
    color: #e5e5e5;
}

#header .head_top .right_box .line {
    margin: 0 10px;
    color: #FFFFFF;
}

#header .head_top .right_box .login {
    cursor: pointer;
    margin-left: 15px;
    position: relative;
}

#header .head_top .right_box .login .login_out {
    display: flex;
    align-items: center;
}

#header .head_top .right_box .login .login_out img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-right: 8px;
}

#header .head_top .right_box .login .login_out .login_box {
    display: none;
    position: absolute;
    top: 40px;
    width: 130px;
    z-index: 2;
    background: #2b364a;
    text-align: left;
    padding: 0 25px;
    margin-left: -20px;
    color: #b4b4b4;
}

#header .head_top .right_box .login .login_out .login_box .box:hover {
    color: #FFFFFF;
}

#header .head_top .right_box .notice {
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 12px;
}

#header .head_top .right_box .notice img {
    width: 20px;
    height: 20px;
}

#header .head_top .right_box .notice .num {
    font-size: 12px;
    position: absolute;
    top: -6px;
    right: -22px;
    background-color: #f56c6c;
    border-radius: 10px;
    color: #fff;
    display: inline-block;
    height: 18px;
    line-height: 18px;
    padding: 0 6px;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #fff;
}

#header .head_btm {
    width: 100%;
    height: 80px;
    background: #FFFFFF;
}

#header .head_btm .wrapper_1200 {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header .head_btm .wrapper_1200 .logo {
    cursor: pointer;
    display: flex;
    align-items: center;
}

#header .head_btm .wrapper_1200 .logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

#header .head_btm .wrapper_1200 .nav_box {
    height: 80px;
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 220px;
    font-size: 15px;
}

#header .head_btm .wrapper_1200 .nav_box span {
    margin-right: 23px;
    color: #555;
    cursor: pointer;
}

#header .head_btm .wrapper_1200 .nav_box span:hover {
    color: #2a8aef;
}

#header .head_btm .wrapper_1200 .nav_box .search {
    position: absolute;
    right: 0;
    width: 200px;
    height: 48px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

#header .head_btm .wrapper_1200 .nav_box .search input {
    width: 150px;
    display: block;
    height: 100%;
}

#header .head_btm .wrapper_1200 .nav_box .search img {
    cursor: pointer;
    width: 20px;
}

#footer {
    background: #393c41;
    width: 100%;
    display: flex;
    flex-direction: column;
}

#footer .footer_box {
    width: 1200px;
    padding-top: 52px;
    padding-bottom: 36px;
    margin: 0 auto;
    display: flex;
}

#footer .footer_box .box:first-of-type {
    margin-left: 0;
}

#footer .footer_box .box {
    margin-left: 60px;
    display: flex;
    flex-direction: column;
}

#footer .footer_box .box .name {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

#footer .footer_box .box .item_box {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

#footer .footer_box .box .item_box img {
    margin-top: 10px;
    width: 102px;
    height: 102px;
}

#footer .footer_box .box .item_box a {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}

#footer .footer_box .box .item_box a span {
    color: #6aa6ff;
}

#footer .footer_box .box .item_box a:hover {
    color: #FFFFFF;
}

#footer .footer_box .box .item_box p {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}

#footer .footer_box .box .item_box p span {
    color: #6aa6ff;
}

#footer .footer_box .box .enterprise {
    margin-top: 6px;
    text-align: center;
    padding-top: 20px;
    display: flex;
    color: #ccc;
    width: 250px;
    margin-left: -20px;
}

#footer .footer_box .box .enterprise img {
    width: 50px;
    height: 50px;
    color: rgba(255, 0, 0, 0.739);
    display: inline-block;
    margin-left: 10px;
}

#footer .footer_box .box .enterprise .font {
    margin-left: 10px;
    text-align: left;
    font-size: 15px;
    margin-top: 5px;
}

#footer .footer_box .box .enterprise .font .num {
    display: inline-block;
    margin-top: 5px;
    color: #7c7878;
}

#footer .friend-link {
    width: 1200px;
    margin: 0 auto;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 13px;
    color: #ccc;
    display: flex;
    border-top: 1px solid #494d53;
}

#footer .friend-link .box {
    flex: 1;
    font-size: 13px;
    color: #ccc;
}

#footer .friend-link .box a {
    font-size: 13px;
    color: #ccc;
    margin-right: 25px;
}

#footer .copyright {
    width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #494d53;
    height: 50px;
    font-size: 12px;
    color: #ccc;
    display: flex;
    align-items: center;
}

#popup {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    background: transparent;
    display: none;
    user-select: none;
}

#popup .Popup {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#popup .loading {
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 40%;
    right: 0;
    margin: auto;
    max-width: 12.5rem;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    padding: .625rem;
    flex-wrap: nowrap;
    display: none;
}

#popup .loading img {
    width: 45px;
    margin-right: 10px;
}

#popup .toast {
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 40%;
    right: 0;
    margin: auto;
    max-width: 12.5rem;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    padding: .625rem;
    display: none;
}

#popup .toast img {
    width: 20px;
    margin-right: 10px;
}

#popup .modal {
    z-index: 1000;
    width: 420px;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    display: none;
    flex-direction: column;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #ebeef5;
    margin-bottom: 20px;
}

#popup .modal .modal_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    color: #303133;
    padding: 15px 15px 10px;
}

#popup .modal .modal_top .cancel {
    cursor: pointer;
    font-size: 28px;
}

#popup .modal .modal_top .cancel:hover {
    cursor: pointer;
    font-size: 28px;
    color: #ea3f30;
}

#popup .modal .modal_center {
    padding: 10px 15px;
    color: #606266;
    font-size: 14px;
}

#popup .modal .modal_btm {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 5px 15px 10px;
    font-size: 12px;
}

#popup .modal .modal_btm .modal_btm_btn {
    cursor: pointer;
    padding: 7px 15px;
    border-radius: 3px;
    border: 1px solid #dcdfe6;
    color: #606266;
}

#popup .modal .modal_btm .cancel:hover {
    color: #e93323;
    border-color: #f8c2bd;
    background-color: #fdebe9;
}

#popup .modal .modal_btm .confirm {
    margin-left: 10px;
    color: #fff;
    background-color: #e93323;
    border-color: #e93323;
}

#popup .modal .modal_btm .confirm:hover {
    background: #ed5c4f;
    border-color: #ed5c4f;
    color: #fff;
}

.certificate-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    width: 100%;
}

.certificate-header h1 {
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.certificate-header p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.filter-section {
    background: #fff;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    width: 100%;
    max-width: 1200px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: block;
}

.filter-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.filter-input:focus {
    outline: none;
    border-color: #667eea;
}

.filter-select {
    width: 100%;
    height: 36px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.filter-btn {
    background: #667eea;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.filter-btn:hover {
    background: #5a6fd6;
}

.table-wrapper {
    width: 100%;
    max-width: 1200px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.table-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.export-btn {
    padding: 8px 16px;
    border: 1px solid #1890ff;
    border-radius: 4px;
    background: #fff;
    color: #1890ff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.export-btn:hover {
    background: #e6f7ff;
}

.table-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.table-info {
    font-size: 14px;
    color: #999;
}

.table-container {
    overflow-x: auto;
}

.certificate-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.certificate-table thead {
    background: #fafafa;
}

.certificate-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.certificate-table tbody td {
    min-width: 200px;
    padding: 14px 16px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}
.certificate-table tbody td:first-of-type{
    min-width: 80px;
}
.certificate-table tbody td:nth-of-type(4){
    min-width: 150px;
}
.certificate-table tbody td:nth-of-type(5){
    min-width: 170px;
}
.certificate-table tbody td:last-of-type {
    min-width: 100px;
}

.table-row {
    cursor: pointer;
    transition: background-color 0.2s;
}

.table-row:hover {
    background-color: #fafafa;
}

.title-cell {
    font-weight: 500;
    color: #333;
    white-space: normal;
    line-height: 1.4;
}

.time-cell {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-reserved {
    background: #fff7e6;
    color: #d48806;
}

.status-untransferred {
    background: #f6ffed;
    color: #52c41a;
}

.status-transferring {
    background: #e6f7ff;
    color: #1890ff;
}

.status-transferred {
    background: #fff1f0;
    color: #ff4d4f;
}

.status-pending {
    background: #f9f0ff;
    color: #722ed1;
}

.status-forbidden {
    background: #f5f5f5;
    color: #d9d9d9;
}

.certificate-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
}

.certificate-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.certificate-card-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.certificate-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.certificate-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 8px;
    font-weight: 500;
}

.status-reserved {
    background: #fff7e6;
    color: #d48806;
}

.status-untransferred {
    background: #f6ffed;
    color: #52c41a;
}

.status-transferring {
    background: #e6f7ff;
    color: #1890ff;
}

.status-transferred {
    background: #fff1f0;
    color: #ff4d4f;
}

.status-pending {
    background: #f9f0ff;
    color: #722ed1;
}

.status-forbidden {
    background: #f5f5f5;
    color: #d9d9d9;
}

.certificate-card-body {
    padding: 15px 20px;
}

.certificate-info {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.certificate-info:last-child {
    border-bottom: none;
}

.info-label {
    color: #999;
    font-size: 13px;
}

.info-value {
    color: #333;
    font-weight: 500;
}

.certificate-detail-btn {
    width: 100%;
    background: #f5f5f5;
    color: #667eea;
    border: none;
    padding: 12px;
    border-radius: 0 0 12px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.certificate-detail-btn:hover {
    background: #eee;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state img {
    width: 120px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

.pagination-wrap {
    text-align: center;
    padding: 30px 20px;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(.disabled):not([disabled]) {
    border-color: #1890ff;
    color: #1890ff;
}

.page-btn.active {
    background: #1890ff;
    border-color: #1890ff;
    color: #fff;
}

.page-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
}

.page-ellipsis {
    padding: 0 8px;
    font-size: 14px;
    color: #999;
}

@media screen and (max-width: 768px) {
    .certificate-header {
        padding: 20px 15px;
    }

    .certificate-header h1 {
        font-size: 22px;
    }

    .filter-section {
        padding: 10px 15px;
    }

    .filter-row {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .filter-item {
        flex: 1;
        min-width: 0;
    }

    .filter-input {
        padding: 8px 10px;
        font-size: 13px;
    }

    .filter-btn {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 60px;
    }

    .table-wrapper {
        margin: 0 15px;
        border-radius: 6px;
    }

    .table-header {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .table-title {
        font-size: 15px;
    }

    .table-info {
        font-size: 13px;
    }

    .certificate-table thead th {
        padding: 10px 12px;
        font-size: 13px;
    }

    .certificate-table tbody td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .time-cell {
        font-size: 12px;
    }

    .status-tag {
        padding: 3px 8px;
        font-size: 11px;
    }

    .certificate-list {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 15px;
    }

    .certificate-card {
        border-radius: 10px;
    }

    .certificate-title {
        font-size: 15px;
    }

    .certificate-info {
        font-size: 13px;
    }

    .info-label {
        font-size: 12px;
    }

    .wrapper_1200 {
        width: 100%;
        padding: 0 15px;
    }

    #footer .footer_box,
    #footer .friend-link,
    #footer .copyright {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    #header .head_btm .wrapper_1200 .nav_box {
        padding-right: 0;
        overflow-x: auto;
    }

    #header .head_btm .wrapper_1200 .nav_box .search {
        display: none;
    }
}