
.box {
    display: inline-block;
    vertical-align: top;
    width: 100px;
    /*margin-right: 1rem;*/
    border: 1px solid #D8CFBB;
    border-radius: 1rem;
}
.box_2 {
    display: inline-block;
    vertical-align: top;
    width: 100px;
    /*margin-right: 1rem;*/
    border: 1px solid #fbac00;
    border-radius: 1rem;
}
.card:hover {
    transform: scale(1.05);
}


.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}


.image-list {
    height: 100vh; /* 设置为视口高度的80% */
    overflow-y: auto; /* 允许垂直滚动 */
    border: 1px solid #ddd; /* 可选：添加边框以突出显示滚动区域 */
    padding: 10px; /* 可选：添加内边距 */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* 可选：添加阴影以增加层次感 */
}
.image-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.image-item img {
    max-width: 100px;
    max-height: 100px;
    margin-right: 10px;
}
canvas {
    /*border: 1px solid black;*/
    /*width: 800px;*/
    /*height: 600px;*/
}
#proof_lines {
    display: flex;
    flex-flow: wrap;
}
.line_col_div {
    border: 1px solid lightgray;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background: white;
    padding: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
}
.now_line_col {
    border: 1px solid red;
}
.line_col {
    display: inline-flex;
    /*flex-direction: column;*/
    gap: 2px;
    /*flex-flow: wrap;*/
    /*padding: 10px;*/
    /*margin: auto;*/
    /*margin-bottom: 10px;*/
    /*margin-left: 10px;*/
    /*background: white;*/
    position: relative;
    /*border: 1px solid lightgray;*/
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
}
.column {
    display: flex;
    width: 100%;
}
.left, .right {
    display: flex;
    /*align-items: center;*/
    align-items: flex-start;
}
.left {
    flex: 4;
    /*border: 2px solid #f5f5f5;*/
}
.center {
    /*flex: 4;*/
}
.right {
    /*flex: 1;*/
}
.center_text{
    /*border: 2px solid #f5f5f5;*/
    position: relative;
}
.right_text{
    border: 2px solid #f5f5f5;
    /*width: 34px;*/
    /*height: 890px;*/
    font-size: 17px;
    font-weight: bold;
    background-color: rgba(33, 33, 33, 0.8);
    border-radius: 6px;
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    align-items: center;
}
.chars-level-one {
    color: tomato;
}
.chars-level-two {
    color: darkgoldenrod;
}
.chars-level-three {
    color: forestgreen;
}
.chars-level-four {
    color: black;
}
.chars-level-five {
    color: deeppink;
}
.right span {
    user-select: none; /* 禁用文本选择 */
    cursor: move;
}
.chars_text {
    padding: 0;
    margin: 0;
    box-sizing: content-box;
    background-color: white;
    /*color: black;*/
}
.popup-div {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%; /* Positioned below the target div */
    left: 0;
    /*width: 300px;*/
    background-color: white;
    border: 1px solid lightgray;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000; /* Ensures it is on top of other content */
    /*padding: 10px;*/
    color: black;
    justify-content: flex-start;
    align-items: center;
    /*font-size: 30px;*/
    padding: 10px;
    gap: 5px;
}
.choice_word {
    font-size: 30px;
    display: block;
}
.proofed {
    border: 2px solid green;
}
.now_proof {
    /*font-weight: bold;*/
    border: 5px solid aqua;
}
.compare {

    display: inline-grid;
    align-content: center;
}


/* From Uiverse.io by Yaya12085 */
.custum-file-upload {
    height: 200px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: space-between;
    gap: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cacaca;
    background-color: rgba(255, 255, 255, 1);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0px 48px 35px -48px rgba(0,0,0,0.1);
}

.custum-file-upload .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custum-file-upload .icon svg {
    height: 80px;
    fill: rgba(75, 85, 99, 1);
}

.custum-file-upload .text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custum-file-upload .text span {
    font-weight: 400;
    color: rgba(75, 85, 99, 1);
}

.custum-file-upload input {
    display: none;
}

#card_top_img {
    /*width: 100%;*/
    /*height: 200px;*/
    object-fit: contain;
}
.card_top_img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.navbar-nav li a {
    color: #F99870;
}
.navbar-nav .active > a,
.navbar-nav .active > a:hover,
.navbar-nav .active > a:focus {
    color: #FF4B02;
}
.navbar-nav > a:focus {
    color: #FF4B02;
}
.navbar-light .navbar-nav .nav-link {
    color: #F99870;
}
.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link{
    color: #FF4B02;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: #FF4B02;
}


.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; /* 确保覆盖层在最上层 */
}
/* 加载动画样式 */
/*.spinner-border {*/
/*    width: 3rem;*/
/*    height: 3rem;*/
/*    border-width: 0.4em;*/
/*}*/
.right-buttons{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-content: center;
    flex-wrap: wrap;
    gap: 2%;
}

mark {
        background-color: yellow; /* 设置高亮的背景色 */
        color: black; /* 设置高亮文字颜色 */
    }