/*容器布局*/
.domain-new-content {
    font-family: PingFang SC, PingFang SC;
    margin: 0 auto;
    padding: 24px !important;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    box-sizing: border-box;
    background-color: #fff;
}

/*修改复选框选中颜色*/
.domain-new-content input[type="checkbox"] {
    accent-color: #FF5500 !important;
    cursor: pointer;
}
.domain-new-content input[type="checkbox"] {
    transition: all 0.2s ease;
}

/*隐藏伪元素*/
.hide-before::before {
    display: none !important;
}
.hide-after::after{
    display: none !important;
}

/* 面包屑导航 */
.domain-new-content .domain-breadcrumb {
    font-size: 12px;
    color: #8E8E8E;
    grid-column: 1 / -1;
}
.domain-new-content .domain-breadcrumb a {
    color: #999;
}
.domain-new-content .domain-breadcrumb a:hover {
    color: #FF5500;
}
.domain-new-content .domain-breadcrumb span {
    margin: 0 4px;
}
.domain-new-content .domain-breadcrumb-normal {
    color: #232323;
}

/* 标题 */
.domain-new-content .page-title {
    font-size: 20px;
    color: #141414;
    font-weight: 600;
    margin: 0;
    grid-column: 1 / -1;
}
.domain-new-content .go-back {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0;
}
.domain-new-content .go-back-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../images/domain/domain-back.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.domain-new-content .form-control {
    box-shadow: none;
}


/* 域名注册 */
.domain-new-content .domain-checker-container {
    grid-column: 1;
}

.domain-new-content .domain-bottom-btn {
    display:flex;
    justify-content:center;
    margin-top: 64px;
}

/* 搜索区域布局 */
.domain-new-content .search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.domain-new-content .search-input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #141414;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s;
}
.domain-new-content .delete-btn {
    position: absolute;
    right: 130px;
    width: 16px;
    height: 16px;
    margin-right: 24px;
    background-image: url('../images/domain/domain-close.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.domain-new-content .search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    /*width: 120px;*/
    min-width: 120px;
    max-width: 140px;
    height: 40px;
    padding: 0 24px;
    background: #FF5500;
    border-radius: 0px 4px 4px 0px;
    font-size: 14px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    transform: translateX(-3px);
    outline: none;
}
.domain-new-content .search-btn::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url('../images/domain/domain-search.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.domain-new-content .search-btn:hover {
    opacity: 0.9;
}

/* 后缀选择区域 */
.domain-new-content .suffixes-title, .domainsuggestions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #141414;
    margin-bottom: 12px !important;
    padding: 0px !important;
}
.domain-new-content .suffixes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100px);
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 24px;
    max-height: 40px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.suffixes-list.expanded {
    max-height: 1000px;
}
.domain-new-content .suffix-item {
    padding: 6px 0px;
    text-align: center;
    font-size: 13px;
    border-radius: 4px;
    color: #232323;
    border: 1px solid rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.2s;
}
.domain-new-content .suffix-item:hover {
    border-color: #FF5500;
    color: #FF5500;
}
.domain-new-content .suffix-item.active {
    background: rgba(255,85,0,0.15);
    border-radius: 4px 4px 4px 4px;
    color: #FF5500;
    border: 1px solid #FF5500;
}
.domain-new-content .expand-btn {
    color: #FF5500;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    margin-left: 4px;
    align-items: center;
    transition: opacity 0.2s;
}
.domain-new-content .expand-btn:after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 6px;
    background-image: url('../images/domain/domain-down.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.domain-new-content .expand-btn.expanded::after {
    transform: rotate(180deg);
}
.domain-new-content .expand-btn:hover {
    opacity: 0.8;
}
.domain-new-content .domainsuggestions {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 空状态 */
.domain-new-content .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    padding: 24px;
}
.domain-new-content .empty-state .empty-img {
    width: 100px;
    height: 100px;
    background-image: url('../images/domain/domain-empty.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 16px;
}
.domain-new-content .empty-state p {
    font-size: 14px;
    color: #747474;
    text-align: center;
}

/* 已选域名侧边栏 */
.domain-new-content .domain-siderbar {
    position: sticky;
    top: 74px;
    grid-column: 2;
    border: 1px solid rgba(0, 0, 0, 0.12);;
    border-radius: 4px;
    height: fit-content;
}
.domain-new-content .domain-siderbar-title {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    color: #3D3D3D;
    background: #FAFAFA;
    margin-bottom: 12px;
    border-radius: 4px 4px 0 0;
}
.domain-new-content .domain-siderbar-title i {
    width: 3px;
    height: 12px;
    margin-right: 4px;
    background: #FF5500;
    border-radius: 8px 8px 8px 8px;
}
.domain-new-content .domain-siderbar-content {
    padding: 0 16px;
}
.domain-new-content .selected-domain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 6px;
    margin-bottom: 14px;
}
.domain-new-content .domain-name {
    font-weight: 500;
    font-size: 14px;
    color: #141414;
}
.domain-new-content .domain-price {
    font-weight: 400;
    font-size: 14px;
    color: #3D3D3D;
}
.domain-new-content .total-price {
    font-size: 14px;
    color: #141414;
}
.domain-new-content #totalPrice {
    font-weight: 600;
    font-size: 14px;
    color: #141414;
}
.domain-new-content .continue-btn-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
}

.domain-new-content .continue-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF5500;
    height: 34px;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 0 24px;
    transition: opacity 0.2s;
    font-size: 14px;
}
.domain-new-content .continue-btn:hover {
    opacity: 0.9;
}
.domain-new-content .continue-btn:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    background-image: url('../images/domain/domain-arrow-right.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/*查询结果*/
.domain-new-content .search-result {
    display: none;
    flex-direction: column;
}
.domain-new-content #domainresults, .domainavailable {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
    max-width: 100%;
}
.domain-new-content .domaininvalid, .domainunavailable, .domainavailable {
    font-weight: 400 !important;
    font-size: 12px !important;
    text-align: left !important;
    padding: 0px 12px !important;
    height: 40px;
    line-height: 40px;
    background: #FFFFFF;
    border-radius: 4px !important;
    border: 1px solid rgba(0,0,0,0.08);
}
.domainavailable {
    color: #1FA700 !important;
}
.domainunavailable, .domaininvalid {
    color: #F12900 !important;
}
.domainunavailable:before, .domaininvalid:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    background-image: url('../images/domain/domain-error.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.domainavailable:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    background-image: url('../images/domain/domain-yes.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.domainregperiod {
    text-align: left;
    padding: 10px 0px 14px 0 !important;
    font-size: 14px;
    width: max-content;
    color: #8E8E8E;
}
.domain-new-content #domainresults button {
    display: none !important;
}
.domain-new-content select {
    border: none !important;
    box-shadow: none !important;
    color: #141414 !important;
}

/*表格*/
.domain-new-content .domainsuggestions {
    width: 100% !important;
    display: flex;
    align-items: center;
}
.domain-new-content .domainsuggestions tbody {
    width: 100%;
}
.domain-new-content .domainsuggestions th {
    display: none;
}
.domain-new-content .domainsuggestions tr {
    border-bottom: 1px solid #EBEBEB;
    display: flex;
    width: 100%;
    padding: 8px 0;
}
.domain-new-content .domainsuggestions td {
    display: flex;
    align-items: center;
    border-bottom: none !important;
}

/* 最后一个td右对齐 */
.domain-new-content .domainsuggestions td:nth-child(3) {
    width: 100%;
    justify-content: flex-end;
}
.domain-new-content .domainsuggestions td {
    line-height: 1 !important;
    padding: 12px;
    font-weight: 400;
    font-size: 14px !important;
    color: #141414 !important;
    border: none;
}
.domain-new-content input[type="radio"], .domain-new-content input[type="checkbox"] {
    margin-top: 0px;
}

/*修改原生select样式*/
.domain-new-content .select2-container--default .select2-selection--single {
    border: none;
    text-align: right;
}
.select-left-align .select2-container--default .select2-selection--single {
    text-align: left !important;
}
.domain-new-content .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}
.domain-new-content .select2-container--default .select2-selection--single .select2-selection__arrow::after {
    content: "";
    background-image: url('../images/domain/domain-select-down.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 8px;
}
.domain-new-content .select2-container--open .select2-selection--single .select2-selection__arrow::after {
    transform: rotate(180deg);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #F5F5F5 !important;
    font-weight: 400;
    font-size: 14px;
    color: #3D3D3D !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #F5F5F5 !important;
    font-weight: 400;
    font-size: 14px;
    color: #F50 !important;
}
.select2-container--default .select2-results>.select2-results__options {
    width: 100%;
    background: #FFFFFF;
    box-shadow:
        0px 9px 28px 8px rgba(0, 0, 0, 0.05),
        0px 3px 6px -4px rgba(0, 0, 0, 0.12),
        0px 6px 16px 0px rgba(0, 0, 0, 0.08);
    border-radius: 6px 6px 6px 6px;
    white-space: normal;
    word-break: break-all;
    padding: 4px !important;
}
.select2-dropdown {
    border: none !important;
}
.select2-results__option {
    padding: 8px 12px !important;
    border-radius: 4px;
}
/*域名注册END*/


/*域名配置*/
/*.domain-new-content #domain-submit {*/
/*    max-width: 1200px;*/
/*}*/
.domain-new-content .panel {
    width: 70%;
    background: #FFFFFF;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    margin-bottom: 16px !important;
    padding: 12px 16px 16px 16px;
}
.domain-new-content .panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #EBEBEB !important;
    border-top: none !important;
    padding: 0 0 8px 0 !important;
}
.domain-new-content .panel-title {
    font-weight: 600;
    font-size: 16px;
    color: #141414;
}
.domain-new-content .remove-domain {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #F12900;
    cursor: pointer;
    position: relative;
    padding-left: 20px;
    border: none;
    background-color: #fff;
}
.domain-new-content .remove-domain::before {
    content: "";
    position: absolute;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #F12900;
}
.domain-new-content .remove-domain::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 50%;
    width: 8px;
    height: 1px;
    background-color: #fff;
    transform: translate(-50%, -50%);
}
.domain-new-content .panel-body {
    padding: 16px 0 0 0;
    font-weight: 400;
    font-size: 14px;
    color: #141414;
}
.domain-new-content .row-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 0 10px 0;
    padding: 0;
}
.row-value {
    width: 46%;
    text-align: right;
    color: #565656;
}
.domain-new-content .checkbox-inline input[type="checkbox"] {
    margin-top: 4px;
}
.domain-new-content sup {
    top: -2px;
    font-size: 14px;
}
.domain-new-content .domain-sever-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 42px 0 24px 0;
    font-size: 14px;
    color: #8E8E8E;
}
.domain-new-content .domain-sever-title .suffixes-title {
    margin-bottom: 0px !important;
}
.domain-new-content .form-group {
    width: 70%;
    display: flex;
    margin: 0 0 16px 0;
    align-items: center;
}
.domain-new-content .form-group label {
    font-weight: 400;
    font-size: 14px;
    color: #141414;
}
.domain-new-content .form-group .form-group-input {
    flex: 1;
    margin-left: 24px;
}
.domain-new-content .row-new .form-control {
    background: #FFFFFF;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: none;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #F2F2F2;
    box-shadow: none;
    border-radius: 4px;
    color: #141414;
}

/*域名续费*/
.order-summary {
    background-color: #FAFAFA !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    height: fit-content;
}
.summary-container {
    padding: 14px !important;
    background-color: #fff !important;
}
#btnGoToCart {
    width: 132px;
}
.domain-btn {
    background: #FF5500;
    height: 40px;
    line-height: 40px;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 0 24px;
    transition: opacity 0.2s;
    font-size: 14px;
}
#linkShowAll {
    color: #FF5500;
}
#tableDomainsRenewals thead {
    background: rgba(0, 0, 0, 0.02);
}
#tableDomainsRenewals thead th {
    font-weight: 600;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.88);
    padding: 0 8px;
}
#tableDomainsRenewals tr {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
#tableDomainsRenewals td {
    border-bottom: none;
}
#tableDomainsRenewals .domain-name-flex {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 4px;
}
.label-info {
    background-color: #fff !important;
    font-weight: 400;
    font-size: 12px;
    color: #747474;
}
.label-success {
    background-color: #fff !important;
    font-weight: 400;
    font-size: 12px;
    color: #1FA700;
}
.label-danger {
    background-color: #fff !important;
    font-weight: 400;
    font-size: 12px;
    color: #F12900;
}
.btn-add-renewal-to-cart {
    width: auto !important;
    height: 34px;
    background: #FFFFFF;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid rgba(0,0,0,0.0784);
    font-size: 13px;
    color: #FF5500;
    transition: all 0.2s;
}
.btn-add-renewal-to-cart:hover {
    border-color: #FF5500;
}
.btn-add-renewal-to-cart-disabled {
    width: auto !important;
    height: 34px;
    background: #F4F4F4  !important;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid rgba(0,0,0,0.0784);
    font-size: 13px;
    color: #8E8E8E !important;
    cursor: not-allowed !important;
}


/* 响应式适配 */
@media (max-width: 768px) {
    .domain-new-content {
        grid-template-columns: 1fr;
    }
    .domain-new-content .domain-siderbar {
        grid-column: 1;
    }
    .domain-new-content .search-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
}