/* @font-face {
    font-family: 'SourceHanSansCN-Regular';
    src: url('/assets/SourceHanSansCN_Regular.otf');
    font-weight: normal;
    font-style: normal;
} */

/* 弹框组件样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-overlay.active + div{
    pointer-events: none;
}
.modal-overlay-eventNone{
    pointer-events: none;
}
.modal-container {
    background-color: #fff;
    width: 90%;
    max-width: 280px;
    padding: 25px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    row-gap: 20px;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    /* padding: 16px 20px; */
    /* border-bottom: 1px solid #eee; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 auto;
    width: 95%;
    word-wrap: break-word;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.modal-body {
    /* padding: 10px; */
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.modal-footer {
    /* padding: 15px 20px 0 20px; */
    /* border-top: 1px solid #eee; */
    display: flex;
    justify-content: flex-end;
    gap: 35px;
}

.modal-btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.modal-btn.cancel {
    background-color: #f5f5f5;
    color: #666;
}

.modal-btn.cancel:hover {
    background-color: #e5e5e5;
}

.modal-btn.confirm {
    background-color: #007bff;
    color: white;
}

.modal-btn.confirm:hover {
    background-color: #0056b3;
}

/* 打开弹框的按钮样式 */
.open-modal-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin: 20px;
}

/*加载样式*/
.spinner {
  width: 30px;
  height: 30px;
  position: relative;
  /* margin: 100px auto; */
}

.spinner-dot {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.spinner-dot:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #333;
  border-radius: 100%;
  animation: spinner-bounce 1.2s infinite ease-in-out both;
}

.spinner-dot:nth-child(1) { transform: rotate(0deg); }
.spinner-dot:nth-child(2) { transform: rotate(30deg); }
.spinner-dot:nth-child(3) { transform: rotate(60deg); }
.spinner-dot:nth-child(4) { transform: rotate(90deg); }
.spinner-dot:nth-child(5) { transform: rotate(120deg); }
.spinner-dot:nth-child(6) { transform: rotate(150deg); }
.spinner-dot:nth-child(7) { transform: rotate(180deg); }
.spinner-dot:nth-child(8) { transform: rotate(210deg); }
.spinner-dot:nth-child(9) { transform: rotate(240deg); }
.spinner-dot:nth-child(10) { transform: rotate(270deg); }
.spinner-dot:nth-child(11) { transform: rotate(300deg); }
.spinner-dot:nth-child(12) { transform: rotate(330deg); }

.spinner-dot:nth-child(1):before { animation-delay: -1.1s; }
.spinner-dot:nth-child(2):before { animation-delay: -1.0s; }
.spinner-dot:nth-child(3):before { animation-delay: -0.9s; }
.spinner-dot:nth-child(4):before { animation-delay: -0.8s; }
.spinner-dot:nth-child(5):before { animation-delay: -0.7s; }
.spinner-dot:nth-child(6):before { animation-delay: -0.6s; }
.spinner-dot:nth-child(7):before { animation-delay: -0.5s; }
.spinner-dot:nth-child(8):before { animation-delay: -0.4s; }
.spinner-dot:nth-child(9):before { animation-delay: -0.3s; }
.spinner-dot:nth-child(10):before { animation-delay: -0.2s; }
.spinner-dot:nth-child(11):before { animation-delay: -0.1s; }
.spinner-dot:nth-child(12):before { animation-delay: 0s; }

@keyframes spinner-bounce {
  0%, 80%, 100% { background-color: #ccc; }
  40% {background-color: #000; }
}

/* .item-border-bottom:not(:last-of-type)::after{
    position: absolute;
    content: "";
    width: 96%;
    height: 1px;
    bottom: 0.1vh;
    background-color: #ccc;
    /* border-bottom: 1px solid #; */
    
/* } */ 
.circle-progress {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
}

.progress-svg {
    width: 100%;
    height: 100%;
}

.progress-bar {
    transition: stroke-dashoffset 0.5s ease;
}

.progress-text {
    position: absolute;
    font-weight: 600;
    color: #1f2937;
}
