/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #F5F5F5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333333;
}

/* 主容器 */
.container {
    width: 700px;
    max-width: 95%;
    margin: 20px auto;
}

/* 主框架 */
.main-frame {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 标题部分 */
.title-frame {
    text-align: center;
    padding: 5px;
}

.title {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
}

/* 图片部分 */
.image-frame {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.image-container {
    width: 400px;
    height: 400px;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-placeholder {
    color: #666666;
    font-size: 16px;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* 移除初始隐藏设置，默认显示图片 */
}

/* 进度条部分 */
.progress-frame {
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.progress-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333333;
}

.progress-container {
    width: 100%;
    height: 25px; /* 粗的进度条 */
    background-color: #E0E0E0;
    border-radius: 12.5px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #FF6B6B;
    border-radius: 12.5px;
    transition: width 0.05s linear;
}

.status-label {
    text-align: center;
    color: #666666;
    font-size: 14px;
    padding: 10px 0;
}

/* 按钮部分 */
.button-frame {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

.rounded-button {
    width: 200px;
    height: 50px;
    background-color: #FF6B6B;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.rounded-button:hover {
    background-color: #FF8A8A;
}

.rounded-button:active {
    background-color: #E96060;
}

.rounded-button:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

/* 署名信息 */
.signature {
    text-align: right;
    color: #666666;
    font-size: 12px;
    margin-top: 10px;
}

/* 自定义弹窗样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 15px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.3s ease-out;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    background-color: #FF6B6B;
    color: white;
    padding: 15px;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.modal-body {
    padding: 20px;
    text-align: center;
    font-size: 16px;
    color: #333333;
    line-height: 1.5;
}

.modal-footer {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #EEEEEE;
}

.modal-button {
    background-color: #FF6B6B;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 25px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-button:hover {
    background-color: #FF8A8A;
}

.modal-button:active {
    background-color: #E96060;
}
