/* * HC Theme: 09-verify.css (v7.1 - 3-Tab Architecture)
 * ----------------------------------------------------
 * Layout: Manual | Camera | Upload (3 Tabs)
 */

/* === 1. 布局框架 === */
.verify-layout-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    /* align-items: flex-start; */
}
@media (max-width: 992px) {
    .verify-layout-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

/* === 2. 左侧操作区 === */
.verify-main-column {
    background: #fff;
    /* border: 1px solid #e5e5e5; */
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    overflow: hidden;
    min-height: 520px;
}

/* Tab 样式 (三等分) */
.verify-tabs-header {
    display: flex;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}
.verify-tab-btn {
    flex: 1; /* 均分宽度 */
    padding: 20px 10px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    background: transparent;
    border: none;
    border-right: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.verify-tab-btn:last-child { border-right: none; }
.verify-tab-btn:hover { background: #fff; color: var(--primary-blue); }
.verify-tab-btn.active {
    background: #fff; color: var(--primary-blue);
    border-bottom: 1px solid #fff; margin-bottom: -1px;
    box-shadow: inset 0 3px 0 var(--accent-gold);
}

.verify-panel-body { padding: 40px; }
@media (max-width: 768px) { .verify-panel-body { padding: 25px; } }

/* 表单元素 */
.verify-label {
    display: block; font-size: 15px; font-weight: 700;
    color: var(--primary-blue); margin-bottom: 10px;
}
.verify-input-lg {
    width: 100%; padding: 15px; font-size: 16px;
    border: 1px solid #ddd; border-radius: 4px;
    letter-spacing: 0.5px; transition: 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fcfcfc;
}
.verify-input-lg:focus {
    border-color: var(--primary-blue); outline: none; background: #fff;
    box-shadow: 0 0 0 3px rgba(25, 45, 120, 0.1);
}
.verify-btn-block { width: 100%; margin-top: 20px; padding: 16px; font-size: 16px; }

/* === 3. 功能区样式 (Camera & Upload) === */

/* Camera Tab 内容 */
.camera-tab-layout {
    text-align: center;
}
.camera-placeholder {
    background: #000;
    border-radius: 6px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
    cursor: pointer;
}
.camera-placeholder:hover { opacity: 0.9; }
#qr-reader { width: 100%; border: none !important; border-radius: 6px; overflow: hidden; }

/* Upload Tab 内容 */
.verify-upload-zone {
    border: 2px dashed #d0d4db;
    border-radius: 8px;
    background: #fafbfc;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.verify-upload-zone:hover {
    border-color: var(--primary-blue);
    background: #f4f7ff;
    transform: translateY(-2px);
}
.verify-upload-zone.drag-over {
    border-color: var(--accent-gold);
    background: #fff9f5;
}
.verify-upload-icon {
    font-size: 64px; color: #b0b8c4; margin-bottom: 15px; transition: color 0.3s;
}
.verify-upload-zone:hover .verify-upload-icon { color: var(--primary-blue); }
.verify-upload-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 5px; }
.verify-upload-desc { font-size: 14px; color: #888; }

/* === 4. 右侧侧边栏 === */
.verify-sidebar-column {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 6px;
    border-top: 4px solid var(--primary-blue);
    border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;
    position: sticky; top: 100px;
    min-height: 400px;
}
.verify-sidebar-title {
    font-family: var(--title-font); font-size: 22px; color: var(--primary-blue);
    margin: 0 0 20px 0; padding-bottom: 15px; border-bottom: 1px solid #e0e0e0;
}
.verify-notice-list { list-style: none; padding: 0; margin: 0; }
.verify-notice-list li {
    position: relative; padding-left: 18px; margin-bottom: 15px;
    font-size: 14px; color: #555; line-height: 1.6;
}
.verify-notice-list li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 5px; height: 5px; border-radius: 50%; background: var(--accent-gold);
}

/* === 5. 高端证书样式 (Ticket Style) === */
.verify-sidebar-column.is-certificate {
    background: transparent;padding: 0;
    animation: slideUpFade 0.6s ease;
}
@keyframes slideUpFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.cert-ticket {
    background: #fff; border-radius: 8px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.cert-ticket-header {
    background-color: var(--primary-blue); color: #fff; padding: 25px;
    text-align: center; position: relative;
}
.cert-ticket-header::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px; background: var(--accent-gold);
}
.cert-brand { font-family: var(--title-font); font-size: 22px; letter-spacing: 1px; margin-bottom: 5px; }
.cert-doc-name { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; opacity: 0.8; }

.cert-ticket-body {
    padding: 30px 25px; position: relative;
    background-image: radial-gradient(#f0f0f0 1px, transparent 1px); background-size: 20px 20px;
}
.cert-status-badge { text-align: center; margin-bottom: 25px; }
.cert-icon-circle {
    width: 60px; height: 60px; margin: 0 auto 10px;
    background: #e6f7eb; color: #28a745; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; border: 2px solid #28a745;
}
.cert-status-text { color: #28a745; font-weight: 800; font-size: 18px; letter-spacing: 1px; }

.cert-data-item {
    display: flex; justify-content: space-between;
    margin-bottom: 12px; padding-bottom: 12px;
    border-bottom: 1px dashed #eee; font-size: 13px;
}
.cert-data-item:last-child { border-bottom: none; }
.cert-key { color: #888; }
.cert-val { font-weight: 600; color: #333; font-family: -apple-system, sans-serif; text-align: right; }

.cert-ticket-footer {
    background: #fcfcfc; border-top: 1px solid #eee; padding: 15px;
    text-align: center; font-family: "Courier New", monospace; font-size: 11px; color: #aaa;
}
/* 错误提示 */
.verify-error-box {
    background: #fff0f0; border-left: 4px solid #d63031;
    padding: 20px; margin-top: 20px; border-radius: 4px;
    color: #d63031; font-size: 14px; animation: fadeIn 0.3s;
}