
/* 遮罩背景 */
.layer {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px); /* 模糊效果 */
    display: flex;
    align-items: center;
    justify-content: center;
}
  
/* 弹窗框体 */
.popup {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    padding: 8px;
    margin: 0 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
    background-color: #1f1f1f;
    color: #fff;
}
  
/* 标题栏 */
.popup .header {
    position: relative;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

/* 关闭按钮 */
.popup .close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.popup .title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    pointer-events: none; /* 避免遮挡事件 */
}
  
/* 正文 */
.popup .body {
    flex: 1;
    margin: 12px 0;
    font-size: 18px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.popup .error-msg {
    padding: 24px;
}

.popup .retry-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    margin: 0 8px;
    margin-bottom: 16px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    border-radius: 8px;
    color: black;
    background-color: #fff;
}

.popup .info-list {
    display: grid;
    grid-template-columns: 100px 1fr;
    row-gap: 10px;
    font-family: sans-serif;
}

.popup .label {
    font-weight: bold;
    color: #555;
}
.popup .value {
    color: #333;
}