.text-small {
    font-size: 12px;
}
.text-middle {
    font-size: 14px;
}
.text-default {
    color: #141414;
}
.text-gray {
    color: #747474;
}
.mx-small {
    margin-left: 4px;
    margin-right: 4px;
}
.mt-0 {
    margin-top: 0px !important;
}
.padding-middle {
    padding: 24px;
}
.mb-middle {
    margin-bottom: 24px;
}
.mt-large {
    margin-top: 48px;
}
.ml-middle {
    margin-left: 24px;
}
.btn-default-new {
    display: inline-block;
    height: 34px;
    line-height: 34px;
    padding: 0 24px;
    background: #FF5500;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    border: 1px solid #FF5500;
    cursor: pointer;
}
.btn-deactivate {
    display: inline-block;
    height: 34px;
    line-height: 34px;
    padding: 0 24px;
    background: #fff;
    border-radius: 4px;
    font-size: 14px;
    color: #F12900;
    border: 1px solid #fff;
    cursor: pointer;
}
.btn-cancel {
    display: inline-block;
    /*height: 36px !important;*/
    /*line-height: 36px !important;*/
    padding: 0 24px;
    background: #fff !important;
    border-radius: 4px;
    font-size: 14px;
    color: #232323 !important;
    border: 1px solid rgba(0,0,0,0.0784) !important;
    cursor: pointer;
}

/* 悬浮时显示提示 */
.priority-header {
    position: relative;
    background: url('../images/domain/domain-priority.png') no-repeat 60px center / 16px 16px;
    cursor: pointer;
}
.priority-header:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    z-index: 999;
}
/*.priority-header:hover::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 4px;*/
/*    left: 70px;*/
/*    transform: translateX(-50%);*/
/*    border: 6px solid transparent;*/
/*    border-bottom-color: #000;*/
/*}*/

.my-domain-new {
    background-color: #fff;
    margin-top: 0;
}
/*解决面包屑和表头的间隙*/
.my-domain-new .table-container, .domain-new-content .table-container {
    margin-top: -2px;
}
.my-domain-new .header-lined, .domain-new-content .header-lined {
    padding: 24px 24px 0 24px;
    background-color: #fff;
}
.my-domain-new div.header-lined h1, .domain-new-content div.header-lined h1 {
    margin: 0;
    padding: 0;
}
.my-domain-new div.header-lined .breadcrumb, .domain-new-content div.header-lined .breadcrumb {
    margin-bottom: 24px;
}
div.header-lined .breadcrumb li a {
    color: #8E8E8E;
}
div.header-lined .breadcrumb li a:hover {
    color: #FF5500;
}
div.header-lined .breadcrumb > .active, div.header-lined .breadcrumb > .active:before {
    color: #232323;
}
.form-control {
    box-shadow: none !important;
    border-radius: 4px !important;
}
#tableDomainsList_wrapper {
    padding: 0 24px;
}
.dataTables_wrapper .dataTables_filter label {
    padding-right: 0px;
}

/*表格*/
#tableDomainsList {
    table-layout: fixed !important;
    border: none !important;
    width: 100%;
}
.dataTables_filter {
    position: static !important;
}
#tableDomainsList thead {
    background: rgba(0, 0, 0, 0.02);
}
#tableDomainsList thead th {
    background-color: rgba(0, 0, 0, 0.002);
    padding: 12px 8px;
    text-align: left;
    font-size: 14px;
    color: rgba(0,0,0,0.88);
    transition: background-color 0.2s;
    white-space: nowrap;
    border: 0;
}
#tableDomainsList > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    cursor: default;
}
#tableDomainsList th:last-child,
#tableDomainsList td:last-child {
    width: 260px;
}
#tableDomainsList th:nth-child(2),
#tableDomainsList td:nth-child(2) {
    width: 150px;
}
#tableDomainsList th:nth-child(3),
#tableDomainsList td:nth-child(3) {
    width: 150px;
}
#tableDomainsList th:nth-child(4),
#tableDomainsList td:nth-child(4) {
    width: 150px;
}
#tableDomainsList th:nth-child(5),
#tableDomainsList td:nth-child(5) {
    width: 120px;
}
.status {
    font-size: 14px;
    font-weight: 400;
}
.status-pending {
    color: #FF8000;
}
.status-active {
    color: #1FA700;
}
.status-expired {
    color: #747474;
}

/* 操作栏样式 */
.septal-line {
    font-weight: 400;
    font-size: 14px;
    color: #D8D8D8;
    width: 1px;
    height: 22px;
    line-height: 22px;
}
.btn-group {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.dropdown-menu-new {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}
.dropdown-menu-new li {
    list-style: none;
}
.dropdown-menu-new li a {
    font-weight: 400;
    font-size: 14px;
    color: #0256FF;
    transition: background-color 0.2s;
}
.dropdown-menu-new li.divider {
    margin: 0;
    padding: 0;
}
.dropdown-more-btn {
    width: 12px;
    height: 20px;
    border: none;
    background: transparent !important;
    cursor: pointer;
    position: relative;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropdown-more-btn.active::before {
    content: '⋮';
    font-size: 20px;
    color: #0256FF;
    cursor: pointer;
}
.dropdown-more-btn.inactive::before {
    content: '⋮';
    font-size: 20px;
    color: #D8D8D8;
    cursor: not-allowed;
}
.disabled a {
    color: #AAAAAA !important;
    cursor: not-allowed !important;
    background-color: transparent !important;
}

/* 下拉菜单样式 */
.dropdown-more-menu {
    position: absolute;
    top: 22px;
    right: 0;
    padding: 6px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
}
.dropdown-more-menu a {
    display: block;
    padding: 4px 12px;
    text-decoration: none;
    margin-bottom: 2px;
    font-size: 12px !important;
}
.dropdown-more-menu a:hover {
    background-color: #e5eefe;
    border-radius: 4px;
}
.dropdown-more-btn.active:hover .dropdown-more-menu {
    display: block;
}
.dropdown-more-btn.inactive:hover .dropdown-more-menu {
    display: none;
}
/*ENG -- DOMAINLIST*/

/*域名详情*/
.my-domain-new .card {
    margin: 0 !important;
    box-shadow: none !important;
    padding: 24px !important;
}
.domain-top-alert {
    margin: -2px 0 0 0 !important;
    box-shadow: none !important;
    background-color: #fff;
    padding: 0 24px;
    transition: padding 0.3s ease;
}
.alert {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 640px;
    min-width: max-content;
    padding: 8px 14px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.88);
}
.alert::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
.alert-success::before {
    background-image: url('../images/domain/domain-yes.png');
}
.alert-danger::before {
    background-image: url('../images/domain/domain-error-1.png');
}
.alert-warning::before {
    background-image: url('../images/domain/domain-warning.png');
}
.alert-info::before {
    background-image: url('../images/domain/domain-info-1.png');
}
.alert-info {
    background: #E6F4FF;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #91CAFF;
}
.alert-danger {
    background: #FFF1F0;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #FFA39E;
}
.alert .btn-default {
    background: #f50;
    border-radius: 4px 4px 4px 4px;
    border: none;
    padding: 4px 14px;
    color: #fff;
    margin: 0 14px;
}

.my-domain-new .sub-title {
    font-size: 16px;
    font-weight: 600;
    color: #141414;
    margin-bottom: 16px;
}
.my-domain-new .divider-line {
    width: 100%;
    height: 1px;
    background-color: #E0E0E0;
    margin: 14px 0;
}
div.header-lined h1 {
    font-weight: 600;
}

.detail-row {
    display: flex;
    flex-wrap: wrap;
}
.detail-item {
    flex: 1;
    min-width: 280px;
}
.detail-item:last-child {
    margin-right: 0;
}
.detail-item h5, .sub-title-default {
    display: inline-block;
    min-width: 200px;
    font-weight: 500;
    font-size: 14px;
    color: #141414;
}
.detail-item span {
    font-weight: 400;
    font-size: 14px;
    color: #8E8E8E;
}

/*自动续订*/
.domain-sever-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #8E8E8E;
    margin-bottom: 24px;
}
.domain-sever-title .sub-title {
    margin-bottom: 0;
    white-space: nowrap;
}
.flex-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}
.sub-title-default .label-success, .label-danger {
    background-color: #fff !important;
    display: inline-block;
    font-weight: 400;
}
.label-success {
    color: #1FA700 !important;
}
.label-danger {
    color: #F12900 !important;
}
.my-domain-new button, .domain-new-content button {
    height: 34px;
    padding: 0 24px;
    background: #FF5500;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    border: none;
    cursor: pointer;
}
.btn-danger {
    color: #fff;
    background-color: #F12900 !important;
    border-color: #F12900 !important;
}
.btn-danger:focus {
    color: #fff;
    background-color: #F12900 !important;
    border-color: #F12900 !important;
}
.btn-danger:hover {
    color: #fff;
    background-color: #F12900 !important;
    border-color: #F12900 !important;
}
.btn-success {
    color: #fff !important;
    background-color: #1FA700 !important;
    border-color: #1FA700 !important;
}
.btn-disabled {
    background: #E5E5E5 !important;
    cursor: not-allowed !important;
    color: #565656 !important;
}

/*管理域名服务器*/
#tabNameservers .radio-group-domain {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
#tabNameservers .radio-group-domain div {
    display: flex;
    align-items: center;
    gap: 4px;
}
#tabNameservers .radio-group-domain label {
    margin-bottom: 0;
}
#tabNameservers input[type="radio"], #tabNameservers input[type="checkbox"] {
    margin: 0;
    accent-color: #FF5500 !important;
    cursor: pointer;
}
#tabNameservers .col-form-label {
    min-width: 128px;
    text-align: left;
    font-weight: 400;
}
#tabNameservers .col-form-input {
    width: 512px;
}
#tabNameservers .form-control[disabled], .form-control[readonly], fieldset[disabled] {
    background-color: #F2F2F2;
    opacity: 1;
    cursor: not-allowed;
}
#tabNameservers .form-control[disabled], .form-control[readonly], fieldset[disabled]:focus {
    border-color: #F2F2F2;
}

/*附加服务*/
.domain-addon-content {
    width: 520px;
    background: #FFF4EF;
    border-radius: 4px 4px 4px 4px;
    padding: 24px;
    background: #FFF4EF url('../images/domain/domain-addon-content.png') no-repeat;
    background-position: right bottom;
    background-size: 120px 120px;
}

/*DNS管理*/
.table-dns tbody > tr > td {
    display: table-cell;
    padding: 16px 12px 16px 0px;
}

/*域名续费*/
#tableDomainsRenewals {
    table-layout: fixed;
    width: 100%;
}
#tableDomainsRenewals th:nth-child(2),
#tableDomainsRenewals td:nth-child(2) {
    width: 100px;
}
#tableDomainsRenewals th:nth-child(3),
#tableDomainsRenewals td:nth-child(3) {
    width: 240px;
}
#tableDomainsRenewals th:nth-child(4),
#tableDomainsRenewals td:nth-child(4) {
    width: 24px;
}
#tableDomainsRenewals th:nth-child(5),
#tableDomainsRenewals td:nth-child(5) {
    width: 156px;
    text-align: right;
}

/*私有域名服务器*/
#tabPrivateNameservers .col-form-label {
    min-width: 128px;
    text-align: left;
    font-weight: 400;
    padding-top: 0;
}
#tabPrivateNameservers .detail-row {
    align-items: center;
}
#tabPrivateNameservers .col-form-input {
    width: 512px;
}