/* 弹窗遮罩层 */
.modal-overlay {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* 弹窗主体 */
.modal-box {
    background-color: #f5f5f5;
    width: 460px;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 20px;
    font-family: "Microsoft YaHei", sans-serif;
    border-top: 5px solid #eebb48; /* 顶部的金色装饰条 */
}

/* 关闭按钮 (右上角红叉) */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: #ff4d4f;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}

/* 标题 */
.modal-title {
    text-align: center;
    color: #d89e22;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d89e22;
}

/* 文本内容 */
.modal-content {
  padding: 10px;
  background-color: #fff;
}
.modal-content p {
    margin: 8px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

/* 旧域名样式 */
.old-domain-box {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    color: #666;
    font-size: 14px;
    border-left: #999999 2px solid;
}

/* 新域名样式 */
.new-domain-box {
    background-color: #fffbf0;
    border: 1px solid #eebb48;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #333;
}

.new-domain-text {
    word-break: break-all;
}

/* 复制按钮 */
.copy-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #666;
    font-size: 12px;
    padding: 2px 8px;
    cursor: pointer;
    border-radius: 2px;
    margin-left: 10px;
    white-space: nowrap;
}
.copy-btn:hover {
    background-color: #f0f0f0;
}

/* 确认按钮 */
.confirm-btn-wrapper {
    text-align: center;
    margin-top: 25px;
}

.confirm-btn {
    background-color: #d89e22;
    color: #fff;
    border: none;
    padding: 10px 40px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.confirm-btn:hover {
    background-color: #c58e1c;
}

/* 底部提示 */
.modal-footer {
    margin-top: 20px;
    border: 1px dashed #ddd;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    color: #999;
}
