.xunjia-nav {
    border-bottom-color: #f1f1f1;
}

.xunjia-nav .nav-link {
    font-size: 1rem;
    color: #333333;
    background: #f1f1f1;
    border-radius: 0;
    border: none;
    padding: 0.75rem 2rem;
}

.xunjia-nav .nav-link.active {
    background: #469682;
    color: white;
}

.xunjia-nav .info {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 0;
}

.xunjia-nav .info span {
    color: red;
}

.server_cont .pic{
    width: 8rem;
    border: 1px solid #e9e9e9;
    border-radius: 0.5rem;
}
.server_cont .pic img{
    width: 80%;
    height: 80%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.server_cont .text{
    flex: 1 1 0;
    line-height: 2;
}

.headerInfo {
    font-size: 0.875rem;
    color: #999;
}

.headerInfo .icon {
    width: 1rem;
}

.headerInfo span {
    color: #333;
    padding: 0 0.25rem;
}

.headerInfo .rigInfo {
    color: #333;
}

.headerInfo .successNum {
    color: #469682;
}

.headerInfo .failNum {
    color: #f09007;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-scroll.dragging {
    cursor: grabbing;
}

.xunjia-table {
    border: 1px solid #e9e9e9;
    width: 100%;
    border-collapse: collapse;
    min-width: 1168px;
}

.xunjia-table thead tr {
    background: #f6f6f6;
}

.xunjia-table th,
.xunjia-table td {
    font-size: 0.875rem;
    vertical-align: middle;
    position: relative;
}

.xunjia-table th i {
    color: red;
}

.tooltip_icon {
    background: url("../images/topip_def_icon.png") no-repeat center center;
    background-size: cover;
    width: 0.875rem;
    height: 0.875rem;
    display: inline-block;
    vertical-align: middle;
}

.tooltip_icon:hover {
    background: url("../images/topip_active_icon.png") no-repeat center center;
    background-size: cover;
}

/*提示窗口样式*/
.custom-tooltip .tooltip-inner {
    text-align: left;
    white-space: pre-line;
}

.xunjia-table tbody tr td:first-child {
    text-align: center;
    position: relative;
}

.attach .modal-body,
.attach .modal-title {
    font-size: 0.875rem;
}

.attach .modal-footer .btn-primary {
    background: #469682;
    border: none;
    font-size: 0.875rem;
}

.attach .modal-footer .btn-secondary {
    background: #f1f1f1;
    border: none;
    color: #666;
    font-size: 0.875rem;
}

.attachNum {
    position: absolute;
    right: 1.5rem;
    top: 0.5rem;
    background: #469682;
    color: white;
    font-size: 0.625rem;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delTr {
    width: 1rem;
    height: 1rem;
}

.addTrBtn {
    border: 1px solid #e9e9e9;
    border-top: none;
}

.addTrBtn .btn {
    background: url("../images/addTr_icon.png") no-repeat left center;
    background-size: 1.5rem 1.5rem;
    display: block;
    padding-left: 2rem;
    border: none;
    color: #469682;
    font-size: 0.875rem;
}

.modal-header .modal-title {
    font-size: 0.875rem;
}

.btn-secondary {
    background: #f1f1f1;
    border: none;
    color: #666;
    font-size: 0.875rem;
}

.view-attach {
    color: #666;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.upload-list li {
    border: 1px solid #e9e9e9;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.upload-list li .icon {
    width: 1rem;
    height: 1rem;
    background: url("../images/wnj_icon.png") no-repeat center center;
    background-size: cover;
}

.upload-list li .name {
    padding: 0;
    flex: 1 1 0;
    width: 0;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #1977b4;
    font-size: 0.875rem;
}

.upload-list li .del {
    font-size: 0.875rem;
    color: #666;
    width: 3rem;
    text-align: center;
    cursor: pointer;
    border: none;
    background: none;
}

.batch-ops .upBtn {
    width: 10rem;
    background: #f09007;
    font-size: 0.875rem;
    color: white;
}

.batch-ops .text-success {
    color: #469682;
    font-size: 0.875rem;
}

.batch-ops .text-muted {
    color: #999;
    font-size: 0.875rem;
}

.batch-ops .bz_msg {
    word-break: keep-all;
    font-size: 0.875rem;
    padding-top: 0.5rem;
}

.batch-ops textarea {
    font-size: 0.875rem;
}

.big-upload {
    flex: 1 1 auto;
}

.big-upload li {
    max-width: 30%;
    width: 100%;
    margin: 0;
}

/* ====== Xunjia Form Styles (extracted from price.html) ====== */
/* Icon sizes */
.xj-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.xj-prompt-icon {
    width: 1rem;
    height: 1rem;
}

.xunjia-form label,
.xunjia-form a,
.xunjia-form span,
.xunjia-form input,
.xunjia-form select {
    font-size: 0.875rem;
}

.form-footer {
    border-top: 1px solid #e9e9e9;
}

.form-footer .submit {
    padding: 0.75rem 2rem;
}

.excel-import-flag {
    position: absolute;
    left: 0;
    top: 0;
    background: url("../images/batch_label_bg.png") no-repeat center center;
    background-size: cover;
    width: 2rem;
    height: 2rem;
    display: block;
}

/* Brand colors */
.text-orange {
    color: #f09007 !important;
}

.text-green {
    color: #469682 !important;
}

.text-gray {
    color: #999 !important;
}

/* Buttons */
.btn-green {
    background: #469682;
    color: #fff;
}

.btn-green:hover,
.btn-green:focus {
    background: #3b7c6e;
    color: #fff;
}

.upAttach,
.upAttach:hover,
.upAttach:visited,
.upAttach:active {
    border: 1px solid #e9e9e9;
    background: #fafafa;
    width: 7rem;
    height: 7rem;
}

.upAttach:focus:not(:focus visible) {
    outline: 1px solid #e9e9e9 !important;
}

/* Inputs & selects */
.input-wide {
    max-width: 676px;
    width: 100%;
}

.input-sm-180 {
    width: 210px;
}

.select-sm {
    width: 140px;
}

/* Responsive (<=1200px) */
@media (max-width: 1200px) {
    .headerInfo .rigInfo {
        font-size: 0.75rem;
    }
}

/* Responsive (<=768px) */
@media (max-width: 768px) {
    .xunjia-nav{
        gap: 1rem;
    }
    .xunjia-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    .xj-icon {
        display: none;
    }

    .input-sm-180,
    .select-sm {
        width: 100%;
    }

    .mc-input {
        width: 100%;
    }

    .big-upload li {
        max-width: 100%;
    }
    .server_cont .text{
        width: 100%;
        flex: 1 1 auto;
    }
}