.ocr-content-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 900px;
}

.ocr-upload-area {
    width: 100%;
    height: 120px;
    border: 2px dashed #dce4ec;
    border-radius: 6px;
    background: #fcfdfe;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.ocr-upload-area:hover, .ocr-upload-area.drag-over {
    border-color: #3498db;
    background: #ebf5fb;
}

.ocr-hint {
    font-size: 16px;
    font-weight: 500;
    color: #7f8c8d;
    pointer-events: none;
}

.ocr-error-msg {
    color: #e74c3c;
    min-height: 20px;
    font-size: 14px;
    font-weight: 500;
}

.ocr-result-area {
    margin-top: 25px;
    border-top: 1px solid #ecf0f1;
    padding-top: 25px;
}

.ocr-comparison {
    display: flex;
    gap: 20px;
}

.ocr-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #dce4ec;
    border-radius: 6px;
    overflow: hidden;
    background: #fafafa;
    height: 450px;
}

.ocr-col-title {
    background: #ecf0f1;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #34495e;
    text-align: center;
    border-bottom: 1px solid #dce4ec;
}

.ocr-img-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

#ocr-preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#ocr-result-text {
    flex: 1;
    width: 100%;
    border: none;
    padding: 15px;
    resize: none;
    font-size: 15px;
    line-height: 1.6;
    color: #2c3e50;
    outline: none;
    background: #fff;
    overflow-y: auto;
}

#ocr-result-text:focus {
    box-shadow: inset 0 0 5px rgba(52, 152, 219, 0.2);
}

#ocr-btn-copy {
    padding: 12px 30px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

#ocr-btn-copy:hover {
    background-color: #2980b9;
}

/* 居中显示的 Toast 提示 */
.ocr-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    z-index: 9999;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* 底部功能亮点与隐私说明区样式 */
.ocr-features-section {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px dashed #dce4ec;
}

.ocr-features-title {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 18px;
    font-weight: 600;
}

.ocr-features-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ocr-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fafbfc;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid #edf2f7;
}

.ocr-feature-icon {
    font-size: 20px;
    line-height: 1;
    margin-top: 2px;
}

.ocr-feature-content h3 {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #34495e;
    font-weight: 600;
}

.ocr-feature-content p {
    margin: 0;
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.5;
}

.ocr-feature-content code {
    background: #e2e8f0;
    color: #2c3e50;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 12px;
}