.yx-title-level1 {
    font-size: 16px;
    color: #666666;
    font-weight: 700;
}

.yx-title-level1-content {
    display: inline-block;
    text-indent: 2em;
    font-size: 14px;
    color: #666666;
    font-weight: 400;
    margin-top: 8px;
}

.yx-title-level2 {
    margin: 0 2em;
    margin-top: 8px;
    font-size: 14px;
    color: #666666;
    font-weight: 700;
    background-color: #F7F7F7;
    border-radius: 4px;
    padding: 8px 16px;
}

.yx-title-level3 {
    font-size: 14px;
    color: #666666;
    font-weight: 700;
    background-color: #fff;
    margin: 8px 0;
    padding: 8px 16px;
    border-radius: 4px;
}

.yx-title-level3-content {
    margin-top: 8px;
    text-indent: 2em;
    color: #666666;
    font-size: 14px;
    color: #666666;
    font-weight: 400;
}

.yx-title-level1-content span,
.yx-title-level2-content span,
.yx-title-level3-content span {
    color: #333333;
    font-weight: bold;
}

.yx-title-level1-content img,
.yx-title-level2-content img,
.yx-title-level3-content img {
    min-width: 16px;
    max-width: 300px;
}

.yx-title-level2-content a,
.yx-title-level1-content a,
.yx-title-level3-content a {
    color: #2372FA;
}


/* 新的 */
.yx-box {
    position: relative;
}

.yx-step-title {
    font-size: 16px;
    color: #303133;
    font-weight: 600;
    margin-top: 8px;
}

.yx-step {
    background-color: #F7F7F7;
    margin-top: 8px;
    margin-left: 1em;
    max-width: 820px;
    padding: 8px;
    border-radius: 8px;
    position: relative;
}

.yx-step-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.yx-step-box-leftTitle {
    display: flex;
    align-items: center;
    color: #666666;
    font-size: 14px;
}

.yx-step-box-leftTitle-important {
    display: inline-block;
    max-width: 490px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333333;
    font-weight: bold;
}

.yx-step-box-rightIcon {
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid black;
    transform: rotate(90deg);

}

.yx-step-box-rightIcon.rotated {
    transform: rotate(180deg);
}

.yx-step-content {
    font-size: 12px;
    margin-top: 8px;
    background-color: #fff;
    border-radius: 4px;
    padding: 8px 16px;
    margin-bottom: 8px;
}

.yx-step-content:last-child {
    margin-bottom: 0;
}

.yx-step-content-json-view {
    display: flex;
    flex-wrap: wrap;
    word-break: break-all;
    white-space: pre-wrap;
}

.yx-step-content-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.yx-step-title-line {
    width: 100%;
    border-top: 1px solid #EFEFEF;
    padding-top: 8px;
}

.yx-title {
    color: #666666;
    margin: 8px 0;
    font-weight: 700;
    font-size: 14px;
}

.yx-loading-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.yx-loading-dots span {
    width: 8px;
    height: 8px;
    background-color: #333;
    border-radius: 50%;
    opacity: 0;
    animation: blink 1.2s infinite;
}

.yx-loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.yx-loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.yx-loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.yx-success-icon {
    width: 16px;
    height: 16px;
    border: 1px solid #4CAF50;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.yx-checkmark {
    width: 4px;
    height: 8px;
    border-right: 1px solid #4CAF50;
    border-bottom: 1px solid #4CAF50;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.yx-error-icon {
    width: 16px;
    height: 16px;
    border: 1px solid #f44336;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pop 0.3s ease-out;
}

.yx-cross {
    position: absolute;
    width: 12px;
    height: 1px;
    background-color: #f44336;
}

.yx-cross-left {
    transform: rotate(45deg);
}

.yx-cross-right {
    transform: rotate(-45deg);
}

@keyframes pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.yx-iconBox {
    height: 20px;
    width: 40px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(35, 114, 250, 0.1);
    display: flex;
    align-items: center;

}

.loading-spinner .spinner {
    width: 16px;
    height: 16px;
    border-width: 2px;
    border-style: solid;
    border-color: #2372FA transparent transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.loading-spinner2 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(35, 114, 250, 0.1);
    display: flex;
    align-items: center;

}

.loading-spinner2 .spinner2 {
    width: 12px;
    height: 12px;
    border-width: 2px;
    border-style: solid;
    border-color: #2372FA transparent transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.yx-success-icon2 {
    width: 12px;
    height: 12px;
    border: 1px solid #4CAF50;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.yx-checkmark2 {
    width: 3px;
    height: 6px;
    border-right: 1px solid #4CAF50;
    border-bottom: 1px solid #4CAF50;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.yx-error-icon2 {
    width: 12px;
    height: 12px;
    border: 1px solid #f44336;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pop 0.3s ease-out;
}

.yx-cross2 {
    position: absolute;
    width: 8px;
    height: 1px;
    background-color: #f44336;
}

.yx-cross-left2 {
    transform: rotate(45deg);
}

.yx-cross-right2 {
    transform: rotate(-45deg);
}

a {
    color: #2372FA;
    text-decoration: none;
}

.yx-think-box {
    max-width: 800px;
    display: flex;
    margin-top: 8px;
    align-items: stretch;
    word-wrap: break-word;
}

.yx-think-box-left {
    margin-left: 8px;
    margin-right: 8px;
    min-width: 2px;
    max-width: 2px;
    background-color: #e5e5e5;
}

.yx-think-box-right {
    font-size: 14px;
    color: #8b8b8b;
    font-weight: 400;
}


.yxBookBox {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    background-color: #fff;
}
.book{
    width: 300px;
    padding: 16px;
    border-radius: 8px;
    /* box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1); */
    margin-bottom: 8px;

}
.book:last-child{
    margin-bottom: 0;
}
.yx-iframe{
    width: 790px;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
iframe{
    width: 100%;
}
.yx-iframe-fx{
    height: 400px;
    overflow: hidden;

}
.yx-iframe-fx iframe{
    height: 400px;
    overflow: hidden;

}
.yx-iframe-js iframe{
    height: 400px;
    overflow: hidden;
}
.tab {
    display: flex;
}

.tab div {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tab div.active {
    color: #2372FA;
    border-bottom: 2px solid #2372FA;
}

.tab div:hover {
    background-color: #f0f0f0;
}

.iframe-container {
    margin-top: 10px;
}

.iframe-container iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: none;
}

.iframe-container iframe.active {
    display: block;
}