/* ========= 二次确认台页面样式 ========= */
.confirm-page-content {
    padding: 32px;
    overflow-y: auto;
    height: 100%;
}

.alert-header {
    background: #ad0f1f;
    padding: 24px 32px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    color: white;
    margin-bottom: 28px;
    box-shadow: 0 8px 0 #630000;
}

.verify-card {
    background: #101927;
    border-radius: 36px;
    padding: 32px;
    border: 2px solid #c02f3f;
    margin-bottom: 28px;
}

.face-compare {
    display: flex;
    gap: 28px;
    margin: 28px 0;
}

/* 图片容器 - 完全重写 */
.face-box {
    flex: 1;
    background: #1e2f48;
    border-radius: 32px;
    border: 2px solid #3e5a85;
    overflow: hidden;
    position: relative;
    /* 固定高度，而不是使用aspect-ratio */
    height: 280px;
    /* 添加内部容器来处理图片显示 */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a1a2c;
}

/* 图片容器内部 - 用于居中显示图片 */
.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a1a2c;
    position: relative;
}

/* 图片样式 - 使用contain确保完整显示 */
.face-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    /* 添加平滑过渡 */
    transition: all 0.3s ease;
    /* 添加阴影增加立体感 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 占位图样式 */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2d4b6e, #1a334a);
    color: #b8d2ff;
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.placeholder-text {
    color: #ffd58c;
    font-size: 14px;
    background: rgba(0,0,0,0.5);
    padding: 6px 20px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.placeholder-subtext {
    color: #8fb4ff;
    font-size: 12px;
}

/* 图片加载动画 */
@keyframes imageLoad {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.image-loaded {
    animation: imageLoad 0.3s ease forwards;
}

/* 图片控制栏 - 添加切换按钮 */
.image-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 16px 0 8px 0;
}

.image-mode-btn {
    background: #1a2a45;
    color: #b0c6f0;
    border: 1px solid #3e5a85;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.image-mode-btn.active {
    background: #1b5e8c;
    color: white;
    border-color: #70b9ff;
}

.image-mode-btn:hover {
    background: #2a4985;
    color: white;
}

/* 图片信息标签 */
.image-info {
    text-align: center;
    margin-top: 8px;
    color: #8fb4ff;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.image-info span {
    background: #1a2a45;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #3e5a85;
}

/* 按钮行样式保持不变 */
.action-row {
    display: flex;
    gap: 12px;
    margin: 28px 0 20px 0;
}

.action-button {
    flex: 1;
    padding: 16px 12px;
    border-radius: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    color: white;
}

.action-button i {
    font-size: 1.3rem;
    font-style: normal;
}

.action-button:active {
    transform: translateY(2px);
}

.btn-confirm {
    background: #1b5e8c;
    border-bottom: 4px solid #0d3550;
}

.btn-reject {
    background: #6d3b3b;
    border-bottom: 4px solid #4a2525;
}

.btn-shout {
    background: #3a6b5e;
    border-bottom: 4px solid #254a40;
}

.btn-support {
    background: #6b4f3a;
    border-bottom: 4px solid #4a3725;
}

.btn-help {
    background: #4a6b8c;
    border-bottom: 4px solid #2d4a6c;
}

.match-score {
    background: #ffb347;
    color: #1a1f2b;
    font-weight: 800;
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 1.3rem;
    display: inline-block;
}

.task-feed {
    background: #101927;
    border-radius: 32px;
    padding: 24px;
    margin-top: 24px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px;
    background: #1a253b;
    border-radius: 24px;
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.feed-item:last-child {
    margin-bottom: 0;
}