::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.hash-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
}

.hash-label {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.hash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.hash-head .hash-label {
    margin-bottom: 0;
}

.hash-copy-btn {
    color: #94a3b8;
    padding: 0.25rem 0.4rem;
    border-radius: 0.35rem;
    transition: all 0.2s ease;
}

.hash-copy-btn:hover {
    color: #2563eb;
    background: #eff6ff;
}

.hash-value {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: #0f172a;
    font-size: 0.95rem;
    word-break: break-all;
    line-height: 1.6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hash-value:hover {
    color: #2563eb;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease;
}

.history-item:hover {
    background-color: #f8fafc;
}

.history-item + .history-item {
    border-top: 1px solid #f1f5f9;
}

.history-value {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.8125rem;
    word-break: break-all;
    color: #334155;
    flex: 1;
    min-width: 0;
}

.history-time {
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0;
}

.history-copy-btn {
    flex-shrink: 0;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease;
}

.history-copy-btn:hover {
    color: #3b82f6;
}

.toast {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: #1e293b;
    color: #fff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
