/* ---- 拖拽上传区 ---- */
.dropzone {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 28px 16px;
    text-align: center;
    background: #fafbff;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.dropzone:hover,
.dropzone.dragover {
    border-color: #667eea;
    background: #eef2ff;
}
.dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.dropzone .dz-icon {
    font-size: 30px;
    line-height: 1.2;
}
.dropzone .dz-main {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}
.dropzone .dz-sub {
    margin-top: 4px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.6;
}

/* ---- 已选文件信息 ---- */
.file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
}
.file-info .file-name {
    font-weight: 600;
    color: #374151;
    word-break: break-all;
}
.file-info .file-size {
    color: #9ca3af;
    flex-shrink: 0;
}

/* ---- 输入说明 ---- */
.hash-tip {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.6;
    padding: 4px 2px 0;
}

.tip {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
}

/* ---- 哈希结果行 ---- */
.hash-row {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
}
.hash-row + .hash-row {
    margin-top: 10px;
}
.hash-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.hash-name {
    font-weight: 700;
    color: #4338ca;
    font-size: 14px;
}
.hash-len {
    font-size: 12px;
    color: #9ca3af;
    flex: 1;
}
.hash-copy {
    padding: 3px 10px;
    font-size: 12px;
}
.hash-value {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 13px;
    color: #374151;
    background: #f9fafb;
    border-radius: 4px;
    padding: 8px 10px;
    word-break: break-all;
    line-height: 1.7;
    user-select: all;
}
